1. 08 Mar, 2005 2 commits
  2. 26 Feb, 2005 1 commit
    • Sven Neumann's avatar
      removed the "last_visited" field from GimpGradient. Instead added the new · 8de1e94b
      Sven Neumann authored
      2005-02-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpgradient.[ch]: removed the "last_visited" field
      	from GimpGradient. Instead added the new function
      	gimp_gradient_get_color_at_segment() that allows the caller to do
      	the same optimization.
      
      	* app/actions/gradient-editor-commands.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimppalette-import.c
      	* app/paint/gimppaintoptions.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimpviewrenderergradient.c: changed accordingly.
      
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c: regenerated.
      8de1e94b
  3. 17 Feb, 2005 1 commit
  4. 09 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpviewrendererbrush.c app/widgets/gimpviewrendererdrawable.c · fa3f37e9
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/widgets/gimpviewrendererimagefile.c
      	* app/widgets/gimpviewrendererlayer.c
      	* app/widgets/gimpviewrenderervectors.c: purely cosmetic cleanup.
      fa3f37e9
  5. 26 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreviewrenderer-utils.c · 16222432
      David Odin authored
      * app/widgets/gimppreviewrenderer-utils.c
      * app/widgets/gimppreviewrenderer-utils.h
      * app/widgets/gimppreviewrendererbrush.c
      * app/widgets/gimppreviewrendererbrush.h
      * app/widgets/gimppreviewrendererdrawable.c
      * app/widgets/gimppreviewrendererdrawable.h
      * app/widgets/gimppreviewrenderergradient.c
      * app/widgets/gimppreviewrenderergradient.h
      * app/widgets/gimppreviewrendererimage.c
      * app/widgets/gimppreviewrendererimage.h
      * app/widgets/gimppreviewrendererimagefile.c
      * app/widgets/gimppreviewrendererimagefile.h
      * app/widgets/gimppreviewrendererlayer.c
      * app/widgets/gimppreviewrendererlayer.h
      * app/widgets/gimppreviewrenderervectors.c
      * app/widgets/gimppreviewrenderervectors.h: Renamed all these files...
      
      * app/widgets/gimpviewrenderer-utils.c
      * app/widgets/gimpviewrenderer-utils.h
      * app/widgets/gimpviewrendererbrush.c
      * app/widgets/gimpviewrendererbrush.h
      * app/widgets/gimpviewrendererdrawable.c
      * app/widgets/gimpviewrendererdrawable.h
      * app/widgets/gimpviewrenderergradient.c
      * app/widgets/gimpviewrenderergradient.h
      * app/widgets/gimpviewrendererimage.c
      * app/widgets/gimpviewrendererimage.h
      * app/widgets/gimpviewrendererimagefile.c
      * app/widgets/gimpviewrendererimagefile.h
      * app/widgets/gimpviewrendererlayer.c
      * app/widgets/gimpviewrendererlayer.h
      * app/widgets/gimpviewrenderervectors.c
      * app/widgets/gimpviewrenderervectors.h: ... to these names. And also
        changed all the GimpPreviewRenderer* types to GimpViewRenderer* ones.
      
      * app/tools/gimppaintoptions-gui.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpcomponenteditor.c
      * app/widgets/gimpfiledialog.c
      * app/widgets/gimpgradienteditor.c
      * app/widgets/gimpview.c
      * app/widgets/widgets-types.h
      * app/widgets/gimpviewrenderer.c
      * app/widgets/gimpviewrenderer.h: modified accordingly.
      16222432
  6. 25 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreview-popup.c renamed these files... · e91187ae
      David Odin authored
      * app/widgets/gimppreview-popup.c
      * app/widgets/gimppreview-popup.h: renamed these files...
      
      * app/widgets/gimpview-popup.c
      * app/widgets/gimpview-popup.h: .. to these files, and changed the
        GimpPreviewPopup type to GimpViewPopup.
      
      * app/widgets/gimppreviewrenderer.c
      * app/widgets/gimppreviewrenderer.h: renamed these files...
      
      * app/widgets/gimpviewrenderer.c
      * app/widgets/gimpviewrenderer.h: .. to these files, and changed
        GimpPreviewRenderer to GimpViewRenderer.
      
      This is the second step of the great Preview->View renaming process.
      
      * app/display/gimpdisplayshell-layer-select.c
      * app/display/gimpnavigationeditor.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpbrushfactoryview.c
      * app/widgets/gimpbufferview.c
      * app/widgets/gimpcellrendererviewable.c
      * app/widgets/gimpcellrendererviewable.h
      * app/widgets/gimpcomponenteditor.c
      * app/widgets/gimpcontainerbox.c
      * app/widgets/gimpcontainercombobox.c
      * app/widgets/gimpcontainereditor.c
      * app/widgets/gimpcontainerentry.c
      * app/widgets/gimpcontainergridview.c
      * app/widgets/gimpcontainerpopup.c
      * app/widgets/gimpcontainertreeview-dnd.c
      * app/widgets/gimpcontainertreeview.c
      * app/widgets/gimpcontainerview.c
      * app/widgets/gimpdatafactoryview.c
      * app/widgets/gimpitemtreeview.c
      * app/widgets/gimplayertreeview.c
      * app/widgets/gimpnavigationpreview.c
      * app/widgets/gimppatternfactoryview.c
      * app/widgets/gimppreviewrenderer-utils.c
      * app/widgets/gimppreviewrendererbrush.c
      * app/widgets/gimppreviewrendererbrush.h
      * app/widgets/gimppreviewrendererdrawable.c
      * app/widgets/gimppreviewrendererdrawable.h
      * app/widgets/gimppreviewrenderergradient.c
      * app/widgets/gimppreviewrenderergradient.h
      * app/widgets/gimppreviewrendererimage.c
      * app/widgets/gimppreviewrendererimage.h
      * app/widgets/gimppreviewrendererimagefile.c
      * app/widgets/gimppreviewrendererimagefile.h
      * app/widgets/gimppreviewrendererlayer.c
      * app/widgets/gimppreviewrenderervectors.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimptemplateview.c
      * app/widgets/gimptooloptionseditor.c
      * app/widgets/gimptoolview.c
      * app/widgets/gimpview.c
      * app/widgets/gimpview.h
      * app/widgets/gimpviewablebutton.c
      * app/widgets/widgets-enums.h
      * app/widgets/widgets-types.h: Modified accordingly.
      e91187ae
  7. 22 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients · 075195d1
      Michael Natterer authored
      2003-07-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpgradient.[ch]: added "gboolean reverse" to
      	gimp_gradient_get_color_at() so all gradients can be used
      	reversed.
      
      	* app/core/gimpdrawable-blend.[ch] (gimp_drawable_blend)
      	* app/core/gimppalette-import.[ch] (gimp_palette_import_from_gradient):
      	added "gboolean reverse".
      
      	* app/paint/paint-enums.[ch]: removed enum GimpGradientRepeatMode
      	since it is identical to GimpRepeatMode, except for the now
      	obsolete ONCE_BACKWARD value.
      
      	* app/paint/gimppaintcore.[ch]: removed
      	gimp_paint_core_get_color_from_gradient()...
      
      	* app/paint/gimppaintoptions.[ch]: ...and added
      	gimp_paint_options_get_gradient_color(), which is much more
      	general. Added a "reverse" property to GimpGradientOptions and
      	changed the type of the "repeat" property to GimpRepeatMode.
      
      	* app/paint/gimppaintbrush.c: use
      	gimp_paint_options_get_gradient_color().
      
      	* app/tools/gimpblendoptions.[ch]: removed the "repeat" property
      	since it is in the parent class now.
      
      	* app/gui/gradient-select.c
      	* app/gui/palette-import-dialog.c
      	* app/widgets/gimpgradienteditor.c
      	* app/tools/gimpblendtool.c
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
      
      	* app/tools/gimppaintoptions-gui.c: added a "Reverse" toggle right
      	of the gradient preview.
      
      	* app/widgets/gimppreviewrenderergradient.[ch]: added "gboolean
      	reverse" member and gimp_preview_renderer_gradient_set_reverse()
      	API.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: fixed the paintbrush invoker
      	to set GimpPaintOption's "use-fade" and "use-gradient" properties
      	correctly.
      
      	* app/pdb/gradients_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpmisctools_pdb.[ch]
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: removed GimpGradientPaintMode
      	here too since it was only exported accidentially (it's not used
      	by any external API).
      
      	* plug-ins/script-fu/scripts/3dTruchet.scm
      	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-button.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-button.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/coffee.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/gradient-example.scm
      	* plug-ins/script-fu/scripts/pupi-button.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/sphere.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/weave.scm: pass "reverse" to
      	gimp_blend(). Pass FALSE in most cases and added script
      	parameters were it makes sense.
      075195d1
  8. 10 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean data_editable" which gets set in · 1522b841
      Michael Natterer authored
      2003-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.[ch]: added "gboolean data_editable"
      	which gets set in gimp_data_editor_real_set_data(). Set the name
      	entry insensitive if the data is not editable.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpgradienteditor.c: look at editor->data_editable
      	instead of duplicating the logic in all subclasses.
      
      	* app/widgets/gimppreview.[ch]: added "gboolean expand" and
      	gimp_preview_set_expand() like in GtkPreview bacause smooth auto
      	resizing can only be done by the widget itself, not via external
      	callbacks.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpselectioneditor.c: set expand == TRUE. Removed
      	"size_allocate" callbacks. They resize *much* smoother now.
      	Various cleanups.
      
      	* app/widgets/gimpnavigationpreview.c: recalculate the preview
      	coordinates when the size changes.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppreviewrenderer-utils.c
      	* app/widgets/gimppreviewrenderergradient.[ch]: new renderer which
      	is much faster because it projects the gradient without creating
      	intermediate buffers. Rendering can be restricted to an interval
      	from [left...right].
      
      	* app/widgets/gimpgradienteditor.[ch]: undeprecated by using
      	GimpPreview instead of GtkPreview. Cleanup.
      
      	* app/gui/gradient-editor-commands.c: changed accordingly.
      1522b841