1. 25 Jan, 2006 1 commit
    • Sven Neumann's avatar
      libgimpwidgets/gimpintcombobox.[ch] libgimpwidgets/gimppageselector.[ch] · b614bf5e
      Sven Neumann authored
      2006-01-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpintcombobox.[ch]
      	* libgimpwidgets/gimppageselector.[ch]
      	* libgimpwidgets/gimpzoommodel.[ch]: added a priv pointer to the
      	instance struct and changed the GET_PRIVATE() macro to access the
      	private data via that pointer.
      
      	* libgimpwidgets/gimpscrolledpreview.[ch]
      	* libgimpwidgets/gimpwidgets.def: added a priv pointer to the
      	instance struct and moved all private data to the
      	GimpScrolledPreviewPrivate struct. Added freeze/thaw methods so
      	that derived widgets can be implemented without accessing private
      	data.
      
      	* libgimp/gimpzoompreview.c: changed accordingly.
      
      	* libgimp/gimpfontselectbutton.[ch]: let the priv pointer be an
      	anonymous void pointer.
      b614bf5e
  2. 28 Sep, 2005 2 commits
    • Sven Neumann's avatar
      must not set the adjustment value directly. Instead make sure that the · f71b4e6a
      Sven Neumann authored
      2005-09-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpscrolledpreview.[ch]
      	(gimp_scrolled_preview_set_position): must not set the adjustment
      	value directly. Instead make sure that the scrollbar adjustments
      	are uptodate and use gtk_adjustment_set_value().
      f71b4e6a
    • Sven Neumann's avatar
      added a hbox to the table and the "Update Preview" checkbutton there. · 9ab6ffa9
      Sven Neumann authored
      2005-09-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]: added a hbox to the table and
      	the "Update Preview" checkbutton there. Added a function to access
      	this control box. Increased default size to 200.
      
      	* libgimpwidgets/gimpscrolledpreview.[ch]: added function
      	gimp_scrolled_preview_set_policy() to control when the scrollbars
      	should be shown.
      
      	* libgimpwidgets/gimpwidgets.def: updated.
      
      	* libgimp/gimpzoompreview.c: pack the zoom buttons into the
      	preview's control box. Commented out the label, it shows a bogus
      	zoom factor. Set scrollbar policy to ALWAYS to avoid resizing.
      9ab6ffa9
  3. 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
  4. 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
  5. 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
  6. 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