1. 26 May, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimppaletteeditor.[ch] app/gui/palette-editor-commands.[ch] · 4c070aff
      Michael Natterer authored
      2003-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/gui/palette-editor-commands.[ch]
      	* app/gui/palette-editor-menu.c: started to clean up the palette
      	editor: added buttons for all menu items and menu items for all
      	buttons. Improved selected palette entry handling. Moved all code
      	to gimppaletteeditor.c and call it from the menu callbacks.  Lots
      	of cleanup (unfinished).
      4c070aff
  2. 25 May, 2003 8 commits
    • Pedro Gimeno's avatar
      Fix off-by-one when dragging the selection. Fixes the last pending issue · 2f31d12f
      Pedro Gimeno authored
      2003-05-26  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* app/tools/gimpeditselectiontool.c (selection_transform_segs):
      	Fix off-by-one when dragging the selection. Fixes the last pending
      	issue of bug #17904. Use temporary variables for clamp values.
      
      	* app/display/gimpdisplayshell-selection.c
      	(selection_transform_segs): Perform the clamping that fixes
      	bug #110014 here instead of in the callers. Solves a rare case
      	that was not properly handled before.
      	(selection_render_points, selection_generate_segs): Remove the
      	clamping code from here.
      
      	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_rectangle): More
      	clampings to avoid overflow of 16-bit coordinates.
      2f31d12f
    • Maurits Rijk's avatar
      Fix typo in ChangeLog · f45b47f4
      Maurits Rijk authored
      f45b47f4
    • Maurits Rijk's avatar
    • Michael Natterer's avatar
      Use g_object_[set|get]_qdata(), not just _data() to speed up tool manager · dd9a0a4a
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.[ch] (tool_manager_set,get): Use
      	g_object_[set|get]_qdata(), not just _data() to speed up tool
      	manager access.
      
      	Removed tool_manager_active_get_help_data() and
      	tool_manager_help_func().
      
      	* 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: use gimp_standard_help_func and
      	tool->tool_info->help_data instead. Don't #include "tool_manager.h".
      dd9a0a4a
    • Michael Natterer's avatar
      changed again to take no paramaters and use _gimp_standard_help_func from · ac2b6c87
      Michael Natterer authored
      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().
      ac2b6c87
    • Michael Natterer's avatar
      added a GimpHelpFunc parameter to _gimp_help_init(). Implement · 253ed709
      Michael Natterer authored
      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().
      253ed709
    • Michael Natterer's avatar
      forgot some hardcoded "1.3" here. · 7860f1c7
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* data/misc/Makefile.am: forgot some hardcoded "1.3" here.
      7860f1c7
    • Michael Natterer's avatar
      removed a left over GTK_CHECK_VERSION(2,2,0). · bbd2be1c
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/uniteditor.c (unit_editor_dialog): removed a
      	left over GTK_CHECK_VERSION(2,2,0).
      bbd2be1c
  3. 24 May, 2003 1 commit
    • Hans Breuer's avatar
      updated win32 (msvc) build · 89bfbdf6
      Hans Breuer authored
      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
      89bfbdf6
  4. 23 May, 2003 12 commits
    • Manish Singh's avatar
      gimp_main now takes a GimpPlugInInfo *, and PLUG_IN_INFO is now a static · f6fb0fff
      Manish Singh authored
      2003-05-23  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimp.[ch]: gimp_main now takes a GimpPlugInInfo *,
              and PLUG_IN_INFO is now a static variable set from that. This
              removes all the special casing for the Win32 and OS/2 ports around
              this. Also added a debugging hook for quit procs.
      
              * plug-ins/common/mng.c: moved MAIN() to the end so PLUG_IN_INFO is
              declared.
      
              * plug-ins/gimpressionist/gimpressionist.c: pass &PLUG_IN_INFO
              to gimp_main.
      
              * plug-ins/pygimp/gimpmodule.c: Here too. Also add a message
              function.
      f6fb0fff
    • Sven Neumann's avatar
      fixed offset of layers and vectors after rotation (bug #113611). · 7ade1c72
      Sven Neumann authored
      2003-05-24  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate): fixed offset of
      	layers and vectors after rotation (bug #113611).
      7ade1c72
    • Michael Natterer's avatar
      always flush the displays, not only when creating a new image. · 34fb1c22
      Michael Natterer authored
      2003-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/lic.c (compute_image): always flush the
      	displays, not only when creating a new image.
      34fb1c22
    • Michael Natterer's avatar
      actually connect the "Create New Image" toggle with its value. Fixes bug · 6cd7b046
      Michael Natterer authored
      2003-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/lic.c (create_main_dialog): actually connect
      	the "Create New Image" toggle with its value. Fixes bug #113610.
      	Cleaned up a bit.
      6cd7b046
    • Sven Neumann's avatar
      fixed a typo or two · 39bff09f
      Sven Neumann authored
      39bff09f
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am new files. Moved gimp_widgets_init() here and · 62dffea6
      Sven Neumann authored
      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.
      62dffea6
    • Raphael Quinet's avatar
      added rules for rebuilding the source .c files from the .l (lex/flex) and · 31ad0513
      Raphael Quinet authored
      2003-05-23  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/imagemap/Makefile.am: added rules for rebuilding the
      	source .c files from the .l (lex/flex) and .y (yacc/bison) files.
      	Fixes a non-critical part of bug #113445.
      31ad0513
    • Michael Natterer's avatar
      Always provide interlibrary dependencies, not just on Win32. · a2f7750d
      Michael Natterer authored
      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...
      a2f7750d
    • Sven Neumann's avatar
      app/paint/gimppaintcore.c applied a patch from Henning Makholm · 83a2f498
      Sven Neumann authored
      2003-05-23  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.c
      	* app/tools/gimppainttool.c: applied a patch from Henning Makholm
      	<henning@makholm.net> that improves drawing of narrow straight lines
      	by moving the endpoints to pixel centers. Fixes bug #84145.
      83a2f498
    • Michael Natterer's avatar
      don't call gimp_dialog_factory_add_foreign() with a NULL dialog_factory. · 0fc53e0f
      Michael Natterer authored
      2003-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.c (color_notebook_new_internal): don't
      	call gimp_dialog_factory_add_foreign() with a NULL dialog_factory.
      
      	* app/widgets/gimpcolorpanel.c: removed the color_notebook_active
      	boolean state and *always* call color_notebook_show() when the
      	user clicks the button. This way the notebook is automatically
      	deiconified or risen.
      0fc53e0f
    • Sven Neumann's avatar
      docs/keybindings.txt changed the default shortcut for "Zoom In" to '+'. · 3dffa4fb
      Sven Neumann authored
      2003-05-23  Sven Neumann  <sven@gimp.org>
      
      	* docs/keybindings.txt
      	* app/gui/image-menu.c (image_menu_entries): changed the default
      	shortcut for "Zoom In" to '+'. Fixes bug #56108.
      3dffa4fb
    • Michael Natterer's avatar
      implement <shift>+click on the eye icon the same way it was in 1.2 (hide · 80db2fb4
      Michael Natterer authored
      2003-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdrawabletreeview.c
      	(gimp_drawable_tree_view_eye_clicked): implement <shift>+click on
      	the eye icon the same way it was in 1.2 (hide all other drawables
      	if any is visible, show them all otherwise). Fixes bug #113479.
      80db2fb4
  5. 22 May, 2003 4 commits
    • Michael Natterer's avatar
      app/vectors/Makefile.am new files implementing a compatibility API for · f7351b0b
      Michael Natterer authored
      2003-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/vectors/Makefile.am
      	* app/vectors/gimpvectors-compat.[ch]: new files implementing a
      	compatibility API for converting old XCF and PDB point arrays
      	to GimpVectors and vice versa.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/paths.pdb: use the new functions instead of
      	having slightly different, but equally ugly code twice.
      
      	* app/xcf/xcf-load.c: cleaned up path loading a lot. Removed the
      	path_point loading utility functions.
      
      	* app/pdb/paths_cmds.c: regenerated.
      
      	* app/Makefile.am: link vectors/libappvectors.a after
      	xcf/libappxcf.a so the compat functions (which are not needed in
      	vectors/) are found.  Also reverted an accidentially checked in
      	change to the libgimpwidgets link order.
      f7351b0b
    • Sven Neumann's avatar
      plug-ins/helpbrowser/Makefile.am plug-ins/common/mkgen.pl changed link · 5beeeeb9
      Sven Neumann authored
      2003-05-22  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/common/mkgen.pl
      	* plug-ins/common/Makefile.am: changed link order as suggested in
      	bug #111351.
      5beeeeb9
    • Manish Singh's avatar
      convert filename to a uri for find_utils_find_proc. · 99b371fc
      Manish Singh authored
      2003-05-22  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/fileops.pdb: convert filename to a uri for
              find_utils_find_proc.
      
              * app/pdb/fileops_cmds.c: regenerated
      99b371fc
    • Raphael Quinet's avatar
      added missing lex files (imap_cern.l, imap_csim.l, imap_ncsa.l) · 437c99be
      Raphael Quinet authored
      2003-05-22  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/imagemap/Makefile.am (EXTRA_DIST): added missing lex
      	files (imap_cern.l, imap_csim.l, imap_ncsa.l)
      437c99be
  6. 21 May, 2003 4 commits
    • Manish Singh's avatar
      libgimp/Makefile.am Always provide interlibrary dependencies, not just on · eceff7bc
      Manish Singh authored
      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.
      eceff7bc
    • Michael Natterer's avatar
      Removed the old paths and the remaining legacy stuff it needed. Fixes bug · 487f71ba
      Michael Natterer authored
      2003-05-21  Michael Natterer  <mitch@gimp.org>
      
      	Removed the old paths and the remaining legacy stuff it needed.
      	Fixes bug #104471.
      
      	* Makefile.am
      	* configure.in
      	* pixmaps/*: removed the pixmaps/ directory.
      
      	* app/ops_buttons.[ch]
      	* app/path.[ch]
      	* app/pathP.h
      	* app/path_transform.h
      	* app/gui/paths-dialog.[ch]
      	* app/tools/gimpbezierselecttool.[ch]: removed these files.
      
      	* app/Makefile.am
      	* app/gui/Makefile.am
      	* app/tools/Makefile.am: changed accordingly.
      
      	* app/core/core-types.h: removed the Path* types.
      
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-duplicate.c: removed gimage->paths.
      
      	* app/gui/about-dialog.c: inline wilber2_xpm for now.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/menus.c: removed the old paths dialog.
      
      	* app/gui/gui.c: removed gui_rotate_the_shield_harmonics() hack
      	which was broken anyway.
      
      	* app/tools/gimptransformtool.c: #if 0 path_transform preview stuff.
      
      	* app/tools/gimpiscissorstool.c: removed useless include.
      
      	* app/tools/tools.c: removed the bezier select tool.
      
      	* app/vectors/gimpvectors.c (gimp_vectors_real_stroke_add): use
      	g_list_append(), not g_list_prepend() so some ugly side conditions
      	of legacy path loading are honored.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: load and save only GimpVectors.
      487f71ba
    • Michael Natterer's avatar
      added GimpDrawable::alpha_changed() signal. · 31bf3c90
      Michael Natterer authored
      2003-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added GimpDrawable::alpha_changed()
      	signal.
      
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimplayer.c: emit it when alpha is removed from or
      	added to a layer.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added a
      	"name_attributes" column to the list store which provides a
      	PangoAttrList for the name column.
      
      	* app/widgets/gimplayertreeview.[ch]: connect to all layers'
      	"alpha_changed" and set the BG layer's name to bold.
      
      	* app/widgets/gimpdrawabletreeview.c: removed redundant assertions.
      31bf3c90
    • Simon Budig's avatar
      Extended to be able to handle multiple polygons in a sane way. · c6aa6a9e
      Simon Budig authored
      2003-05-21  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: Extended to be able to handle
      	multiple polygons in a sane way.
      
      	* app/core/gimpimage-mask-select.c: Use this to convert
      	multiple-stroke vectors objects to selections. Libart rocks!
      
      	* app/tools/gimpiscissorstool.c: Changed accordingly.
      c6aa6a9e
  7. 20 May, 2003 10 commits
    • Michael Natterer's avatar
      removed redundant functions gimp_rgb_to_hsv_double() and · fc6ddb05
      Michael Natterer authored
      2003-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpcolor/gimpcolorspace.[ch]: removed redundant functions
      	gimp_rgb_to_hsv_double() and gimp_hsv_to_rgb_double().
      
      	* app/core/gimpdrawable-blend.c: use gimp_rgb_to_hsv() and
      	gimp_hsv_to_rgb() instead.
      
      	* plug-ins/fp/fp.[ch]
      	* plug-ins/fp/fp_misc.c: ditto. Deuglyfied the changed functions'
      	coding style a lot.
      fc6ddb05
    • Michael Natterer's avatar
      call gimp_layer_invalidate_boundary() because the layer extents may · a1abf2c5
      Michael Natterer authored
      2003-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer_mod): call
      	gimp_layer_invalidate_boundary() because the layer extents may
      	change.
      
      	* app/core/gimpitem-linked.c: pass clip_result == TRUE when
      	rotating linked channels.
      
      	* app/core/gimpdrawable-transform.c: implement clip_result so
      	linked channels can be rotated without leaving the image in an
      	inconsistent state. Added utility function
      	gimp_drawable_transform_rotate_point().
      a1abf2c5
    • Sven Neumann's avatar
      app/display/gimpdisplayshell.[ch] removed padding_gc from the · dc0aff0c
      Sven Neumann authored
      2003-05-20  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-callbacks.c: removed padding_gc from
      	the GimpDisplayShell struct. Don't draw the padding color manually.
      
      	* app/display/gimpdisplayshell-appearance.c
      	(gimp_display_shell_set_padding): set the canvas background color
      	using gdk_window_set_background().
      dc0aff0c
    • Sven Neumann's avatar
      fixed a harmless compiler warning. · c90a88fd
      Sven Neumann authored
      2003-05-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate): fixed a harmless
      	compiler warning.
      c90a88fd
    • Michael Natterer's avatar
      don't default to clip_result == TRUE (unlike the other transform · 966fb559
      Michael Natterer authored
      2003-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.c (gimp_channel_rotate): don't default to
      	clip_result == TRUE (unlike the other transform functions).
      
      	* app/core/gimpdrawable-transform.c
      	(gimp_drawable_transform_tiles_rotate): fixed offset calculation.
      
      	* app/core/gimpimage-rotate.c: change the image size *after* all items
      	are rotated. Adjust all items' offsets after rotation. Rotate the
      	resolutions too. Seems to work now and fixes bug #6101.
      
      	* app/core/gimpimage.c (gimp_image_size_changed): emit
      	"size_changed" on all vectors.
      
      	* app/core/gimpitem-linked.[ch]: added gimp_item_linked_rotate().
      
      	* app/gui/drawable-commands.c: flip and rotate linked items too.
      
      	* app/vectors/gimpvectors.c (gimp_vectors_rotate): fixed rotation
      	angles.
      
      	Unrelated:
      
      	* app/core/gimpimage-merge.c: don't #include "path.h".
      966fb559
    • Sven Neumann's avatar
      fixed algorithm for GIMP_ROTATE_180. · a996ba39
      Sven Neumann authored
      2003-05-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-transform.c
      	(gimp_drawable_transform_tiles_rotate): fixed algorithm for
      	GIMP_ROTATE_180.
      a996ba39
    • Sven Neumann's avatar
      no need to include gimp-intl.h. · 4e335f7f
      Sven Neumann authored
      2003-05-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-flip.c: no need to include gimp-intl.h.
      
      	* app/core/gimpimage-rotate.c: change the image size if needed;
      	implemented rotation of guides.
      
      	* app/vectors/gimpvectors.c: implemented rotation of vectors.
      4e335f7f
    • Michael Natterer's avatar
      remember the guide's orientation in the guide undo. Needed for · f46c16c8
      Michael Natterer authored
      2003-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-undo-push.c: remember the guide's orientation
      	in the guide undo. Needed for gimp_image_rotate().
      f46c16c8
    • Sven Neumann's avatar
      added new enum GimpRotationType. · 1de667f0
      Sven Neumann authored
      2003-05-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: added new enum GimpRotationType.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-rotate.[ch]: new files.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.c
      	* app/vectors/gimpvectors.c: added GimpItem::rotate. Still work in
      	progress.
      
      	* plug-ins/common/rotate.c: don't install any menu entries. The
      	plug-in is only kept around to provide plug_in_rotate for backward
      	compatibility.
      
      	* app/gui/drawable-commands.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/image-menu.c: use the new rotate implementation and use
      	stock icons for the menu entries. Fixes bug #57797.
      1de667f0
    • Michael Natterer's avatar
      Some color API cleanup: · 470947f9
      Michael Natterer authored
      2003-05-20  Michael Natterer  <mitch@gimp.org>
      
      	Some color API cleanup:
      
      	* libgimpcolor/gimpcolortypes.h: added struct GimpHSL. All values
      	are doubles in a [0.0..1.0] range.
      
      	* libgimpcolor/gimpcolorspace.[ch]: changed the GimpRGB <-> HSL
      	functions to use the new struct instead of separate hue, saturation
      	and lightness doubles. Note that the hue range has changed from
      	[0.0..360.0] to [0.0..1.0].
      
      	* app/base/colorize.c (colorize_calculate)
      	* plug-ins/common/AlienMap2.c (transform): changed accordingly.
      470947f9