From: joncruz Date: Thu, 6 Apr 2006 09:13:40 +0000 (+0000) Subject: missed a file X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=87f20f7017b0f22d10fe7b56c58c9b1f9a78efbd;p=inkscape.git missed a file --- diff --git a/ChangeLog b/ChangeLog index 4ed99bb8c..a294cdd20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,7 +9,7 @@ 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 new file mode 100644 index 000000000..772c79943 --- /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 + * + * Copyright (C) 2002 Lauris Kaplinski + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include + +#include + +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