mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 13:01:42 +00:00
a319c455d9
2003-08-21 Michael Natterer <mitch@gimp.org> * app/widgets/Makefile.am * app/widgets/gimphelp-ids.h: new file defining the available help topics. Work in progress and totally unusable for matching to the help system. Stay tuned... * app/gui/about-dialog.c * app/gui/brushes-menu.c * app/gui/buffers-menu.c * app/gui/channels-commands.[ch] * app/gui/channels-menu.c * app/gui/edit-commands.c * app/gui/file-commands.c * app/gui/file-new-dialog.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/gradients-commands.c * app/gui/gradients-menu.c * app/gui/image-menu.c * app/gui/layers-commands.[ch] * app/gui/layers-menu.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palettes-menu.c * app/gui/patterns-menu.c * app/gui/resize-dialog.c * app/gui/select-commands.c * app/gui/templates-menu.c * app/gui/tips-dialog.c * app/gui/toolbox-menu.c * app/gui/vectors-commands.[ch] * app/gui/vectors-menu.c: replaced literal HTML file paths by help IDs from gimphelp-ids.h. Renamed some menu callbacks to be consistent with similar ones. This is just an intermediate commit and not finished. While browsing all the menus, I noticed that our "x to selection" functions are not consistent at all. They should all offer the REPLACE,ADD,SUBTRACT,INTERSECT options: * app/core/gimpchannel.[ch]: added new function gimp_channel_new_from_alpha(). Removed gimp_channel_layer_alpha() and gimp_channel_layer_mask(). * app/core/gimpimage-mask.[ch]: added gimp_image_mask_select_alpha() and gimp_image_mask_select_component() which offer the full set of operation, feather and feather_radius parameters as the other selection functions. * app/core/gimpimage-mask-select.[ch]: removed gimp_image_mask_layer_alpha() and gimp_image_mask_layer_mask(). * app/gui/channels-commands.c (channels_channel_to_selection): use gimp_image_mask_select_component() instead of implementing it here. * app/gui/image-menu.c * app/gui/layers-commands.[ch]: offer the full choice of REPLACE,ADD,SUBTRACT,INTERSECT with "Alpha to Selection" and "Mask to Selection". * tools/pdbgen/pdb/selection.pdb: changed accordingly. * app/pdb/selection_cmds.c: regenerated.
202 lines
5.1 KiB
Makefile
202 lines
5.1 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
AM_CPPFLAGS = \
|
|
-DG_LOG_DOMAIN=\"Gimp-Widgets\" \
|
|
@GIMP_THREAD_FLAGS@ \
|
|
@GIMP_MP_FLAGS@
|
|
|
|
INCLUDES = \
|
|
-I$(top_builddir) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/app \
|
|
-I$(top_srcdir)/app \
|
|
$(GTK_CFLAGS) \
|
|
$(PANGOFT2_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
noinst_LIBRARIES = libappwidgets.a
|
|
|
|
libappwidgets_a_sources = \
|
|
widgets-enums.h \
|
|
widgets-types.h \
|
|
gimpbrusheditor.c \
|
|
gimpbrusheditor.h \
|
|
gimpbrushfactoryview.c \
|
|
gimpbrushfactoryview.h \
|
|
gimpbufferview.c \
|
|
gimpbufferview.h \
|
|
gimpcellrenderertoggle.c \
|
|
gimpcellrenderertoggle.h \
|
|
gimpcellrendererviewable.c \
|
|
gimpcellrendererviewable.h \
|
|
gimpchanneltreeview.c \
|
|
gimpchanneltreeview.h \
|
|
gimpcoloreditor.c \
|
|
gimpcoloreditor.h \
|
|
gimpcolormapeditor.c \
|
|
gimpcolormapeditor.h \
|
|
gimpcolorpanel.c \
|
|
gimpcolorpanel.h \
|
|
gimpcomponenteditor.c \
|
|
gimpcomponenteditor.h \
|
|
gimpcontainereditor.c \
|
|
gimpcontainereditor.h \
|
|
gimpcontainergridview.c \
|
|
gimpcontainergridview.h \
|
|
gimpcontainermenu.c \
|
|
gimpcontainermenu.h \
|
|
gimpcontainermenuimpl.c \
|
|
gimpcontainermenuimpl.h \
|
|
gimpcontainerpopup.c \
|
|
gimpcontainerpopup.h \
|
|
gimpcontainertreeview.c \
|
|
gimpcontainertreeview.h \
|
|
gimpcontainertreeview-dnd.c \
|
|
gimpcontainertreeview-dnd.h \
|
|
gimpcontainerview.c \
|
|
gimpcontainerview.h \
|
|
gimpcontainerview-utils.c \
|
|
gimpcontainerview-utils.h \
|
|
gimpcursor.c \
|
|
gimpcursor.h \
|
|
gimpdataeditor.c \
|
|
gimpdataeditor.h \
|
|
gimpdatafactoryview.c \
|
|
gimpdatafactoryview.h \
|
|
gimpdeviceinfo.c \
|
|
gimpdeviceinfo.h \
|
|
gimpdevices.c \
|
|
gimpdevices.h \
|
|
gimpdevicestatus.c \
|
|
gimpdevicestatus.h \
|
|
gimpdialogfactory.c \
|
|
gimpdialogfactory.h \
|
|
gimpdnd.c \
|
|
gimpdnd.h \
|
|
gimpdock.c \
|
|
gimpdock.h \
|
|
gimpdockable.c \
|
|
gimpdockable.h \
|
|
gimpdockbook.c \
|
|
gimpdockbook.h \
|
|
gimpdocumentview.c \
|
|
gimpdocumentview.h \
|
|
gimpdrawabletreeview.c \
|
|
gimpdrawabletreeview.h \
|
|
gimpeditor.c \
|
|
gimpeditor.h \
|
|
gimpenummenu.c \
|
|
gimpenummenu.h \
|
|
gimperrorconsole.c \
|
|
gimperrorconsole.h \
|
|
gimpfontselection.c \
|
|
gimpfontselection.h \
|
|
gimpfontselection-dialog.c \
|
|
gimpfontselection-dialog.h \
|
|
gimpgradienteditor.c \
|
|
gimpgradienteditor.h \
|
|
gimphelp.c \
|
|
gimphelp.h \
|
|
gimphelp-ids.h \
|
|
gimphistogrambox.c \
|
|
gimphistogrambox.h \
|
|
gimphistogramview.c \
|
|
gimphistogramview.h \
|
|
gimpimagedock.c \
|
|
gimpimagedock.h \
|
|
gimpimageeditor.c \
|
|
gimpimageeditor.h \
|
|
gimpimageview.c \
|
|
gimpimageview.h \
|
|
gimpitemfactory.c \
|
|
gimpitemfactory.h \
|
|
gimpitemtreeview.c \
|
|
gimpitemtreeview.h \
|
|
gimplayertreeview.c \
|
|
gimplayertreeview.h \
|
|
gimpmenufactory.c \
|
|
gimpmenufactory.h \
|
|
gimpmenuitem.c \
|
|
gimpmenuitem.h \
|
|
gimpnavigationpreview.c \
|
|
gimpnavigationpreview.h \
|
|
gimppaletteeditor.c \
|
|
gimppaletteeditor.h \
|
|
gimppreview.c \
|
|
gimppreview.h \
|
|
gimppreview-popup.c \
|
|
gimppreview-popup.h \
|
|
gimppreviewrenderer.c \
|
|
gimppreviewrenderer.h \
|
|
gimppreviewrenderer-utils.c \
|
|
gimppreviewrenderer-utils.h \
|
|
gimppreviewrendererbrush.c \
|
|
gimppreviewrendererbrush.h \
|
|
gimppreviewrendererdrawable.c \
|
|
gimppreviewrendererdrawable.h \
|
|
gimppreviewrenderergradient.c \
|
|
gimppreviewrenderergradient.h \
|
|
gimppreviewrendererimage.c \
|
|
gimppreviewrendererimage.h \
|
|
gimppreviewrenderertextlayer.c \
|
|
gimppreviewrenderertextlayer.h \
|
|
gimppropwidgets.c \
|
|
gimppropwidgets.h \
|
|
gimpselectioneditor.c \
|
|
gimpselectioneditor.h \
|
|
gimptemplateeditor.c \
|
|
gimptemplateeditor.h \
|
|
gimptemplateview.c \
|
|
gimptemplateview.h \
|
|
gimptexteditor.c \
|
|
gimptexteditor.h \
|
|
gimptoolbox.c \
|
|
gimptoolbox.h \
|
|
gimptoolbox-color-area.c \
|
|
gimptoolbox-color-area.h \
|
|
gimptoolbox-dnd.c \
|
|
gimptoolbox-dnd.h \
|
|
gimptoolbox-indicator-area.c \
|
|
gimptoolbox-indicator-area.h \
|
|
gimpundoeditor.c \
|
|
gimpundoeditor.h \
|
|
gimpvectorstreeview.c \
|
|
gimpvectorstreeview.h \
|
|
gimpviewablebutton.c \
|
|
gimpviewablebutton.h \
|
|
gimpviewabledialog.c \
|
|
gimpviewabledialog.h \
|
|
gimpwidgets-constructors.c \
|
|
gimpwidgets-constructors.h \
|
|
gimpwidgets-utils.c \
|
|
gimpwidgets-utils.h \
|
|
gtkwrapbox.c \
|
|
gtkwrapbox.h \
|
|
gtkhwrapbox.c \
|
|
gtkhwrapbox.h \
|
|
gtkvwrapbox.c \
|
|
gtkvwrapbox.h
|
|
|
|
libappwidgets_a_built_sources = widgets-enums.c
|
|
|
|
libappwidgets_a_SOURCES = \
|
|
$(libappwidgets_a_built_sources) $(libappwidgets_a_sources)
|
|
|
|
#
|
|
# rules to generate built sources
|
|
#
|
|
# setup autogeneration dependencies
|
|
gen_sources = xgen-wec
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
$(srcdir)/widgets-enums.c: $(srcdir)/widgets-enums.h $(GIMP_MKENUMS)
|
|
$(GIMP_MKENUMS) \
|
|
--fhead "#include \"config.h\"\n#include <gtk/gtk.h>\n#include \"widgets-enums.h\"\n#include \"gimp-intl.h\"" \
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
|
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
|
|
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
|
|
--vtail " { 0, NULL, NULL }\n};\n\nGType\n@enum_name@_get_type (void)\n{\n static GType enum_type = 0;\n\n if (!enum_type)\n enum_type = g_enum_register_static (\"@EnumName@\", @enum_name@_enum_values);\n\n return enum_type;\n}\n" \
|
|
$(srcdir)/widgets-enums.h > xgen-wec \
|
|
&& cp xgen-wec $(@F) \
|
|
&& rm -f xgen-wec
|