summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e42e613)
raw | patch | inline | side by side (parent: e42e613)
author | joncruz <joncruz@users.sourceforge.net> | |
Thu, 6 Apr 2006 09:13:40 +0000 (09:13 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Thu, 6 Apr 2006 09:13:40 +0000 (09:13 +0000) |
ChangeLog | patch | blob | history | |
src/icon-size.h | [new file with mode: 0644] | patch | blob |
diff --git a/ChangeLog b/ChangeLog
index 4ed99bb8c56c789db1b71f6b847f05523d6939e1..a294cdd208574cd872153109ae883949a4fda05a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
src/widgets/gradient-toolbar.cpp, src/widgets/icon.cpp,
src/widgets/icon.h, src/widgets/layer-selector.cpp,
src/widgets/paint-selector.cpp, src/widgets/select-toolbar.cpp,
- src/widgets/toolbox.cpp, src/widgets/toolbox.h:
+ src/widgets/toolbox.cpp, src/widgets/toolbox.h, src/icon-size.h:
Decoupling from direct use of GtkIconSize to allow for smaller
custom ones.
diff --git a/src/icon-size.h b/src/icon-size.h
--- /dev/null
+++ b/src/icon-size.h
@@ -0,0 +1,34 @@
+#ifndef SEEN_ICON_SIZE_H
+#define SEEN_ICON_SIZE_H
+
+/*
+ * Generic icon widget
+ *
+ * Author:
+ * Lauris Kaplinski <lauris@kaplinski.com>
+ *
+ * Copyright (C) 2002 Lauris Kaplinski
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include <glib.h>
+
+#include <gtk/gtkenums.h>
+
+namespace Inkscape {
+
+ enum IconSize {
+ ICON_SIZE_INVALID = ::GTK_ICON_SIZE_INVALID,
+ ICON_SIZE_MENU = ::GTK_ICON_SIZE_MENU,
+ ICON_SIZE_SMALL_TOOLBAR = ::GTK_ICON_SIZE_SMALL_TOOLBAR,
+ ICON_SIZE_LARGE_TOOLBAR = ::GTK_ICON_SIZE_LARGE_TOOLBAR,
+ ICON_SIZE_BUTTON = ::GTK_ICON_SIZE_BUTTON,
+ ICON_SIZE_DND = ::GTK_ICON_SIZE_DND,
+ ICON_SIZE_DIALOG = ::GTK_ICON_SIZE_DIALOG,
+ ICON_SIZE_DECORATION
+ };
+
+} // namespace Inkscape
+
+#endif // SEEN_ICON_SIZE_H