themes/Default/images/Makefile.am

2003-04-10  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-portrait-16.png
	* themes/Default/images/stock-landscape-16.png: new icons by Jimmac.

	* libgimpwidgets/gimpstock.[ch]: register the new icons.

	* app/widgets/widgets-enums.[ch]: added new enum GimpAspectType.
This commit is contained in:
Sven Neumann 2003-04-10 11:05:17 +00:00 committed by Sven Neumann
parent 2598142564
commit 2db8367c7d
11 changed files with 104 additions and 30 deletions

View File

@ -1,3 +1,13 @@
2003-04-10 Sven Neumann <sven@gimp.org>
* themes/Default/images/Makefile.am
* themes/Default/images/stock-portrait-16.png
* themes/Default/images/stock-landscape-16.png: new icons by Jimmac.
* libgimpwidgets/gimpstock.[ch]: register the new icons.
* app/widgets/widgets-enums.[ch]: added new enum GimpAspectType.
2003-04-10 Michael Natterer <mitch@gimp.org>
* app/core/gimpcontext.[ch]: added gimp_context_type_to_prop_name().

View File

@ -8,6 +8,26 @@
/* enumerations from "./widgets-enums.h" */
static const GEnumValue gimp_aspect_type_enum_values[] =
{
{ GIMP_ASPECT_SQUARE, "GIMP_ASPECT_SQUARE", "square" },
{ GIMP_ASPECT_PORTRAIT, N_("Portrait"), "portrait" },
{ GIMP_ASPECT_LANDSCAPE, N_("Landscape"), "landscape" },
{ 0, NULL, NULL }
};
GType
gimp_aspect_type_get_type (void)
{
static GType enum_type = 0;
if (!enum_type)
enum_type = g_enum_register_static ("GimpAspectType", gimp_aspect_type_enum_values);
return enum_type;
}
static const GEnumValue gimp_help_browser_type_enum_values[] =
{
{ GIMP_HELP_BROWSER_GIMP, N_("Internal"), "gimp" },
@ -27,25 +47,6 @@ gimp_help_browser_type_get_type (void)
}
static const GEnumValue gimp_zoom_type_enum_values[] =
{
{ GIMP_ZOOM_IN, N_("Zoom in"), "in" },
{ GIMP_ZOOM_OUT, N_("Zoom out"), "out" },
{ 0, NULL, NULL }
};
GType
gimp_zoom_type_get_type (void)
{
static GType enum_type = 0;
if (!enum_type)
enum_type = g_enum_register_static ("GimpZoomType", gimp_zoom_type_enum_values);
return enum_type;
}
static const GEnumValue gimp_histogram_scale_enum_values[] =
{
{ GIMP_HISTOGRAM_SCALE_LINEAR, N_("Linear"), "linear" },
@ -84,5 +85,24 @@ gimp_view_type_get_type (void)
}
static const GEnumValue gimp_zoom_type_enum_values[] =
{
{ GIMP_ZOOM_IN, N_("Zoom in"), "in" },
{ GIMP_ZOOM_OUT, N_("Zoom out"), "out" },
{ 0, NULL, NULL }
};
GType
gimp_zoom_type_get_type (void)
{
static GType enum_type = 0;
if (!enum_type)
enum_type = g_enum_register_static ("GimpZoomType", gimp_zoom_type_enum_values);
return enum_type;
}
/* Generated data ends here */

View File

@ -26,6 +26,18 @@
* these enums that are registered with the type system
*/
#define GIMP_TYPE_ASPECT_TYPE (gimp_aspect_type_get_type ())
GType gimp_aspect_type_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_ASPECT_SQUARE,
GIMP_ASPECT_PORTRAIT, /*< desc="Portrait" >*/
GIMP_ASPECT_LANDSCAPE /*< desc="Landscape" >*/
} GimpAspectType;
#define GIMP_TYPE_HELP_BROWSER_TYPE (gimp_help_browser_type_get_type ())
GType gimp_help_browser_type_get_type (void) G_GNUC_CONST;
@ -37,17 +49,6 @@ typedef enum
} GimpHelpBrowserType;
#define GIMP_TYPE_ZOOM_TYPE (gimp_zoom_type_get_type ())
GType gimp_zoom_type_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_ZOOM_IN, /*< desc="Zoom in" >*/
GIMP_ZOOM_OUT /*< desc="Zoom out" >*/
} GimpZoomType;
#define GIMP_TYPE_HISTOGRAM_SCALE (gimp_histogram_scale_get_type ())
GType gimp_histogram_scale_get_type (void) G_GNUC_CONST;
@ -70,6 +71,17 @@ typedef enum
} GimpViewType;
#define GIMP_TYPE_ZOOM_TYPE (gimp_zoom_type_get_type ())
GType gimp_zoom_type_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_ZOOM_IN, /*< desc="Zoom in" >*/
GIMP_ZOOM_OUT /*< desc="Zoom out" >*/
} GimpZoomType;
/*
* non-registered enums; register them if needed
*/

View File

@ -1,3 +1,8 @@
2003-04-04 Sven Neumann <sven@gimp.org>
* libgimpwidgets/libgimpwidgets-sections.txt
* libgimpwidgets/tmpl/gimpstock.sgml: landscape and portrait icons.
2003-04-04 Sven Neumann <sven@gimp.org>
* libgimpwidgets/libgimpwidgets-sections.txt

View File

@ -291,6 +291,8 @@ GIMP_STOCK_LINKED
GIMP_STOCK_VISIBLE
GIMP_STOCK_LIST
GIMP_STOCK_GRID
GIMP_STOCK_PORTRAIT
GIMP_STOCK_LANDSCAPE
GIMP_STOCK_SELECTION_ALL
GIMP_STOCK_SELECTION_NONE
GIMP_STOCK_SELECTION_GROW

View File

@ -194,6 +194,20 @@ size).
<!-- ##### MACRO GIMP_STOCK_PORTRAIT ##### -->
<para>
<inlinegraphic fileref="stock-portrait-16.png" format="png"></inlinegraphic>
</para>
<!-- ##### MACRO GIMP_STOCK_LANDSCAPE ##### -->
<para>
<inlinegraphic fileref="stock-landscape-16.png" format="png"></inlinegraphic>
</para>
<!-- ##### MACRO GIMP_STOCK_SELECTION_ALL ##### -->
<para>
<inlinegraphic fileref="stock-selection-all-16.png" format="png"></inlinegraphic>

View File

@ -201,6 +201,9 @@ static GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_LIST, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_GRID, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_PORTRAIT, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_LANDSCAPE, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_ERROR, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_INFO, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_QUESTION, NULL, 0, 0, LIBGIMP_DOMAIN },
@ -415,6 +418,9 @@ gimp_stock_menu_pixbufs[] =
{ GIMP_STOCK_LIST, stock_list_16 },
{ GIMP_STOCK_GRID, stock_grid_16 },
{ GIMP_STOCK_PORTRAIT, stock_portrait_16 },
{ GIMP_STOCK_LANDSCAPE, stock_landscape_16 },
{ GIMP_STOCK_DEFAULT_COLORS, stock_default_colors_12 },
{ GIMP_STOCK_SWAP_COLORS, stock_swap_colors_12 },

View File

@ -180,6 +180,9 @@ G_BEGIN_DECLS
#define GIMP_STOCK_LIST "gimp-list"
#define GIMP_STOCK_GRID "gimp-grid"
#define GIMP_STOCK_PORTRAIT "gimp-portrait"
#define GIMP_STOCK_LANDSCAPE "gimp-landscape"
/* in dialog size: */
#define GIMP_STOCK_ERROR "gimp-error"

View File

@ -52,6 +52,7 @@ STOCK_MENU_IMAGES = \
stock-images-16.png \
stock-info-16.png \
stock-invert-16.png \
stock-landscape-16.png \
stock-layer-16.png \
stock-layer-to-imagesize-16.png \
stock-layers-16.png \
@ -60,6 +61,7 @@ STOCK_MENU_IMAGES = \
stock-navigation-16.png \
stock-paths-16.png \
stock-plugin-16.png \
stock-portrait-16.png \
stock-qmask-off-16.png \
stock-qmask-on-16.png \
stock-reshow-filter-16.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B