aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-20 05:44:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-20 05:44:37 +0800
commit24f5407f6974c1125adae6ae03277e6f47982b6a (patch)
tree786c1da632fe4c487f7a4277830ef6d40ef3606b
parenta9acbd0edfa6af2246ab03fb2855ae8ac8cf1b0e (diff)
downloadgsoc2013-evolution-24f5407f6974c1125adae6ae03277e6f47982b6a.tar
gsoc2013-evolution-24f5407f6974c1125adae6ae03277e6f47982b6a.tar.gz
gsoc2013-evolution-24f5407f6974c1125adae6ae03277e6f47982b6a.tar.bz2
gsoc2013-evolution-24f5407f6974c1125adae6ae03277e6f47982b6a.tar.lz
gsoc2013-evolution-24f5407f6974c1125adae6ae03277e6f47982b6a.tar.xz
gsoc2013-evolution-24f5407f6974c1125adae6ae03277e6f47982b6a.tar.zst
gsoc2013-evolution-24f5407f6974c1125adae6ae03277e6f47982b6a.zip
Add an enum for icon sizes (temporarily has absolute pixel sizes assigned
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). svn path=/trunk/; revision=25525
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-icon-factory.h18
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_ */