mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-16 15:30:06 +00:00

2003-03-06 Michael Natterer <mitch@gimp.org> * themes/Default/images/stock-delete-16.png * themes/Default/images/stock-lower-16.png * themes/Default/images/stock-new-16.png * themes/Default/images/stock-paste-16.png * themes/Default/images/stock-raise-16.png * themes/Default/images/stock-refresh-16.png: removed these files since we use the icons provided by GTK+ now. * themes/Default/gtkrc * themes/Default/images/Makefile.am: removed them here hoo. * libgimpwidgets/gimpstock.[ch]: reordered stuff to be consistent in the header and the .c file. Added GIMP_STOCK_ERROR and GIMP_STOCK_QUESTION which are available in all sizes (unlike GTK_STOCK_DIALOG_ERROR and GTK_STOCK_DIALOG_QUESTION). * app/core/gimpviewable.c * app/display/gimpdisplayshell.c * app/gui/file-commands.c * app/gui/file-new-dialog.c * app/gui/file-save-dialog.c * app/widgets/gimpwidgets-utils.c * app/widgets/gimpdatafactoryview.c: use the new stock IDs. * app/config/gimpcoreconfig.[ch]: renamed "preview_size" to "layer_preview_size" and added "gboolean layer_previews" which switches layer previews on/off independent of their size. * app/config/gimprc-blurbs.h: added/changed their blurbs. * app/core/core-enums.[ch]: removed GIMP_PREVIEW_SIZE_NONE. * app/core/gimpdrawable-preview.c * app/core/gimpdrawable.c * app/core/gimpimage.c: return NULL previews if core_config->layer_previews is FALSE. Invalidate all layer/channel previews whenever "layer_previews" changes. * app/widgets/gimppreviewrendererdrawable.c * app/widgets/gimppreviewrendererimage.c: render the stock_id if the drawable/image returns a NULL preview. Fixes bug #107242. * app/display/gimpdisplayshell-handlers.c: don't set the sensitivity of the navigation button because it can no longer be disabled. * app/display/gimpdisplayshell-layer-select.c * app/gui/dialogs-constructors.c * app/gui/dialogs.c * app/gui/paths-dialog.c: changed accordingly. * app/gui/preferences-dialog.c: added a toggle button for the new "layer_previews" boolean. * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainerlistview.c: chain up unconditionally in GimpContainerView::clear_items(). * app/widgets/gimpcontainertreeview.c: ditto. Made the reorder() implementation lengthy and eeky (but working) again... Stop signal emission on double clicks so GtkTreeView doesn't re-select the item we are about change. * app/widgets/gimpcontainerview.c (gimp_container_view_real_clear_items): need to use g_hash_table_new_full() here too or everything will b0rk. * app/widgets/gimppreviewrenderer.c (gimp_preview_renderer_default_render_stock): use gtk_widget_render_icon() instead of gtk_icon_set_render_icon(). * tools/pdbgen/enums.pl: this file wanted to be regenerated...
165 lines
7.6 KiB
C
165 lines
7.6 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
|
*
|
|
* gimpstock.h
|
|
* Copyright (C) 2001 Michael Natterer <mitch@gimp.org>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GIMP_STOCK_H__
|
|
#define __GIMP_STOCK_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
/* in button size: */
|
|
|
|
#define GIMP_STOCK_ANCHOR "gimp-anchor"
|
|
#define GIMP_STOCK_DUPLICATE "gimp-duplicate"
|
|
#define GIMP_STOCK_EDIT "gimp-edit"
|
|
#define GIMP_STOCK_LINKED "gimp-linked"
|
|
#define GIMP_STOCK_PASTE_AS_NEW "gimp-paste-as-new"
|
|
#define GIMP_STOCK_PASTE_INTO "gimp-paste-into"
|
|
#define GIMP_STOCK_RESET "gimp-reset"
|
|
#define GIMP_STOCK_VISIBLE "gimp-visible"
|
|
|
|
#define GIMP_STOCK_GRAVITY_EAST "gimp-gravity-east"
|
|
#define GIMP_STOCK_GRAVITY_NORTH "gimp-gravity-north"
|
|
#define GIMP_STOCK_GRAVITY_NORTH_EAST "gimp-gravity-north-east"
|
|
#define GIMP_STOCK_GRAVITY_NORTH_WEST "gimp-gravity-north-west"
|
|
#define GIMP_STOCK_GRAVITY_SOUTH "gimp-gravity-south"
|
|
#define GIMP_STOCK_GRAVITY_SOUTH_EAST "gimp-gravity-south-east"
|
|
#define GIMP_STOCK_GRAVITY_SOUTH_WEST "gimp-gravity-south-west"
|
|
#define GIMP_STOCK_GRAVITY_WEST "gimp-gravity-west"
|
|
|
|
#define GIMP_STOCK_HCHAIN "gimp-hchain"
|
|
#define GIMP_STOCK_HCHAIN_BROKEN "gimp-hchain-broken"
|
|
#define GIMP_STOCK_VCHAIN "gimp-vchain"
|
|
#define GIMP_STOCK_VCHAIN_BROKEN "gimp-vchain-broken"
|
|
|
|
#define GIMP_STOCK_SELECTION_REPLACE "gimp-selection-replace"
|
|
#define GIMP_STOCK_SELECTION_ADD "gimp-selection-add"
|
|
#define GIMP_STOCK_SELECTION_SUBTRACT "gimp-selection-subtract"
|
|
#define GIMP_STOCK_SELECTION_INTERSECT "gimp-selection-intersect"
|
|
#define GIMP_STOCK_SELECTION_STROKE "gimp-selection-stroke"
|
|
#define GIMP_STOCK_SELECTION_TO_CHANNEL "gimp-selection-to-channel"
|
|
#define GIMP_STOCK_SELECTION_TO_PATH "gimp-selection-to-path"
|
|
|
|
#define GIMP_STOCK_PATH_STROKE "gimp-path-stroke"
|
|
|
|
#define GIMP_STOCK_COLOR_PICKER_BLACK "gimp-color-picker-black"
|
|
#define GIMP_STOCK_COLOR_PICKER_GRAY "gimp-color-picker-gray"
|
|
#define GIMP_STOCK_COLOR_PICKER_WHITE "gimp-color-picker-white"
|
|
#define GIMP_STOCK_COLOR_TRIANGLE "gimp-color-triangle"
|
|
|
|
#define GIMP_STOCK_CHAR_PICKER "gimp-char-picker"
|
|
#define GIMP_STOCK_LETTER_SPACING "gimp-letter-spacing"
|
|
#define GIMP_STOCK_LINE_SPACING "gimp-line-spacing"
|
|
|
|
#define GIMP_STOCK_TOOL_AIRBRUSH "gimp-tool-airbrush"
|
|
#define GIMP_STOCK_TOOL_BEZIER_SELECT "gimp-tool-bezier-select"
|
|
#define GIMP_STOCK_TOOL_BLEND "gimp-tool-blend"
|
|
#define GIMP_STOCK_TOOL_BLUR "gimp-tool-blur"
|
|
#define GIMP_STOCK_TOOL_BRIGHTNESS_CONTRAST "gimp-tool-brightness-contrast"
|
|
#define GIMP_STOCK_TOOL_BUCKET_FILL "gimp-tool-bucket-fill"
|
|
#define GIMP_STOCK_TOOL_BY_COLOR_SELECT "gimp-tool-by-color-select"
|
|
#define GIMP_STOCK_TOOL_CLONE "gimp-tool-clone"
|
|
#define GIMP_STOCK_TOOL_COLOR_BALANCE "gimp-tool-color-balance"
|
|
#define GIMP_STOCK_TOOL_COLOR_PICKER "gimp-tool-color-picker"
|
|
#define GIMP_STOCK_TOOL_CROP "gimp-tool-crop"
|
|
#define GIMP_STOCK_TOOL_CURVES "gimp-tool-curves"
|
|
#define GIMP_STOCK_TOOL_DODGE "gimp-tool-dodge"
|
|
#define GIMP_STOCK_TOOL_ELLIPSE_SELECT "gimp-tool-ellipse-select"
|
|
#define GIMP_STOCK_TOOL_ERASER "gimp-tool-eraser"
|
|
#define GIMP_STOCK_TOOL_FLIP "gimp-tool-flip"
|
|
#define GIMP_STOCK_TOOL_FREE_SELECT "gimp-tool-free-select"
|
|
#define GIMP_STOCK_TOOL_FUZZY_SELECT "gimp-tool-fuzzy-select"
|
|
#define GIMP_STOCK_TOOL_HISTOGRAM "gimp-tool-histogram"
|
|
#define GIMP_STOCK_TOOL_HUE_SATURATION "gimp-tool-hue-saturation"
|
|
#define GIMP_STOCK_TOOL_INK "gimp-tool-ink"
|
|
#define GIMP_STOCK_TOOL_ISCISSORS "gimp-tool-iscissors"
|
|
#define GIMP_STOCK_TOOL_LEVELS "gimp-tool-levels"
|
|
#define GIMP_STOCK_TOOL_MEASURE "gimp-tool-measure"
|
|
#define GIMP_STOCK_TOOL_MOVE "gimp-tool-move"
|
|
#define GIMP_STOCK_TOOL_PAINTBRUSH "gimp-tool-paintbrush"
|
|
#define GIMP_STOCK_TOOL_PATH "gimp-tool-path"
|
|
#define GIMP_STOCK_TOOL_PENCIL "gimp-tool-pencil"
|
|
#define GIMP_STOCK_TOOL_PERSPECTIVE "gimp-tool-perspective"
|
|
#define GIMP_STOCK_TOOL_POSTERIZE "gimp-tool-posterize"
|
|
#define GIMP_STOCK_TOOL_RECT_SELECT "gimp-tool-rect-select"
|
|
#define GIMP_STOCK_TOOL_ROTATE "gimp-tool-rotate"
|
|
#define GIMP_STOCK_TOOL_SCALE "gimp-tool-scale"
|
|
#define GIMP_STOCK_TOOL_SHEAR "gimp-tool-shear"
|
|
#define GIMP_STOCK_TOOL_SMUDGE "gimp-tool-smudge"
|
|
#define GIMP_STOCK_TOOL_TEXT "gimp-tool-text"
|
|
#define GIMP_STOCK_TOOL_THRESHOLD "gimp-tool-threshold"
|
|
#define GIMP_STOCK_TOOL_ZOOM "gimp-tool-zoom"
|
|
|
|
/* in menu size: */
|
|
|
|
#define GIMP_STOCK_CONVERT_RGB "gimp-convert-rgb"
|
|
#define GIMP_STOCK_CONVERT_GRAYSCALE "gimp-convert-grayscale"
|
|
#define GIMP_STOCK_CONVERT_INDEXED "gimp-convert-indexed"
|
|
#define GIMP_STOCK_INVERT "gimp-invert"
|
|
#define GIMP_STOCK_MERGE_DOWN "gimp-merge-down"
|
|
#define GIMP_STOCK_LAYER_TO_IMAGESIZE "gimp-layer-to-imagesize"
|
|
#define GIMP_STOCK_PLUGIN "gimp-plugin"
|
|
#define GIMP_STOCK_RESHOW_FILTER "gimp-reshow-filter"
|
|
#define GIMP_STOCK_ROTATE_90 "gimp-rotate-90"
|
|
#define GIMP_STOCK_ROTATE_180 "gimp-rotate-180"
|
|
#define GIMP_STOCK_ROTATE_270 "gimp-rotate-270"
|
|
#define GIMP_STOCK_RESIZE "gimp-resize"
|
|
#define GIMP_STOCK_SCALE "gimp-scale"
|
|
|
|
#define GIMP_STOCK_IMAGES "gimp-images"
|
|
#define GIMP_STOCK_LAYERS "gimp-layers"
|
|
#define GIMP_STOCK_CHANNELS "gimp-channels"
|
|
#define GIMP_STOCK_PATHS "gimp-paths"
|
|
|
|
#define GIMP_STOCK_SELECTION_ALL "gimp-selection-all"
|
|
#define GIMP_STOCK_SELECTION_NONE "gimp-selection-none"
|
|
#define GIMP_STOCK_SELECTION_GROW "gimp-selection-grow"
|
|
#define GIMP_STOCK_SELECTION_SHRINK "gimp-selection-shrink"
|
|
|
|
#define GIMP_STOCK_NAVIGATION "gimp-navigation"
|
|
#define GIMP_STOCK_QMASK_OFF "gimp-qmask-off"
|
|
#define GIMP_STOCK_QMASK_ON "gimp-qmask-on"
|
|
|
|
#define GIMP_STOCK_DEFAULT_COLORS "gimp-default-colors"
|
|
#define GIMP_STOCK_SWAP_COLORS "gimp-swap-colors"
|
|
|
|
#define GIMP_STOCK_TOOL_OPTIONS "gimp-tool-options"
|
|
#define GIMP_STOCK_DEVICE_STATUS "gimp-device-status"
|
|
|
|
/* in dialog size: */
|
|
|
|
#define GIMP_STOCK_ERROR "gimp-error"
|
|
#define GIMP_STOCK_INFO "gimp-info"
|
|
#define GIMP_STOCK_QUESTION "gimp-question"
|
|
#define GIMP_STOCK_WARNING "gimp-warning"
|
|
#define GIMP_STOCK_WILBER "gimp-wilber"
|
|
#define GIMP_STOCK_WILBER_EEK "gimp-wilber-eek"
|
|
|
|
|
|
void gimp_stock_init (void);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GIMP_STOCK_H__ */
|