Commit Graph

5 Commits

Author SHA1 Message Date
Michael Natterer 79da6a9779 notify the "update" property on the preview, not the toggle.
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
	notify the "update" property on the preview, not the toggle.
2004-08-31 15:27:53 +00:00
Sven Neumann 95a29f9fdc allow to pan the preview with all mouse buttons. Set a cursor to indicate
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppreview.c: allow to pan the preview with all mouse
	buttons. Set a cursor to indicate that panning is possible.
2004-08-31 15:13:31 +00:00
David Odin 06c4f31bb7 libgimpwidgets/gimppreview.c renamed the "updated" signal to "invalidated"
* libgimpwidgets/gimppreview.c
* libgimpwidgets/gimppreview.h: renamed the "updated" signal to
  "invalidated" and the confusing "update" virtual function to "draw".

Renamed the property with saner names, too.

Removed _get_width and _get_height functions in favor of a _get_size on.

Added a gimp_preview_invalidate function that emit the "invalidated"
signal if needed.

* libgimp/gimpdrawablepreview.c
* libgimp/gimpdrawablepreview.h: modified accordingly and fixed the
  scrollbar range.

* plug-ins/common/despeckle.c
* plug-ins/common/gauss.c
* plug-ins/common/neon.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/unsharp.c: modified accordingly.
2004-08-31 14:29:25 +00:00
Sven Neumann 2222be0f16 libgimp/gimpdrawablepreview.[ch] minor code cleanup, fixes to gtk-doc
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.[ch]
	* libgimpwidgets/gimppreview.[ch]: minor code cleanup, fixes to
	gtk-doc comments and to the handling of object properties.
2004-08-30 22:49:06 +00:00
David Odin 18139487f9 libgimpwidgets/gimppreview.c added a GimpPreview widget, abstract base for
* libgimpwidgets/gimppreview.c
* libgimpwidgets/gimppreview.h: added a GimpPreview widget, abstract
  base for a GimpDrawablePreview.

* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h
* libgimpwidgets/gimpwidgetstypes.h: modified accordingly.

* libgimp/gimpdrawablepreview.c
* libgimp/gimpdrawablepreview.h: added a GimpDrawablePreview widget
  to ease	the use of previews by plug-ins.

* libgimp/Makefile.am
* libgimp/gimpui.h: Changed accordingly.

* plug-ins/common/despeckle.c
* plug-ins/common/gauss.c
* plug-ins/common/neon.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/unsharp.c: use a GimpDrawablePreview with these plug-ins.
2004-08-30 22:10:26 +00:00