Move more text widget headers into the private header list
2000-09-26 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
headers into the private header list
* Makefile.am (pkgconfig_DATA): install pkg-config files
* configure.in: add pkg-config files
* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files
* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
outstanding icon caches on theme change.
* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
important types:
(GtkIconSource): Specification for creating a pixbuf
appropriate for a direction/state/size triplet from
a source pixbuf or filename
(GtkIconSet): List of GtkIconSource objects that are used to
create the "same" icon (e.g. an OK button icon), and cache for
rendered icons
(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
up the icon set for a given stock ID. GTK maintains a stack of
GtkIconFactory to search, and applications or libraries can add
additional icon factories on top of the stack
* gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
the set of GtkIconSource specified for a given stock ID into
a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
RcStyle, under the specified stock ID.
* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
render_icon used to derive a GdkPixbuf from a GtkIconSource.
This allows people to theme how prelight, insensitive, etc. are
done.
(gtk_style_lookup_icon_set): Look up a stock ID in the list of
icon factories for a style, and return the resulting
icon set if any.
(gtk_style_render_icon): Render an icon using the render_icon
method in the GtkStyleClass.
* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
Use the style for a given widget to look up a stock ID, get the
icon set, and render an icon using the render_icon method
of the style
* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
(contains information about a stock item), the built-in stock item
IDs, and functions to add/lookup stock items.
* gtk/stock-icons/*: Stock icons that come with GTK
* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
a button based on a GtkStockItem
(gtk_button_new_accel): Takes a uline string and accel group, and
installs the accelerator.
* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
image-display widget.
2000-09-26 20:22:17 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
IMAGES = \
|
2002-03-29 06:23:35 +00:00
|
|
|
stock_add_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_add_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_align_center_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_align_center_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_align_justify_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_align_justify_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_align_left_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_align_left_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_align_right_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_align_right_24.png \
|
|
|
|
stock_apply_20.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_bottom_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_bottom_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_broken_image_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_broken_image_24.png \
|
|
|
|
stock_cancel_20.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_cdrom_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_cdrom_24.png \
|
|
|
|
stock_clear_24.png \
|
|
|
|
stock_close_20.png \
|
|
|
|
stock_close_24.png \
|
|
|
|
stock_colorselector_24.png \
|
2002-09-16 22:52:22 +00:00
|
|
|
stock_color_picker_25.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_convert_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_convert_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_copy_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_copy_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_cut_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_cut_24.png \
|
2003-07-18 23:43:26 +00:00
|
|
|
stock_dialog_authentication_48.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_dialog_error_48.png \
|
|
|
|
stock_dialog_info_48.png \
|
|
|
|
stock_dialog_question_48.png \
|
|
|
|
stock_dialog_warning_48.png \
|
|
|
|
stock_dnd_multiple_32.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_down_arrow_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_down_arrow_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_exec_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_exec_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_exit_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_exit_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_first_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_first_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_font_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_font_24.png \
|
2004-01-04 15:45:56 +00:00
|
|
|
stock_harddisk_16.png \
|
|
|
|
stock_harddisk_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_help_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_help_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_home_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_home_24.png \
|
|
|
|
stock_index_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_jump_to_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_jump_to_24.png \
|
2002-11-02 00:18:14 +00:00
|
|
|
stock_jump_to_rtl_16.png \
|
|
|
|
stock_jump_to_rtl_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_last_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_last_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_left_arrow_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_left_arrow_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_new_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_new_24.png \
|
|
|
|
stock_no_20.png \
|
|
|
|
stock_ok_20.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_open_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_open_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_paste_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_paste_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_preferences_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_preferences_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_print_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_print_24.png \
|
|
|
|
stock_print_preview_16.png \
|
|
|
|
stock_print_preview_24.png \
|
2002-03-06 17:47:15 +00:00
|
|
|
stock_properties_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_properties_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_redo_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_redo_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_redo_rtl_16.png \
|
|
|
|
stock_redo_rtl_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_refresh_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_refresh_24.png \
|
2002-03-29 06:23:35 +00:00
|
|
|
stock_remove_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_remove_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_revert_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_revert_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_revert_rtl_16.png \
|
|
|
|
stock_revert_rtl_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_right_arrow_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_right_arrow_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_save_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_save_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_save_as_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_save_as_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_search_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_search_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_search_replace_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_search_replace_24.png \
|
|
|
|
stock_sort_ascending_16.png \
|
|
|
|
stock_sort_ascending_24.png \
|
|
|
|
stock_sort_descending_16.png \
|
|
|
|
stock_sort_descending_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_spellcheck_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_spellcheck_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_stop_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_stop_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_text_bold_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_text_bold_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_text_italic_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_text_italic_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_text_strikethrough_16.png \
|
|
|
|
stock_text_strikethrough_24.png \
|
|
|
|
stock_text_underline_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_text_underline_24.png \
|
2004-01-20 16:32:54 +00:00
|
|
|
stock_text_indent_16.png \
|
|
|
|
stock_text_indent_24.png \
|
|
|
|
stock_text_unindent_16.png \
|
|
|
|
stock_text_unindent_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_top_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_top_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_trash_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_trash_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_undelete_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_undelete_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_undelete_rtl_16.png \
|
|
|
|
stock_undelete_rtl_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_undo_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_undo_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_undo_rtl_16.png \
|
|
|
|
stock_undo_rtl_24.png \
|
2002-02-23 21:59:43 +00:00
|
|
|
stock_up_arrow_16.png \
|
2002-02-22 21:48:06 +00:00
|
|
|
stock_up_arrow_24.png \
|
|
|
|
stock_yes_20.png \
|
|
|
|
stock_zoom_1_24.png \
|
|
|
|
stock_zoom_fit_24.png \
|
|
|
|
stock_zoom_in_24.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_zoom_out_24.png
|
Move more text widget headers into the private header list
2000-09-26 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
headers into the private header list
* Makefile.am (pkgconfig_DATA): install pkg-config files
* configure.in: add pkg-config files
* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files
* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
outstanding icon caches on theme change.
* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
important types:
(GtkIconSource): Specification for creating a pixbuf
appropriate for a direction/state/size triplet from
a source pixbuf or filename
(GtkIconSet): List of GtkIconSource objects that are used to
create the "same" icon (e.g. an OK button icon), and cache for
rendered icons
(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
up the icon set for a given stock ID. GTK maintains a stack of
GtkIconFactory to search, and applications or libraries can add
additional icon factories on top of the stack
* gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
the set of GtkIconSource specified for a given stock ID into
a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
RcStyle, under the specified stock ID.
* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
render_icon used to derive a GdkPixbuf from a GtkIconSource.
This allows people to theme how prelight, insensitive, etc. are
done.
(gtk_style_lookup_icon_set): Look up a stock ID in the list of
icon factories for a style, and return the resulting
icon set if any.
(gtk_style_render_icon): Render an icon using the render_icon
method in the GtkStyleClass.
* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
Use the style for a given widget to look up a stock ID, get the
icon set, and render an icon using the render_icon method
of the style
* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
(contains information about a stock item), the built-in stock item
IDs, and functions to add/lookup stock items.
* gtk/stock-icons/*: Stock icons that come with GTK
* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
a button based on a GtkStockItem
(gtk_button_new_accel): Takes a uline string and accel group, and
installs the accelerator.
* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
image-display widget.
2000-09-26 20:22:17 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
VARIABLES1 = \
|
|
|
|
stock_add_16 $(srcdir)/stock_add_16.png \
|
|
|
|
stock_add_24 $(srcdir)/stock_add_24.png \
|
|
|
|
stock_align_center_16 $(srcdir)/stock_align_center_16.png \
|
|
|
|
stock_align_center_24 $(srcdir)/stock_align_center_24.png \
|
|
|
|
stock_align_justify_16 $(srcdir)/stock_align_justify_16.png \
|
|
|
|
stock_align_justify_24 $(srcdir)/stock_align_justify_24.png \
|
|
|
|
stock_align_left_16 $(srcdir)/stock_align_left_16.png \
|
|
|
|
stock_align_left_24 $(srcdir)/stock_align_left_24.png \
|
|
|
|
stock_align_right_16 $(srcdir)/stock_align_right_16.png \
|
|
|
|
stock_align_right_24 $(srcdir)/stock_align_right_24.png \
|
|
|
|
stock_apply_20 $(srcdir)/stock_apply_20.png \
|
|
|
|
stock_cancel_20 $(srcdir)/stock_cancel_20.png \
|
|
|
|
stock_dnd_multiple_32 $(srcdir)/stock_dnd_multiple_32.png \
|
|
|
|
stock_bottom_16 $(srcdir)/stock_bottom_16.png \
|
|
|
|
stock_bottom_24 $(srcdir)/stock_bottom_24.png \
|
|
|
|
stock_cdrom_16 $(srcdir)/stock_cdrom_16.png \
|
|
|
|
stock_cdrom_24 $(srcdir)/stock_cdrom_24.png \
|
|
|
|
stock_clear_24 $(srcdir)/stock_clear_24.png \
|
|
|
|
stock_close_20 $(srcdir)/stock_close_20.png \
|
|
|
|
stock_close_24 $(srcdir)/stock_close_24.png \
|
|
|
|
stock_colorselector_24 $(srcdir)/stock_colorselector_24.png \
|
|
|
|
stock_color_picker_25 $(srcdir)/stock_color_picker_25.png
|
|
|
|
VARIABLES2 = \
|
|
|
|
stock_convert_16 $(srcdir)/stock_convert_16.png \
|
|
|
|
stock_convert_24 $(srcdir)/stock_convert_24.png \
|
|
|
|
stock_copy_16 $(srcdir)/stock_copy_16.png \
|
|
|
|
stock_copy_24 $(srcdir)/stock_copy_24.png \
|
|
|
|
stock_cut_16 $(srcdir)/stock_cut_16.png \
|
|
|
|
stock_cut_24 $(srcdir)/stock_cut_24.png \
|
2003-07-18 23:43:26 +00:00
|
|
|
stock_dialog_authentication_48 $(srcdir)/stock_dialog_authentication_48.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_dialog_error_48 $(srcdir)/stock_dialog_error_48.png \
|
|
|
|
stock_dialog_info_48 $(srcdir)/stock_dialog_info_48.png \
|
|
|
|
stock_dialog_question_48 $(srcdir)/stock_dialog_question_48.png \
|
|
|
|
stock_dialog_warning_48 $(srcdir)/stock_dialog_warning_48.png \
|
|
|
|
stock_dnd_32 $(srcdir)/stock_dnd_32.png \
|
|
|
|
stock_down_arrow_16 $(srcdir)/stock_down_arrow_16.png \
|
|
|
|
stock_down_arrow_24 $(srcdir)/stock_down_arrow_24.png \
|
|
|
|
stock_exec_16 $(srcdir)/stock_exec_16.png \
|
|
|
|
stock_exec_24 $(srcdir)/stock_exec_24.png \
|
|
|
|
stock_exit_16 $(srcdir)/stock_exit_16.png \
|
|
|
|
stock_exit_24 $(srcdir)/stock_exit_24.png \
|
|
|
|
stock_first_16 $(srcdir)/stock_first_16.png \
|
|
|
|
stock_first_24 $(srcdir)/stock_first_24.png \
|
|
|
|
stock_font_16 $(srcdir)/stock_font_16.png
|
|
|
|
VARIABLES3 = \
|
|
|
|
stock_font_24 $(srcdir)/stock_font_24.png \
|
|
|
|
stock_help_16 $(srcdir)/stock_help_16.png \
|
|
|
|
stock_help_24 $(srcdir)/stock_help_24.png \
|
2004-01-04 15:45:56 +00:00
|
|
|
stock_harddisk_16 $(srcdir)/stock_harddisk_16.png \
|
|
|
|
stock_harddisk_24 $(srcdir)/stock_harddisk_24.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_home_16 $(srcdir)/stock_home_16.png \
|
|
|
|
stock_home_24 $(srcdir)/stock_home_24.png \
|
|
|
|
stock_index_24 $(srcdir)/stock_index_24.png \
|
|
|
|
stock_jump_to_16 $(srcdir)/stock_jump_to_16.png \
|
|
|
|
stock_jump_to_24 $(srcdir)/stock_jump_to_24.png \
|
|
|
|
stock_jump_to_rtl_16 $(srcdir)/stock_jump_to_rtl_16.png \
|
|
|
|
stock_jump_to_rtl_24 $(srcdir)/stock_jump_to_rtl_24.png \
|
|
|
|
stock_last_16 $(srcdir)/stock_last_16.png \
|
|
|
|
stock_last_24 $(srcdir)/stock_last_24.png \
|
|
|
|
stock_left_arrow_16 $(srcdir)/stock_left_arrow_16.png \
|
|
|
|
stock_left_arrow_24 $(srcdir)/stock_left_arrow_24.png \
|
|
|
|
stock_missing_image_16 $(srcdir)/stock_broken_image_16.png \
|
|
|
|
stock_missing_image_24 $(srcdir)/stock_broken_image_24.png \
|
|
|
|
stock_new_16 $(srcdir)/stock_new_16.png \
|
|
|
|
stock_new_24 $(srcdir)/stock_new_24.png \
|
|
|
|
stock_no_20 $(srcdir)/stock_no_20.png \
|
|
|
|
stock_ok_20 $(srcdir)/stock_ok_20.png \
|
|
|
|
stock_open_16 $(srcdir)/stock_open_16.png \
|
|
|
|
stock_open_24 $(srcdir)/stock_open_24.png
|
|
|
|
VARIABLES4 = \
|
|
|
|
stock_paste_16 $(srcdir)/stock_paste_16.png \
|
|
|
|
stock_paste_24 $(srcdir)/stock_paste_24.png \
|
|
|
|
stock_preferences_16 $(srcdir)/stock_preferences_16.png \
|
|
|
|
stock_preferences_24 $(srcdir)/stock_preferences_24.png \
|
|
|
|
stock_print_16 $(srcdir)/stock_print_16.png \
|
|
|
|
stock_print_24 $(srcdir)/stock_print_24.png \
|
|
|
|
stock_print_preview_16 $(srcdir)/stock_print_preview_16.png \
|
|
|
|
stock_print_preview_24 $(srcdir)/stock_print_preview_24.png \
|
|
|
|
stock_properties_16 $(srcdir)/stock_properties_16.png \
|
|
|
|
stock_properties_24 $(srcdir)/stock_properties_24.png \
|
|
|
|
stock_redo_16 $(srcdir)/stock_redo_16.png \
|
|
|
|
stock_redo_24 $(srcdir)/stock_redo_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_redo_rtl_16 $(srcdir)/stock_redo_rtl_16.png \
|
|
|
|
stock_redo_rtl_24 $(srcdir)/stock_redo_rtl_24.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_refresh_16 $(srcdir)/stock_refresh_16.png \
|
|
|
|
stock_refresh_24 $(srcdir)/stock_refresh_24.png \
|
|
|
|
stock_remove_16 $(srcdir)/stock_remove_16.png \
|
|
|
|
stock_remove_24 $(srcdir)/stock_remove_24.png \
|
|
|
|
stock_revert_16 $(srcdir)/stock_revert_16.png \
|
|
|
|
stock_revert_24 $(srcdir)/stock_revert_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_revert_rtl_16 $(srcdir)/stock_revert_rtl_16.png \
|
|
|
|
stock_revert_rtl_24 $(srcdir)/stock_revert_rtl_24.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_right_arrow_16 $(srcdir)/stock_right_arrow_16.png \
|
|
|
|
stock_right_arrow_24 $(srcdir)/stock_right_arrow_24.png \
|
|
|
|
stock_save_16 $(srcdir)/stock_save_16.png
|
|
|
|
VARIABLES5 = \
|
|
|
|
stock_save_24 $(srcdir)/stock_save_24.png \
|
|
|
|
stock_save_as_16 $(srcdir)/stock_save_as_16.png \
|
|
|
|
stock_save_as_24 $(srcdir)/stock_save_as_24.png \
|
|
|
|
stock_search_16 $(srcdir)/stock_search_16.png \
|
|
|
|
stock_search_24 $(srcdir)/stock_search_24.png \
|
|
|
|
stock_search_replace_16 $(srcdir)/stock_search_replace_16.png \
|
|
|
|
stock_search_replace_24 $(srcdir)/stock_search_replace_24.png \
|
|
|
|
stock_sort_ascending_16 $(srcdir)/stock_sort_ascending_16.png \
|
|
|
|
stock_sort_ascending_24 $(srcdir)/stock_sort_ascending_24.png \
|
|
|
|
stock_sort_descending_16 $(srcdir)/stock_sort_descending_16.png \
|
|
|
|
stock_sort_descending_24 $(srcdir)/stock_sort_descending_24.png \
|
|
|
|
stock_spellcheck_16 $(srcdir)/stock_spellcheck_16.png \
|
|
|
|
stock_spellcheck_24 $(srcdir)/stock_spellcheck_24.png \
|
|
|
|
stock_stop_16 $(srcdir)/stock_stop_16.png \
|
|
|
|
stock_stop_24 $(srcdir)/stock_stop_24.png \
|
|
|
|
stock_text_bold_16 $(srcdir)/stock_text_bold_16.png \
|
|
|
|
stock_text_bold_24 $(srcdir)/stock_text_bold_24.png \
|
|
|
|
stock_text_italic_16 $(srcdir)/stock_text_italic_16.png \
|
|
|
|
stock_text_italic_24 $(srcdir)/stock_text_italic_24.png \
|
|
|
|
stock_text_strikethrough_16 $(srcdir)/stock_text_strikethrough_16.png
|
|
|
|
VARIABLES6 = \
|
|
|
|
stock_text_strikethrough_24 $(srcdir)/stock_text_strikethrough_24.png \
|
|
|
|
stock_text_underline_16 $(srcdir)/stock_text_underline_16.png \
|
|
|
|
stock_text_underline_24 $(srcdir)/stock_text_underline_24.png \
|
2004-01-20 16:32:54 +00:00
|
|
|
stock_text_indent_16 $(srcdir)/stock_text_indent_16.png \
|
|
|
|
stock_text_indent_24 $(srcdir)/stock_text_indent_24.png \
|
|
|
|
stock_text_unindent_16 $(srcdir)/stock_text_unindent_16.png \
|
|
|
|
stock_text_unindent_24 $(srcdir)/stock_text_unindent_24.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_top_16 $(srcdir)/stock_top_16.png \
|
|
|
|
stock_top_24 $(srcdir)/stock_top_24.png \
|
|
|
|
stock_trash_16 $(srcdir)/stock_trash_16.png \
|
|
|
|
stock_trash_24 $(srcdir)/stock_trash_24.png \
|
|
|
|
stock_undelete_16 $(srcdir)/stock_undelete_16.png \
|
|
|
|
stock_undelete_24 $(srcdir)/stock_undelete_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_undelete_rtl_16 $(srcdir)/stock_undelete_rtl_16.png \
|
|
|
|
stock_undelete_rtl_24 $(srcdir)/stock_undelete_rtl_24.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_undo_16 $(srcdir)/stock_undo_16.png \
|
|
|
|
stock_undo_24 $(srcdir)/stock_undo_24.png \
|
2003-06-07 09:38:36 +00:00
|
|
|
stock_undo_rtl_16 $(srcdir)/stock_undo_rtl_16.png \
|
|
|
|
stock_undo_rtl_24 $(srcdir)/stock_undo_rtl_24.png \
|
2003-05-06 21:55:41 +00:00
|
|
|
stock_up_arrow_16 $(srcdir)/stock_up_arrow_16.png \
|
|
|
|
stock_up_arrow_24 $(srcdir)/stock_up_arrow_24.png \
|
|
|
|
stock_yes_20 $(srcdir)/stock_yes_20.png \
|
|
|
|
stock_zoom_1_24 $(srcdir)/stock_zoom_1_24.png \
|
|
|
|
stock_zoom_fit_24 $(srcdir)/stock_zoom_fit_24.png \
|
|
|
|
stock_zoom_in_24 $(srcdir)/stock_zoom_in_24.png \
|
|
|
|
stock_zoom_out_24 $(srcdir)/stock_zoom_out_24.png
|
Move more text widget headers into the private header list
2000-09-26 Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
headers into the private header list
* Makefile.am (pkgconfig_DATA): install pkg-config files
* configure.in: add pkg-config files
* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files
* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
outstanding icon caches on theme change.
* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
important types:
(GtkIconSource): Specification for creating a pixbuf
appropriate for a direction/state/size triplet from
a source pixbuf or filename
(GtkIconSet): List of GtkIconSource objects that are used to
create the "same" icon (e.g. an OK button icon), and cache for
rendered icons
(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
up the icon set for a given stock ID. GTK maintains a stack of
GtkIconFactory to search, and applications or libraries can add
additional icon factories on top of the stack
* gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
the set of GtkIconSource specified for a given stock ID into
a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
RcStyle, under the specified stock ID.
* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
render_icon used to derive a GdkPixbuf from a GtkIconSource.
This allows people to theme how prelight, insensitive, etc. are
done.
(gtk_style_lookup_icon_set): Look up a stock ID in the list of
icon factories for a style, and return the resulting
icon set if any.
(gtk_style_render_icon): Render an icon using the render_icon
method in the GtkStyleClass.
* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
Use the style for a given widget to look up a stock ID, get the
icon set, and render an icon using the render_icon method
of the style
* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
(contains information about a stock item), the built-in stock item
IDs, and functions to add/lookup stock items.
* gtk/stock-icons/*: Stock icons that come with GTK
* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
a button based on a GtkStockItem
(gtk_button_new_accel): Takes a uline string and accel group, and
installs the accelerator.
* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
image-display widget.
2000-09-26 20:22:17 +00:00
|
|
|
|
doh, this was broken beyond believe.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
* gtk/gtkbox.c: change property types from (u)long to (u)int for
::position and ::padding.
* gtk/gtkcontainer.c: make ::border_width an INT property.
* gtk/gtkpacker.c: make ::position an INT property.
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
guard against NULL h/v scrollbars, since this is used at construction
time.
* gtk/gtkclist.[hc]: nuked gtk_clist_construct(), implemented
internal gtk_clist_constructor().
* gtk/gtkctree.[hc]: nuked gtk_ctree_construct(), implemented
gtk_ctree_constructor().
* gtk/gtkprogressbar.c (gtk_progress_bar_class_init): property
::pulse_step should use ARG_PULSE_STEP, not ARG_FRACTION.
* docs/reference/Makefile.am: fun stuff, disabled docs generation
again, gtk-scan.c needs to introspec paramspecs, not GtkAgs.
* gtk/gtkwidget.[hc]:
removed gtk_widget_setv(), gtk_widget_getv(), gtk_widget_newv()
and gtk_widget_get().
(gtk_widget_new): use g_object_new_valist().
(gtk_widget_set): use g_object_set_valist().
* gtk/gtkobject.[hc]:
removed gtk_object_arg_get_info(), gtk_object_getv(),
gtk_object_query_args(), gtk_object_newv(),
gtk_object_class_add_signals(),
gtk_object_class_user_signal_new(),
gtk_object_class_user_signal_newv(),
gtk_object_arg_set(), gtk_object_arg_get(),
gtk_object_args_collect(),
gtk_object_default_construct(),
gtk_object_constructed(),
GTK_CONSTRUCTED and GTK_OBJECT_CONSTRUCTED().
removed nsignals, signals and n_args members from GtkObjectClass.
(gtk_object_new): use g_object_new_valist().
(gtk_object_set): use g_object_set_valist().
(gtk_object_get): use g_object_get_valist().
* gtk/gtkcompat.h: define gtk_object_default_construct().
* gtk/gtktypeutils.c (gtk_type_new): create constructed objects via
g_object_new().
* gtk/*.c: removed gtk_object_class_add_signals() from class_init()
fucntions, cleaned up method assignments (make sure your structures
are setup properly before calling out). removed all GTK_CONSTRUCTED
hacks ;)
2000-12-13 01:34:41 +00:00
|
|
|
noinst_DATA = gtkstockpixbufs.h
|
2001-09-18 13:26:52 +00:00
|
|
|
CLEANFILES = $(noinst_DATA)
|
2000-11-14 16:38:04 +00:00
|
|
|
|
2002-05-07 15:53:08 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
pixbuf_csource=$(GDK_PIXBUF_CSOURCE)
|
2003-06-06 00:52:20 +00:00
|
|
|
pixbuf_csource_deps=
|
2002-05-07 15:53:08 +00:00
|
|
|
else
|
2002-10-05 22:39:36 +00:00
|
|
|
pixbuf_csource=GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource
|
2003-06-06 00:52:20 +00:00
|
|
|
pixbuf_csource_deps=$(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource $(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders
|
2002-05-07 15:53:08 +00:00
|
|
|
endif
|
2000-11-14 16:38:04 +00:00
|
|
|
|
2003-06-06 00:52:20 +00:00
|
|
|
gtkstockpixbufs.h: @REBUILD_PNGS@ $(pixbuf_csource_deps) $(IMAGES)
|
2003-05-06 21:55:41 +00:00
|
|
|
$(pixbuf_csource) \
|
|
|
|
--raw --build-list $(VARIABLES1) > gtkstockpixbufs.h || \
|
|
|
|
( rm -f gtkstockpixbufs.h && false )
|
|
|
|
$(pixbuf_csource) \
|
|
|
|
--raw --build-list $(VARIABLES2) >> gtkstockpixbufs.h || \
|
|
|
|
( rm -f gtkstockpixbufs.h && false )
|
|
|
|
$(pixbuf_csource) \
|
|
|
|
--raw --build-list $(VARIABLES3) >> gtkstockpixbufs.h || \
|
|
|
|
( rm -f gtkstockpixbufs.h && false )
|
|
|
|
$(pixbuf_csource) \
|
|
|
|
--raw --build-list $(VARIABLES4) >> gtkstockpixbufs.h || \
|
|
|
|
( rm -f gtkstockpixbufs.h && false )
|
|
|
|
$(pixbuf_csource) \
|
|
|
|
--raw --build-list $(VARIABLES5) >> gtkstockpixbufs.h || \
|
|
|
|
( rm -f gtkstockpixbufs.h && false )
|
|
|
|
$(pixbuf_csource) \
|
|
|
|
--raw --build-list $(VARIABLES6) >> gtkstockpixbufs.h || \
|
|
|
|
( rm -f gtkstockpixbufs.h && false )
|
2000-11-14 16:38:04 +00:00
|
|
|
|
2002-01-16 15:31:42 +00:00
|
|
|
EXTRA_DIST = $(IMAGES) gtkstockpixbufs.h
|