Commit Graph

461 Commits

Author SHA1 Message Date
Sven Neumann dcf50dc2a9 Replaced the histogram tool by a histogram dialog:
2003-11-01  Sven Neumann  <sven@gimp.org>

	Replaced the histogram tool by a histogram dialog:

	* themes/Default/images/Makefile.am
	* themes/Default/images/tools/stock-tool-histogram-[16|22].png:
	removed here ...

	* themes/Default/images/stock-histogram-[16|22].png: ,,, and added
	under these new names.

	* libgimpwidgets/gimpstock.[ch]: register the icons as
	GIMP_STOCK_HISTOGRAM and removed the histogram tool stock icons.

	* app/base/gimphistogram.c: don't crash when uncalculated values
	are requested from a GimpHistogram. Allow to reset the histogram
	by calling gimp_histogram_calculate() with a NULL region.

	* app/widgets/gimphistogrambox.[ch]: renamed the GimpHistogramView
	struct member to "view".

	* app/tools/gimpthresholdtool.c: changed accordingly.

	* app/widgets/gimphistogramview.[ch] (gimp_histogram_view_events):
	return TRUE when events were handled.

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c
	* app/tools/gimphistogramtool.[ch]: removed the histogram tool.

	* app/widgets/Makefile.am
	* app/widgets/gimphelp-ids.h
	* app/widgets/widgets-types.h
	* app/widgets/gimphistogrameditor.[ch]: added GimpHistogramEditor.
	Has some rough edges still...

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c
	* app/gui/image-menu.c: register the new dialog instead of the
	histogram tool.
2003-11-01 02:39:34 +00:00
Michael Natterer cbc503c1fb moved all signal emissions to their resp update() functions (e.g.
2003-10-30  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpsizeentry.c: moved all signal emissions to
	their resp update() functions (e.g. "value_changed" is emitted
	from gimp_size_entry_value_update() now). Should fix all bugs ;)
	for the cost of a few extra signal emissions. We definitely
	emitted too few signals before so it's at least less broken.
	Removed "gboolean value_boundaries" stuff because this fix should
	always update the reference values correctly now.
2003-10-30 20:58:37 +00:00
Sven Neumann c590c6aa15 app/display/gimpdisplayshell-callbacks.c
2003-10-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimphistogramview.c
	* app/widgets/gimpnavigationpreview.c
	* libgimpwidgets/gimpcolorselect.c
	* libgimpwidgets/gimpoffsetarea.c
	* libgimpwidgets/gimppickbutton.c: use multihead safe variants of
	the unsafe functions gdk_pointer_ungrab(), gdk_keyboard_ungrab()
	and gdk_device_get_core_pointer().

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: made libgck multi-head safe.

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: changed accordingly.

	* plug-ins/common/animationplay.c
	* plug-ins/common/curve_bend.c
	* plug-ins/gfig/gfig.c
	* plug-ins/imagemap/imap_preview.c: use multihead safe GDK API.
2003-10-29 20:57:21 +00:00
Michael Natterer a8309a7d7e stop using the deprecated GtkTipsQuery widget for context help and
2003-10-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimphelpui.c: stop using the deprecated
	GtkTipsQuery widget for context help and implement the needed part
	of its functionality using a grab on a GtkInvisible. Should stop
	GIMP crashing with Gtk+ HEAD.

	* libgimpwidgets/gimphelpui.[ch] (gimp_context_help): requires
	a GtkWidget parameter now (finding the correct GdkScreen).

	* app/gui/help-commands.c (help_context_help_cmd_callback):
	changed accordingly.
2003-10-27 10:56:06 +00:00
Sven Neumann f299ada6e3 themes/Default/images/Makefile.am
2003-10-24  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-histogram-linear-16.png
	* themes/Default/images/stock-histogram-logarithmic-16.png:
	added placeholders for new icons.

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

	* app/tools/gimphistogramtool.c: made the dialog more compact by
	using a stock-box for the histogram scale.

	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
	don't invert the histogram view if the full range is selected.

	* app/widgets/gimphistogrambox.c: moved the range widgets below
	the histogram.

	* app/config/gimpconfig-params.h: added macro
	GIMP_CONFIG_INSTALL_PROP_RESOLUTION() that installs a double
	property with the suitable range.

	* app/core/gimptemplate.c
	* app/config/gimpdisplayconfig.c: use it here.
2003-10-24 06:22:53 +00:00
Sven Neumann 1d370ebe1b setup size entries in the order suggested by the GimpSizeEntry
2003-10-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c: setup size entries in the order
	suggested by the GimpSizeEntry documentation.

	* libgimpwidgets/gimpsizeentry.c: added an internal flag so the
	size entry knows if the boundaries are set on the value or on the
	reference value.  Needed to make gimp_size_entry_update_unit() do
	the right thing.
2003-10-23 17:35:18 +00:00
Sven Neumann e2f2e1d0a5 take the boundaries from the GParamSpec instead of hardcoding them. Added
2003-10-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.[ch] (gimp_prop_size_entry_new): take
	the boundaries from the GParamSpec instead of hardcoding them.
	Added a utility function to reduce code duplication.
2003-10-23 16:58:16 +00:00
Sven Neumann 03b90ade98 themes/Default/images/Makefile.am
2003-10-23  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-tools-[16|24].png
	* themes/Default/images/stock-device-status-24.png
	* themes/Default/images/stock-tool-options-24.png: new icons drawn
	by Jimmac.

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

	* app/gui/dialogs-constructors.c
	* app/gui/dialogs-menu.c: use the new GIMP_STOCK_TOOLS icon.

	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: add the Tools dialog entry here as well.

	* app/widgets/gimphelp-ids: s/TOOL_DIALOG/TOOLS_DIALOG/.
2003-10-23 13:04:44 +00:00
Sven Neumann 28e1ecebfc attach the first radio button as object data to the returned frame.
2003-10-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c (gimp_prop_enum_radio_frame_new)
	(gimp_prop_boolean_radio_frame_new): attach the first radio button
	as object data to the returned frame.

	* app/tools/gimpmoveoptions.c: change labels and sensitivity of
	the Tool Toggle frame depending on the selected move-type.

	* app/tools/gimpcropoptions.c: use the term "Active Layer" instead
	of "Current Layer". Please object if you dislike this change.
2003-10-19 15:38:10 +00:00
Sven Neumann 1e0816fa93 minor cleanup.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.c (gimp_config_diff_internal): minor
	cleanup.

	* app/core/gimptemplate.[ch]: added a comment property.

	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h: removed "default_comment" property
	and set the default comment on the default image template.

	* app/widgets/gimptemplateeditor.c: added a comment editor widget.

	* app/core/gimp.c
	* app/gui/file-new-dialog.c
	* app/gui/preferences-dialog.c
	* app/pdb/gimprc_cmds.c
	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.

	* libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_init):
	increased spacing between the spinbutton and the menu.
2003-10-15 15:30:11 +00:00
Sven Neumann d86e56e4d7 added new function gimp_size_entry_get_help_widget() to make it possible
2003-10-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch]: added new function
	gimp_size_entry_get_help_widget() to make it possible to set
	tooltips on a GimpSizeEntry.
2003-10-15 11:57:36 +00:00
Sven Neumann 2806c6b2d5 added new function gimp_size_entry_get_help_widget() to make it possible
2003-10-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch]: added new function
	gimp_size_entry_get_help_widget() to make it possible to set
	tooltips on a GimpSizeEntry.

	* app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new)
	(gimp_prop_coordinates_connect): set tooltips from property blurbs.

	* app/core/gimpgrid.c
	* app/core/gimptemplate.c
	* app/gui/preferences-dialog.c: minor string changes.
2003-10-15 11:04:31 +00:00
Tor Lillqvist 0cda2cd33f New file, shell script used to build zipfiles for distribution of Windows
2003-10-09  Tor Lillqvist  <tml@iki.fi>

	* gimp-zip.in: New file, shell script used to build zipfiles for
	distribution of Windows runtime and developer packages.

	* Makefile.am
	* configure.in: Add it, expand it.

	* libgimp*/Makefile.am: On Windows, install and uninstall the .def
	files.

	* app/config/gimpguiconfig.c: On Windows, don't use the internal
	help browser by default, as it isn't there. Don't use a fixed
	guess for Internet Explorer's path on Windows. We don't even need
	to know the path to the web browser, we can use ShellExecute() in
	the webbrowser plug-in.

	* plug-ins/common/webbrowser.c: Use ShellExecute() on Windows.

	* po*/makefile.cygwin: Remove, unmaintained.
2003-10-09 21:33:27 +00:00
Sven Neumann 9042907762 added new symbols.
2003-10-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.def: added new symbols.
2003-10-01 20:49:09 +00:00
Sven Neumann ef94033e26 renamed gimp_prop_size_entry_connect() to gimp_prop_coordinates_connect().
2003-10-01  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.[ch]: renamed
	gimp_prop_size_entry_connect() to gimp_prop_coordinates_connect().
	Added a new property widget that is a single GimpSizeEntry and is
	connected to size and unit properties.

	* app/widgets/gimptemplateeditor.c: changed accordingly.

	* app/widgets/gimpstrokeeditor.c: added a "resolution" property
	and use the new property widget.

	* app/gui/stroke-dialog.c: pass the image resolution to
	gimp_stroke_editor_new().
2003-10-01 19:55:13 +00:00
Sven Neumann 6552547760 emit "value_changed" again.
2003-10-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.c (gimp_size_entry_update_unit):
	emit "value_changed" again.
2003-10-01 00:05:18 +00:00
Sven Neumann 2f855afa6a added an API to allow for sub-pixel sizes in spinbuttons connected to a
2003-10-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpunitmenu.[ch]:
	* libgimpwidgets/gimpwidgets.c: added an API to allow for
	sub-pixel sizes in spinbuttons connected to a GimpUnitMenu.
	Make GimpUnitMenu emit "unit-changed" when the unit is changed
	programmatically.

	* libgimpwidgets/gimpsizeentry.[ch}: added a similar API here.
	Make GimpSizeEntry emit "unit-changed" when the unit is changed
	programmatically. The other signals will need similar changes.

	* plug-ins/common/gauss_rle.c
	* plug-ins/common/gauss_iir.c
	* app/widgets/gimpstrokeeditor.c: use the new API.
2003-09-30 23:19:48 +00:00
Sven Neumann fcb29af719 themes/Default/images/Makefile.am
2003-09-27  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-cap-[butt|round|square]-16.png
	* themes/Default/images/stock-join-[miter|round|bevel]-16.png:
	added placeholders for GimpCapStyle and GimpJoinStyle icons.

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

	* app/widgets/gimpstrokeeditor.c: made "options" a construct-only
	property of the editor and create the widgets in a constructor
	method. Use stock boxes with the new icons.

	* app/gui/stroke-dialog.c (stroke_dialog_new): let the Cancel
	button destroy the dialog instead of itself.
2003-09-27 19:05:13 +00:00
Sven Neumann 67f97bbb6e use a hbox instead of an alignment.
2003-09-24  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned): use a
	hbox instead of an alignment.
2003-09-24 13:23:20 +00:00
Sven Neumann 9407b3bc42 fixed rendering for RTL layout.
2003-09-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpchainbutton.c (gimp_chain_button_draw_lines):
	fixed rendering for RTL layout.
2003-09-23 17:01:38 +00:00
Sven Neumann dab5b6e6db themes/Default/images/Makefile.am removed...
2003-09-23  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-menu-12.png: removed...

	* themes/Default/images/stock-menu-left-12.png
	* themes/Default/images/stock-menu-right-12.png: and added again
	together with a flipped version.

	* libgimpwidgets/gimpstock.[ch]: register GIMP_STOCK_MENU_LEFT and
	GIMP_STOCK_MENU_RIGHT instead of GIMP_STOCK_MENU and swap the
	images for RTL layout.

	* app/widgets/gimpdockable.c: use GIMP_STOCK_MENU_LEFT here.

	* app/display/gimpdisplayshell.c: replaced the arrow in the
	display origin with the GIMP_STOCK_MENU_RIGHT icon.
2003-09-23 12:30:53 +00:00
Michael Natterer 47b1e3eef8 added a title bar showing the dockable's name, a "close" and a "menu"
2003-09-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.[ch]: added a title bar showing the
	dockable's name, a "close" and a "menu" button. Not quite
	finished, but almost...

	* app/gui/dialogs-constructors.c: changed accordingly.

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-close-12.png
	* themes/Default/images/stock-menu-12.png: new icons for the above.

	* libgimpwidgets/gimpstock.[ch]: register them.

	* themes/Default/gtkrc: remove any focus spacing from the
	dockables' new buttons since they can't get the focus anyway.
2003-09-21 19:35:54 +00:00
Sven Neumann 3ec2fc50ae libgimp/gimp.def libgimpmath/gimpmath.def used nm to regenerate these
2003-09-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def
	* libgimpmath/gimpmath.def
	* libgimpwidgets/gimpwidgets.def: used nm to regenerate these
	files from libraries built on Linux. There were quite some symbols
	missing.
2003-09-13 00:13:06 +00:00
Sven Neumann 4aabfe7b34 themes/Default/images/Makefile.am new icon.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-transparency-[16|24].png: new icon.

	* libgimpwidgets/gimpstock.[ch]: register as GIMP_STOCK_TRANSPARENCY.

	* app/gui/image-menu.c
	* app/gui/layers-menu.c: use the new icon for "Add Alpha Channel".

	* app/widgets/gimplayertreeview.c: replaced the "Keep Trans."
	button with a check button plus the new icon (bug #121784).
2003-09-11 18:48:00 +00:00
Sven Neumann 11b083d9b3 themes/Default/images/Makefile.am new icon drawn by Jimmac.
2003-09-06  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-floating-selection-*.png: new icon
	drawn by Jimmac.

	* libgimpwidgets/gimpstock.[ch]: register the new icon.
2003-09-06 20:47:08 +00:00
Sven Neumann 8e38f70b96 free the memory allocated for the GimpLut structure. Removed trailing
2003-09-05  Sven Neumann  <sven@gimp.org>

	* app/base/gimplut.[ch] (gimp_lut_free): free the memory allocated
	for the GimpLut structure. Removed trailing whitespace.

	* app/core/gimpbuffer.c: cosmetics.

	* app/core/gimpedit.[ch]: let gimp_edit_cut() and gimp_edit_copy()
	return a pointer to the global cut buffer instead of creating a
	GimpBuffer which was leaked by most callers.

	* app/gui/edit-commands.c: changed accordingly.

	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
	removed a superfluous g_strdup(); made GimpQueryStringCallback take
	a const gchar* pointer.

	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/palettes-commands.c: changed accordingly.
2003-09-05 01:40:29 +00:00
Tor Lillqvist cd31cdd7eb Update.
2003-09-01  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Update.

	* app/composite/gimp-composite-mmx.c: For some reason the gcc&gas
	combination used on Win32 wants identifiers prefixed with
	underscores in the asm sequences.

	* plug-ins/common/ps.c (ps_open): [Win32] Don't write the gs
	executable name into the indirect command line file. Do write the
	quoted form of the filename to it.
	(my_shell_quote): New funcion. Use instead of g_shell_quote() on
	Windows, as g_shell_quote() always uses single quotes, which don't
	mean anything to the Windows shell (or C runtime startup
	code). (This might be argued to be a bug in GLib, maybe
	g_shell_quote should behave differently accoring to platform.)

	* etc/gimprc.win32: Remove, generate with gimpconfig-dump.

	* */makefile.mingw.in: Remove, unmaintained.
2003-09-01 00:13:08 +00:00
Michael Natterer ba70ce9a10 changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const
2003-08-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgetstypes.h: changed GimpHelpFunc typedef:
	- renamed "const gchar *help_data" to "const gchar *help_id".
	- added "gpointer help_data".

	* libgimpwidgets/gimphelpui.[ch]: added "gpointer help_data" to
	gimp_help_connect(). Removed all fiddling with html links and
	treat all help IDs as opaque identifiers.

	* app/core/gimptoolinfo.[ch]: changed "help_data" member to
	"help_id".

	* app/widgets/gimpitemfactory.[ch]: removed the "help_path"
	parameter from gimp_item_factory_new() since we don't fiddle with
	html file paths any more. Simplifies menu item help a lot.
	Renamed "help_data" member of struct GimpItemFactoryEntry to
	"help_id".

	* app/gui/plug-in-menus.c: changed accordingly. 3rd party
	plug-ins' menu item help IDs are now encoded as
	"help_path:help_id".

	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c: when constructing the <Load> and
	<Save> menus, take the resp. procedures' locale_domain and
	help_path into account. Fixes translation of 3rd party menu items.
	Also do the right thing for load/save procs which are implemented
	as temporary procedures (they are impossible to implement
	currently but it's nice to do the right thing anyway...).

	* app/widgets/gimphelp-ids.h: added GIMP_HELP_MAIN identifier.

	* libgimpwidgets/gimpdialog.[ch]
	* libgimpwidgets/gimpwidgets.[ch]
	* libgimp/gimpui.c
	* app/display/gimpdisplayshell.c
	* app/gui/gui.c
	* app/gui/about-dialog.c
	* app/gui/color-notebook.c
	* app/gui/dialogs-constructors.c
	* app/gui/file-dialog-utils.[ch]
	* app/gui/gradients-commands.c
	* app/gui/help-commands.c
	* app/gui/image-menu.c
	* app/gui/menus.c
	* app/gui/preferences-dialog.c
	* app/gui/tips-dialog.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimphelp.[ch]
	* app/widgets/gimpmenufactory.[ch]
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpviewabledialog.[ch]
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_main.c: changed accordingly. Removed
	trailing whitespace all over the place.
2003-08-23 19:35:05 +00:00
Sven Neumann cf845be8f5 libgimpwidgets/libgimpwidgets-sections.txt updated for path tool icon
2003-08-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: updated for path tool icon
	change.
2003-08-21 14:58:22 +00:00
Sven Neumann 1f39a82962 themes/Default/images/Makefile.am
2003-08-19  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-indexed-palette-[16|24].png
	* themes/Default/images/stock-undo-history-[16|24].png: added new
	icons drawn by Jimmac.

	* libgimpwidgets/gimpstock.[ch]
	* app/gui/dialogs-constructors.c
	* app/gui/dialogs-menu.c
	* app/gui/image-menu.c: register and use them.
2003-08-19 17:08:06 +00:00
Sven Neumann 180aacb96b fixed color picking from other screens.
2003-08-19  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppickbutton.c: fixed color picking from other
	screens.
2003-08-18 23:21:44 +00:00
Michael Natterer 790491e50f moved the g_signal_stop_emission_by_name() right before the calls to
2003-08-16  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_coordinates_callback): moved
	the g_signal_stop_emission_by_name() right before the calls to
	gimp_size_entry_set_refval() so we only block the duplicate
	"value_changed" signal, not all of them. Fixes bug #107633.
2003-08-16 19:46:59 +00:00
Sven Neumann 50e92f83db added blurbs for the style properties. These show up as descriptions in
2003-07-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolornotebook.c (gimp_color_notebook_class_init):
	added blurbs for the style properties. These show up as descriptions
	in the generated documentation.

	* devel-docs/libgimpwidgets/libgimpwidgets-docs.sgml: added object
	hierarchy, moved some chapters a level up and made them a part.

	* devel-docs/libgimpwidgets/tmpl/gimpcolorarea.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolornotebook.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolorscale.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolorselector.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpoffsetarea.sgml: added short
	descriptions.
2003-07-25 12:48:06 +00:00
Michael Natterer 5acf3f0cd3 added style properties "tab_border" and "tab_icon_size" just as they exist
2003-07-19  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolornotebook.c: added style properties
	"tab_border" and "tab_icon_size" just as they exist for
	GimpDockbook. Factored page creation out to the new
	gimp_color_notebook_add_page() utility function.  Added fancy menu
	items for the popup menu and translate them.

	* etc/gtkrc_user
	* themes/Default/gtkrc: use the same tab style for GimpDockbooks
	and GimpColorNotebooks.
2003-07-19 11:30:10 +00:00
Sven Neumann 30c946afb1 save some space by showing the stock_id instead of the colorselector's
2003-07-19  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolornotebook.c: save some space by showing
	the stock_id instead of the colorselector's name.

	* libgimpwidgets/gimpcolorselect.c
	* modules/colorsel_cmyk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: removed now unused mnemonics.

	* app/widgets/gimpcoloreditor.c: no need to strip mnemonics from
	the name here any longer.
2003-07-19 01:43:51 +00:00
Michael Natterer 486aed8e0d added "gboolean allow_percent" to gimp_param_spec_unit() and to the
2003-07-17  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-params.[ch]: added "gboolean allow_percent"
	to gimp_param_spec_unit() and to the GIMP_CONFIG_INSTALL_PROP_UNIT()
	macro. Changed value validation accordingly.

	* app/config/gimpconfig-types.c (string_to_unit): parse "percent"
	correctly.

	* app/widgets/gimppropwidgets.c (gimp_prop_unit_menu_new): show
	the "Percent" menu entry if the param_spec allows percent.

	* app/config/gimpcoreconfig.c
	* app/core/gimpgrid.c
	* app/core/gimptemplate.c
	* app/text/gimptext.c: pass FALSE to disallow percent.

	* app/paint/gimppaintoptions.c
	* app/tools/gimpselectionoptions.c: pass TRUE. Brings back the
	percent feature for fade_length, gradient_length and fixed_size
	rect/ellipse select.

	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpmagnifyoptions.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimptransformoptions.c: don't call the the reset()
	functions from the GUI constructors (and reset the options just
	deserialized from disk). Instead, added set_defaults() functions
	which do everything the old reset() functions did (except
	upchaining) and call set_defaults() from reset() and from the GUI
	constructors.
2003-07-17 15:22:21 +00:00
Michael Natterer 878ee7b03e app/gui/Makefile.am removed...
2003-07-07  Michael Natterer  <mitch@gimp.org>

	* app/gui/Makefile.am
	* app/gui/device-status-dialog.[ch]: removed...

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpdevicestatus.[ch]: ...added here as widget. The
	thing is narrower now but not nicer and needs some polishing.

	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_color_area_new()
	and gimp_prop_stock_image_new() (the latter is still unused).

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c: made the device status a dockable.

	* app/gui/dialogs-menu.c
	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: changed accordingly.

	* app/gui/gui.c: update the device status dialog indirectly now
	using the new gui_device_change_notify() callback.
2003-07-07 13:37:19 +00:00
Sven Neumann aa4448db64 app/gui/info-window.c libgimpcolor/gimpcolorspace.c libgimpcolor/gimprgb.c
2003-06-13  Sven Neumann  <sven@gimp.org>

	* app/gui/info-window.c
	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimprgb.c
	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: use ROUND() where appropriate.

	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_render): use
	gimp_rgb_get_uchar().
2003-06-13 16:44:21 +00:00
Sven Neumann 08879c9f90 app/gui/info-window.c libgimpwidgets/gimpcolorscales.c applied some
2003-06-11  Sven Neumann  <sven@gimp.org>

	* app/gui/info-window.c
	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: applied some slightly modified
	patches from Michael Bushey that fix rounding errors when
	converting between color values in gdouble and guchar
	representation (bug #109241).

	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimprgb.c: similar fixes here.
2003-06-11 15:55:48 +00:00
Sven Neumann 77269e80cf handle all mouse buttons equally, cleaned up code, fixed return values
2003-06-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: handle all mouse buttons
	equally, cleaned up code, fixed return values from event handlers.
2003-06-11 13:59:42 +00:00
Michael Natterer 5abd43b81e added a default spacing of two pixels between the entry end the menu.
2003-06-06  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpmemsizeentry.c: added a default spacing of
	two pixels between the entry end the menu. Random cleanups.
2003-06-06 18:22:46 +00:00
Michael Natterer 15b9be6a2c added enum GimpTransformType which can be one of { LAYER, SELECTION, PATH
2003-05-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/tools-enums.[ch]: added enum GimpTransformType which
	can be one of { LAYER, SELECTION, PATH }

	* app/tools/gimptransformoptions.[ch]: added a GimpTransformType
	property to GimpTransformOptions. Added a GUI for the new
	option.

	* app/tools/gimpflipoptions.[ch]: derive it from
	GimpTransformOptions and add the GUI here, too.

	* app/tools/gimpfliptool.c
	* app/tools/gimptransformtool.[ch]: added support for transforming
	the selection. Added framework for transforming paths (still
	unimplemented).

	* app/tools/gimpselectionoptions.c: small cleanup.

	* libgimpwidgets/gimpstock.[ch]
	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-path-16.png
	* themes/Default/images/stock-path-22.png
	* themes/Default/images/stock-selection-16.png: new icons for the
	new transform options buttons. Simply copied existing ones...
2003-05-30 23:52:24 +00:00
Tor Lillqvist 31e12a213b As gimp uses fontconfig directly, check for it.
2003-05-30  Tor Lillqvist  <tml@iki.fi>

	* configure.in: As gimp uses fontconfig directly, check for it.

	* app/Makefile.am: And link with it.

	* app/gimp.sym: Remove dead symbols.

	* libgimp/gimp.def
	* libgimpwidgets/gimpwidgets.def: Move gimp_standard_help_func.

	* plug-ins/xjt/xjt.c: Use _mkdir() on Win32.
2003-05-30 22:59:29 +00:00
Michael Natterer ac2b6c8702 changed again to take no paramaters and use _gimp_standard_help_func from
2003-05-25  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimphelpui.[ch] (_gimp_help_init): changed again
	to take no paramaters and use _gimp_standard_help_func from
	gimpwidgets-private.

	* libgimpwidgets/gimpwidgets-private.[ch]: removed the palette
	functions from GimpWidgetVTable. Instead, pass them as
	GimpGetColorFunc to gimp_widgets_init() and make them available as
	_gimp_get_foreground_func and _gimp_get_background_func.

	* libgimpwidgets/gimpcolorbutton.c
	* libgimp/gimpui.c: changed accordingly.

	* app/libgimp_glue.[ch]: removed the palette functions.

	* app/gui/gui.c: added gui_get_foreground_func() and
	gui_get_background_func() and pass them to gimp_widgets_init().
2003-05-25 14:23:43 +00:00
Michael Natterer 253ed7092b added a GimpHelpFunc parameter to _gimp_help_init(). Implement
2003-05-25  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimphelpui.[ch]: added a GimpHelpFunc parameter to
	_gimp_help_init(). Implement gimp_standard_help_func() here and
	use the function pointer passed to _gimp_help_init().

	* libgimpwidgets/gimpwidgets-private.[ch]: removed
	standard_help_func from GimpWidgetsVTable. Require it as paramater
	to gimp_widgets_init() and pass it to _gimp_help_init().

	* libgimpwidgets/gimpunitmenu.c: use gimp_standard_help_func
	directly again.

	* app/libgimp_glue.[ch]: removed gimp_standard_help_func().

	* libgimp/Makefile.am
	* libgimp/gimphelp.c: removed this file (containing
	gimp_standard_help_func()).

	* app/gui/gui.c: added private gimp_help_func() and pass it to
	gimp_widgets_init().

	* libgimp/gimpui.c: added private gimp_ui_help_func() and pass it
	to gimp_widgets_init().
2003-05-25 12:13:57 +00:00
Hans Breuer 89bfbdf66d updated win32 (msvc) build
2003-05-24  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc **/*.def : updated win32 (msvc) build

	* plug-ins/twain/twain.c plug-ins/winsnap/winsnap.c :
	add the extra parameter to gimp_main() calls
2003-05-24 17:00:03 +00:00
Sven Neumann 62dffea661 libgimpwidgets/Makefile.am new files. Moved gimp_widgets_init() here and
2003-05-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets-private.[ch]: new files. Moved
	gimp_widgets_init() here and added a vtable parameter. The vtable
	has entries for all the symbols that are either provided by libgimp
	or gimp itself depending on who is using the library.

	* libgimpwidgets/libgimp-glue.c: removed this file that uses to
	provide a Win32 only hack that is now not needed any longer.

	* libgimpwidgets/gimpcolorbutton.c
	* libgimpwidgets/gimphelpui.c
	* libgimpwidgets/gimpsizeentry.c
	* libgimpwidgets/gimpunitmenu.c
	* libgimpwidgets/gimpwidgets.[ch]: don't call the offending
	functions directly, but use the vtable entries. This is ugly but
	the ugliness is restricted to our code. There are plans to clean
	this up further... (Fixes #113410 once more.)

	* app/gui/gui.c (gui_libs_init)
	* libgimp/gimpui.c (gimp_ui_init): initialize libgimpwidgets with
	the proper vtable.
2003-05-23 18:27:05 +00:00
Michael Natterer a2f7750d85 Always provide interlibrary dependencies, not just on Win32.
2003-05-23  Michael Natterer  <mitch@gimp.org>

	* modules/Makefile.am: Always provide interlibrary
	dependencies, not just on Win32.

	* Makefile.am
	* app/Makefile.am
	* app/config/Makefile.am
	* data/misc/Makefile.am
	* docs/Makefile.am
	* libgimp/Makefile.am
	* libgimpbase/Makefile.am
	* libgimpcolor/Makefile.am
	* libgimpmath/Makefile.am
	* libgimpmodule/Makefile.am
	* libgimpwidgets/Makefile.am
	* tools/Makefile.am: replaced many hardcoded "1.3" strings by
	$(LT_RELEASE). Hopefully didn't break the Win32 build...
2003-05-23 17:28:07 +00:00
Manish Singh eceff7bcb0 libgimp/Makefile.am Always provide interlibrary dependencies, not just on
2003-05-21  Manish Singh  <yosh@gimp.org>

        * libgimp/Makefile.am
        * libgimpwidgets/Makefile.am: Always provide interlibrary
        dependencies, not just on Win32. Fixes bug #113410.
2003-05-21 21:22:22 +00:00
Michael Natterer 49b851780e fixed to work like gimp_hls_to_rgb_int() (does the right thing now for the
2003-05-19  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimpcolorspace.c (gimp_hsl_to_rgb): fixed to work
	like gimp_hls_to_rgb_int() (does the right thing now for the
	saturation == 0 case). Some minor cleanups.

	Implemented "Colorize" as suggested in bug #20509. It's not a
	toggle in the "Hue/Saturation" tool dialog (which would be a gross
	hack IMHO) but a separate tool. Fixes bug #20509.

	* app/base/Makefile.am
	* app/base/base-types.h
	* app/base/colorize.[ch]: the actual mapping function lives
	here. Its algorithm was taken from the "colorify" plug-in.

	* app/tools/Makefile.am
	* app/tools/gimpcolorizetool.[ch]: the tool.

	* app/tools/tools.c: register it.

	* app/gui/dialogs.c: session-manage its dialog.

	* libgimpwidgets/gimpstock.[ch]
	* themes/Default/images/Makefile.am
	* themes/Default/images/tools/stock-tool-colorize-16.png
	* themes/Default/images/tools/stock-tool-colorize-22.png: new
	icons from Jimmac.

	Unrelated:

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c: don't #include "tool_manager.h"
2003-05-19 14:21:03 +00:00