1. 11 Jul, 2018 1 commit
  2. 13 Apr, 2018 1 commit
  3. 07 Jan, 2011 1 commit
  4. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  5. 28 Dec, 2007 1 commit
    • Sven Neumann's avatar
      if the surface has CAIRO_CONTENT_COLOR_ALPHA, render it on a checkerboard · f97ebdf7
      Sven Neumann authored
      2007-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_draw):
      	if the surface has CAIRO_CONTENT_COLOR_ALPHA, render it on a
      	checkerboard background.
      
      	* app/widgets/gimpviewrenderergradient.[ch]: just draw the
      	gradient with alpha-transparency instead of doing the blend on 
      the
      	checkerboard here.
      
      	* app/widgets/gimpcolormapeditor.c: formatting.
      
      
      svn path=/trunk/; revision=24446
      f97ebdf7
  6. 09 Dec, 2006 1 commit
  7. 31 Aug, 2006 1 commit
    • Michael Natterer's avatar
      new funtion which returns TRUE if any of the gradient's segments refer to · 663b44c9
      Michael Natterer authored
      2006-08-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpgradient.[ch] (gimp_gradient_has_fg_bg_segments):
      	new funtion which returns TRUE if any of the gradient's segments
      	refer to FG of BG.
      
      	(gimp_gradient_segment_get_left_color_type)
      	(gimp_gradient_segment_set_left_color_type)
      	(gimp_gradient_segment_get_right_color_type)
      	(gimp_gradient_segment_set_right_color_type): new accessors for
      	the new GimpGradientColor stuff.
      
      	(gimp_gradient_segment_split_midpoint)
      	(gimp_gradient_segment_range_flip)
      	(gimp_gradient_segment_range_replicate): split, flip and replicate
      	the segments' color_types too.
      
      	* app/widgets/gimpviewrenderer.[ch]: added virtual functions
      	::set_context() and ::invalidate() and call them.
      
      	* app/widgets/gimpviewrenderergradient.[ch]: implement the virtual
      	functions. Connect to the context's "foreground-changed" and
      	"background-changed" signals if the gradient contains FG or BG
      	colors and invalidate the renderer whenever they change.
      
      	* app/core/gimp-gradients.c: removed signal connections which
      	invalidated the gradients on FG/BG changes of the user context.
      663b44c9
  8. 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
  9. 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
  10. 22 Jul, 2003 1 commit
  11. 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