themes/Default/images/Makefile.am

2004-01-27  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-channel-indexed-16.png
	* themes/Default/images/stock-channel-indexed-24.png
	* themes/Default/images/stock-channel-indexed-32.png
	* themes/Default/images/stock-channel-indexed-48.png
	* libgimpwidgets/gimpstock.[ch]: added placeholders for an INDEXED
	channel icon (copied from the GRAY channel icon). To be replaced...

	* app/widgets/gimppreviewrendererimage.c: use
	GIMP_STOCK_CHANNEL_INDEXED instead of GIMP_STOCK_QUESTION for the
	indexed channel.
This commit is contained in:
Michael Natterer 2004-01-27 13:48:20 +00:00 committed by Michael Natterer
parent eb7f89b909
commit b8bc248353
10 changed files with 36 additions and 12 deletions

View File

@ -1,3 +1,17 @@
2004-01-27 Michael Natterer <mitch@gimp.org>
* themes/Default/images/Makefile.am
* themes/Default/images/stock-channel-indexed-16.png
* themes/Default/images/stock-channel-indexed-24.png
* themes/Default/images/stock-channel-indexed-32.png
* themes/Default/images/stock-channel-indexed-48.png
* libgimpwidgets/gimpstock.[ch]: added placeholders for an INDEXED
channel icon (copied from the GRAY channel icon). To be replaced...
* app/widgets/gimppreviewrendererimage.c: use
GIMP_STOCK_CHANNEL_INDEXED instead of GIMP_STOCK_QUESTION for the
indexed channel.
2004-01-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/comic-logo.scm: applied a patch from

View File

@ -177,12 +177,12 @@ gimp_preview_renderer_image_render (GimpPreviewRenderer *renderer,
switch (rendererimage->channel)
{
case GIMP_RED_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_RED; break;
case GIMP_GREEN_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GREEN; break;
case GIMP_BLUE_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_BLUE; break;
case GIMP_GRAY_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GRAY; break;
case GIMP_INDEXED_CHANNEL: stock_id = GIMP_STOCK_QUESTION; break;
case GIMP_ALPHA_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_ALPHA; break;
case GIMP_RED_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_RED; break;
case GIMP_GREEN_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GREEN; break;
case GIMP_BLUE_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_BLUE; break;
case GIMP_GRAY_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GRAY; break;
case GIMP_INDEXED_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_INDEXED; break;
case GIMP_ALPHA_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_ALPHA; break;
default:
stock_id = gimp_viewable_get_stock_id (renderer->viewable);

View File

@ -177,12 +177,12 @@ gimp_preview_renderer_image_render (GimpPreviewRenderer *renderer,
switch (rendererimage->channel)
{
case GIMP_RED_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_RED; break;
case GIMP_GREEN_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GREEN; break;
case GIMP_BLUE_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_BLUE; break;
case GIMP_GRAY_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GRAY; break;
case GIMP_INDEXED_CHANNEL: stock_id = GIMP_STOCK_QUESTION; break;
case GIMP_ALPHA_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_ALPHA; break;
case GIMP_RED_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_RED; break;
case GIMP_GREEN_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GREEN; break;
case GIMP_BLUE_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_BLUE; break;
case GIMP_GRAY_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_GRAY; break;
case GIMP_INDEXED_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_INDEXED; break;
case GIMP_ALPHA_CHANNEL: stock_id = GIMP_STOCK_CHANNEL_ALPHA; break;
default:
stock_id = gimp_viewable_get_stock_id (renderer->viewable);

View File

@ -203,6 +203,7 @@ static GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_CHANNEL_GREEN, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CHANNEL_BLUE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CHANNEL_GRAY, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CHANNEL_INDEXED, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CHANNEL_ALPHA, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_LAYER_MASK, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_PATH, NULL, 0, 0, LIBGIMP_DOMAIN },
@ -353,6 +354,7 @@ gimp_stock_button_pixbufs[] =
{ GIMP_STOCK_CHANNEL_GREEN, stock_channel_green_24 },
{ GIMP_STOCK_CHANNEL_BLUE, stock_channel_blue_24 },
{ GIMP_STOCK_CHANNEL_GRAY, stock_channel_gray_24 },
{ GIMP_STOCK_CHANNEL_INDEXED, stock_channel_indexed_24 },
{ GIMP_STOCK_CHANNEL_ALPHA, stock_channel_alpha_24 },
{ GIMP_STOCK_LAYER_MASK, stock_layer_mask_24 },
{ GIMP_STOCK_IMAGE, stock_image_24 },
@ -452,6 +454,7 @@ gimp_stock_menu_pixbufs[] =
{ GIMP_STOCK_CHANNEL_GREEN, stock_channel_green_16 },
{ GIMP_STOCK_CHANNEL_BLUE, stock_channel_blue_16 },
{ GIMP_STOCK_CHANNEL_GRAY, stock_channel_gray_16 },
{ GIMP_STOCK_CHANNEL_INDEXED, stock_channel_indexed_16 },
{ GIMP_STOCK_CHANNEL_ALPHA, stock_channel_alpha_16 },
{ GIMP_STOCK_LAYER_MASK, stock_layer_mask_16 },
{ GIMP_STOCK_IMAGE, stock_image_16 },
@ -568,6 +571,7 @@ gimp_stock_dnd_pixbufs[] =
{ GIMP_STOCK_CHANNEL_GREEN, stock_channel_green_32 },
{ GIMP_STOCK_CHANNEL_BLUE, stock_channel_blue_32 },
{ GIMP_STOCK_CHANNEL_GRAY, stock_channel_gray_32 },
{ GIMP_STOCK_CHANNEL_INDEXED, stock_channel_indexed_32 },
{ GIMP_STOCK_CHANNEL_ALPHA, stock_channel_alpha_32 },
{ GIMP_STOCK_LAYER_MASK, stock_layer_mask_32 },
{ GIMP_STOCK_IMAGE, stock_image_32 },
@ -588,6 +592,7 @@ gimp_stock_dialog_pixbufs[] =
{ GIMP_STOCK_CHANNEL_GREEN, stock_channel_green_48 },
{ GIMP_STOCK_CHANNEL_BLUE, stock_channel_blue_48 },
{ GIMP_STOCK_CHANNEL_GRAY, stock_channel_gray_48 },
{ GIMP_STOCK_CHANNEL_INDEXED, stock_channel_indexed_48 },
{ GIMP_STOCK_CHANNEL_ALPHA, stock_channel_alpha_48 },
{ GIMP_STOCK_LAYER_MASK, stock_layer_mask_48 },
{ GIMP_STOCK_IMAGE, stock_image_48 },

View File

@ -158,6 +158,7 @@ G_BEGIN_DECLS
#define GIMP_STOCK_CHANNEL_GREEN "gimp-channel-green"
#define GIMP_STOCK_CHANNEL_BLUE "gimp-channel-blue"
#define GIMP_STOCK_CHANNEL_GRAY "gimp-channel-gray"
#define GIMP_STOCK_CHANNEL_INDEXED "gimp-channel-indexed"
#define GIMP_STOCK_CHANNEL_ALPHA "gimp-channel-alpha"
#define GIMP_STOCK_LAYER_MASK "gimp-layer-mask"
#define GIMP_STOCK_PATH "gimp-path"

View File

@ -31,6 +31,7 @@ STOCK_MENU_IMAGES = \
stock-channel-blue-16.png \
stock-channel-gray-16.png \
stock-channel-green-16.png \
stock-channel-indexed-16.png \
stock-channel-red-16.png \
stock-channels-16.png \
stock-close-12.png \
@ -115,6 +116,7 @@ STOCK_BUTTON_IMAGES = \
stock-channel-blue-24.png \
stock-channel-gray-24.png \
stock-channel-green-24.png \
stock-channel-indexed-24.png \
stock-channel-red-24.png \
stock-channels-24.png \
stock-char-picker-22.png \
@ -186,6 +188,7 @@ STOCK_DND_IMAGES = \
stock-channel-blue-32.png \
stock-channel-gray-32.png \
stock-channel-green-32.png \
stock-channel-indexed-32.png \
stock-channel-red-32.png \
stock-floating-selection-32.png \
stock-image-32.png \
@ -199,6 +202,7 @@ STOCK_DIALOG_IMAGES = \
stock-channel-blue-48.png \
stock-channel-gray-48.png \
stock-channel-green-48.png \
stock-channel-indexed-48.png \
stock-channel-red-48.png \
stock-error-64.png \
stock-floating-selection-48.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB