spinbutton: redesign to use an horizontal layout

Rewrite GtkSpinButton to use a touchscreen friendly horizontal layout.
Other features include:
- support for theming buttons with nth-child
- full support for RTL
- use + and - symbolic icons instead of arrows
- general streamlining and cleanup of a lot of related code

https://bugzilla.gnome.org/show_bug.cgi?id=663359
This commit is contained in:
Cosimo Cecchi
2011-11-22 22:08:59 -05:00
parent 03b7bb6e29
commit 10cfa90817
3 changed files with 416 additions and 412 deletions

View File

@ -207,7 +207,9 @@ gboolean gtk_spin_button_get_snap_to_ticks (GtkSpinButton *spin_button)
void gtk_spin_button_update (GtkSpinButton *spin_button);
/* private */
GdkWindow* _gtk_spin_button_get_panel (GtkSpinButton *spin_button);
void _gtk_spin_button_get_panels (GtkSpinButton *spin_button,
GdkWindow **down_panel,
GdkWindow **up_panel);
G_END_DECLS