1. 05 Jan, 2005 1 commit
    • David Odin's avatar
      new function: gimp_scrolled_preview_set_position () to set the position of · d9e414fd
      David Odin authored
      * libgimpwidgets/gimpscrolledpreview.[ch]: new function:
        gimp_scrolled_preview_set_position () to set the position of the
        preview content wrt the drawable.  This function might be moved to a
        virtual function of GimpPreview in a near future.
      
      * libgimp/gimpdrawablepreview.c: use this function, so a preview
        remembers its position from one invocation to the next.  This is done
        using the current executable name as a key for gimp_set/get_data () so
        each plug-in can have its preview on a different place.
      
        More informations could be saved this way: the update toggle, the checks, etc.
      
        Addresses bug #162286.
      
      * libgimpwidgets/gimppreview.c: smallish cleanup.
      d9e414fd
  2. 23 Oct, 2004 1 commit
    • Michael Natterer's avatar
      libgimp/gimpaspectpreview.h libgimp/gimpdrawablepreview.h · 66529903
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpaspectpreview.h
      	* libgimp/gimpdrawablepreview.h
      	* libgimp/gimpprogressbar.h
      	* libgimpwidgets/gimpcellrenderercolor.h
      	* libgimpwidgets/gimpcellrenderertoggle.h
      	* libgimpwidgets/gimpframe.h
      	* libgimpwidgets/gimpintcombobox.h
      	* libgimpwidgets/gimpintstore.h
      	* libgimpwidgets/gimppreview.h
      	* libgimpwidgets/gimppreviewarea.h
      	* libgimpwidgets/gimpscrolledpreview.h: added padding to all class
      	structs which have been added since 2.0.
      66529903
  3. 29 Sep, 2004 1 commit
    • Sven Neumann's avatar
      libgimpwidgets/gimppreview.[ch] libgimpwidgets/gimpscrolledpreview.[ch] · c4bf786c
      Sven Neumann authored
      2004-09-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]
      	* libgimpwidgets/gimpscrolledpreview.[ch]
      	* libgimpwidgets/gimpwidgets.def: moved the offsets and the
      	draw_thumb method back to the GimpPreview class.
      
      	* libgimp/gimpdrawablepreview.c: changed accordingly.
      
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/cartoon.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/dog.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/gauss.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/neon.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/oilify.c
      	* plug-ins/common/photocopy.c
      	* plug-ins/common/sel_gauss.c
      	* plug-ins/common/sharpen.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/sobel.c
      	* plug-ins/common/softglow.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/struc.c
      	* plug-ins/common/unsharp.c
      	* plug-ins/common/wind.c: back to using gimp_preview_get_position().
      
      	* libgimp/gimpregioniterator.c (gimp_rgn_iterator_new): corrected
      	gtk-doc comment.
      c4bf786c
  4. 28 Sep, 2004 1 commit
    • David Odin's avatar
      libgimpwidgets/gimppreview.c split this widget into itself (more abstract · a001920e
      David Odin authored
      * libgimpwidgets/gimppreview.c
      * libgimpwidgets/gimppreview.h: split this widget into itself (more
        abstract now) and ...
      
      * libgimpwidgets/gimpscrolledpreview.c
      * libgimpwidgets/gimpscrolledpreview.h: this widget which also have
        some scrollbars and a nagivation preview.
      
      * libgimpwidgets/Makefile.am
      * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      * libgimp/gimpaspectpreview.c
      * libgimp/gimpaspectpreview.h: Added this widget, derived from
        GimpPreview, which has always the same ratio has the given drawable.
        This widget has almost the same api as GimpDrawablePreview, and is
        useful for plug-ins that show the whole (scaled) drawable in their
        preview.
      
      * libgimp/gimpdrawablepreview.c
      * libgimp/gimpdrawablepreview.h: GimpDrawablePreview is now derived
        from GimpScrolledPreview.
      
      * libgimp/Makefile.am
      * libgimp/gimpui.h
      * libgimp/gimpuitypes.h: changed accordingly.
      
      * plug-ins/common/plasma.c: use a GimpAspectPreview.
      
      * plug-ins/common/bumpmap.c
      * plug-ins/common/cartoon.c
      * plug-ins/common/deinterlace.c
      * plug-ins/common/despeckle.c
      * plug-ins/common/dog.c
      * plug-ins/common/edge.c
      * plug-ins/common/engrave.c
      * plug-ins/common/exchange.c
      * plug-ins/common/gauss.c
      * plug-ins/common/grid.c
      * plug-ins/common/mblur.c
      * plug-ins/common/neon.c
      * plug-ins/common/noisify.c
      * plug-ins/common/oilify.c
      * plug-ins/common/photocopy.c
      * plug-ins/common/sel_gauss.c
      * plug-ins/common/sharpen.c
      * plug-ins/common/shift.c
      * plug-ins/common/sobel.c
      * plug-ins/common/softglow.c
      * plug-ins/common/spread.c
      * plug-ins/common/struc.c
      * plug-ins/common/unsharp.c
      * plug-ins/common/wind.c: use gimp_scrolled_preview_get_position
        instead of gimp_preview_get_position.
      a001920e