diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2006-04-06 09:10:47 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2006-04-06 09:10:47 +0000 |
| commit | 11e258d47c7ab070228d93b203ec467b5e53de5a (patch) | |
| tree | 58f02569addc5f1a75eadcbcedf3ab0b8aae7bc2 /src/widgets/button.h | |
| parent | Adding rendering-intent to <color-profile> (diff) | |
| download | inkscape-11e258d47c7ab070228d93b203ec467b5e53de5a.tar.gz inkscape-11e258d47c7ab070228d93b203ec467b5e53de5a.zip | |
Decoupling from direct use of GtkIconSize to allow for smaller custom ones.
(bzr r439)
Diffstat (limited to 'src/widgets/button.h')
| -rw-r--r-- | src/widgets/button.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/widgets/button.h b/src/widgets/button.h index 5850d4b61..f14af94d1 100644 --- a/src/widgets/button.h +++ b/src/widgets/button.h @@ -20,7 +20,8 @@ #include <gtk/gtktogglebutton.h> #include <gtk/gtktooltips.h> -#include <helper/action.h> +#include "helper/action.h" +#include "icon-size.h" typedef enum { @@ -35,7 +36,7 @@ struct SPBChoiceData { struct SPButton { GtkToggleButton widget; SPButtonType type; - GtkIconSize lsize; + Inkscape::IconSize lsize; unsigned int psize; SPAction *action; SPAction *doubleclick_action; @@ -50,11 +51,11 @@ struct SPButtonClass { GType sp_button_get_type (void); -GtkWidget *sp_button_new (GtkIconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips); +GtkWidget *sp_button_new (Inkscape::IconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips); void sp_button_toggle_set_down (SPButton *button, gboolean down); -GtkWidget *sp_button_new_from_data (GtkIconSize size, +GtkWidget *sp_button_new_from_data (Inkscape::IconSize size, SPButtonType type, Inkscape::UI::View::View *view, const gchar *name, |
