themes/Default/images/Makefile.am

2003-03-31  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-text-dir-ltr-24.png
	* themes/Default/images/stock-text-dir-rtl-24.png: placeholders
	for new icons.

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

	* themes/Default/gtkrc: tweak GtkDialog in "gimp-default-style".

	* app/text/text-enums.[ch]
	* app/text/gimptext.[ch]
	* app/text/gimptextlayout.c: added new enum GimpTextDirection and
	use it instead of PangoDirection.

	* app/widgets/widgets-types.h
	* app/widgets/gimptexteditor.[ch]: made GimpTextEditor a real widget
	and added buttons to switch the text direction.

	* app/tools/gimptextoptions.[ch]
	* app/tools/gimptexttool.c: moved creation of the text editor to the
	text tool options, take care of GimpText::base-direction here.
This commit is contained in:
Sven Neumann
2003-03-31 15:10:15 +00:00
committed by Sven Neumann
parent 056f5ce54e
commit a93e91f38e
18 changed files with 410 additions and 81 deletions

View File

@ -141,6 +141,8 @@ static GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_CHAR_PICKER, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_LETTER_SPACING, N_("L_etter Spacing"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_LINE_SPACING, N_("L_ine Spacing"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_TEXT_DIR_LTR, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_TEXT_DIR_RTL, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CONVERT_RGB, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CONVERT_GRAYSCALE, NULL, 0, 0, LIBGIMP_DOMAIN },
@ -280,6 +282,8 @@ gimp_stock_button_pixbufs[] =
{ GIMP_STOCK_CHAR_PICKER, stock_char_picker_22 },
{ GIMP_STOCK_LETTER_SPACING, stock_letter_spacing_22 },
{ GIMP_STOCK_LINE_SPACING, stock_line_spacing_22 },
{ GIMP_STOCK_TEXT_DIR_LTR, stock_text_dir_ltr_24 },
{ GIMP_STOCK_TEXT_DIR_RTL, stock_text_dir_rtl_24 },
{ GIMP_STOCK_IMAGES, stock_images_24 },
{ GIMP_STOCK_LAYERS, stock_layers_24 },

View File

@ -75,6 +75,9 @@ G_BEGIN_DECLS
#define GIMP_STOCK_LETTER_SPACING "gimp-letter-spacing"
#define GIMP_STOCK_LINE_SPACING "gimp-line-spacing"
#define GIMP_STOCK_TEXT_DIR_LTR "gimp-text-dir-ltr"
#define GIMP_STOCK_TEXT_DIR_RTL "gimp-text-dir-rtl"
#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"