diff options
-rw-r--r-- | e-util/ChangeLog | 7 | ||||
-rw-r--r-- | e-util/e-icon-factory.h | 18 |
2 files changed, 20 insertions, 5 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index e4b3172e5a..dd154f1c62 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,10 @@ +2004-04-19 Jeffrey Stedfast <fejj@ximian.com> + + * e-icon-factory.h: Add an enum for icon sizes (temporarily has + absolute pixel sizes assigned to it until I commit + e-icon-factory.c changes - but only after all other code has been + updated to use the enums). + 2004-04-16 Michael Terry <mike@mterry.name> * Makefile.am: Add e-icon-factory.[ch] diff --git a/e-util/e-icon-factory.h b/e-util/e-icon-factory.h index 8dede96ca4..866fc32aba 100644 --- a/e-util/e-icon-factory.h +++ b/e-util/e-icon-factory.h @@ -25,14 +25,22 @@ #include <gdk-pixbuf/gdk-pixbuf.h> +enum { + E_ICON_SIZE_MENU = 16, + E_ICON_SIZE_BUTTON = 20, + E_ICON_SIZE_SMALL_TOOLBAR = 18, + E_ICON_SIZE_LARGE_TOOLBAR = 24, + E_ICON_SIZE_DND = 32, + E_ICON_SIZE_DIALOG = 48, + E_ICON_NUM_SIZES +}; + void e_icon_factory_init (void); -gchar *e_icon_factory_get_icon_filename (const gchar *icon_name, - gint icon_size); +char *e_icon_factory_get_icon_filename (const char *icon_name, int icon_size); -GdkPixbuf *e_icon_factory_get_icon (const gchar *icon_name, - gint icon_size); +GdkPixbuf *e_icon_factory_get_icon (const char *icon_name, int icon_size); -GList *e_icon_factory_get_icon_list (const gchar *icon_name); +GList *e_icon_factory_get_icon_list (const char *icon_name); #endif /* _E_ICON_FACTORY_H_ */ |