diff options
author | Havoc Pennington <hp@redhat.com> | 2001-03-12 18:46:53 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-03-12 18:46:53 +0000 |
commit | 10a173fedf26019270363b2a8e86286e9ca4b437 (patch) | |
tree | 99c3a1ca5ba65a84b21a06ba70994be04985938c /gtk/gtkenums.h | |
parent | a647514c3393ef5d59b7b9ba11bcee1149519916 (diff) | |
download | gtk+-10a173fedf26019270363b2a8e86286e9ca4b437.tar.gz |
Switch to using an enum with registration for icon sizes, instead of
2001-03-12 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: Switch to using an
enum with registration for icon sizes, instead of strings.
* gtkimage.h, gtkimage.c, gtkstyle.h, gtkstyle.c, gtkwidget.h,
gtkwidget.c: Fix to reflect GtkIconSize
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r-- | gtk/gtkenums.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index b489b0744d..d9ee74bb20 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -92,6 +92,17 @@ typedef enum GTK_DIR_RIGHT } GtkDirectionType; +/* Built-in stock icon sizes */ +typedef enum +{ + GTK_ICON_SIZE_INVALID, + GTK_ICON_SIZE_MENU, + GTK_ICON_SIZE_SMALL_TOOLBAR, + GTK_ICON_SIZE_LARGE_TOOLBAR, + GTK_ICON_SIZE_BUTTON, + GTK_ICON_SIZE_DIALOG +} GtkIconSize; + /* Reading directions for text */ typedef enum { |