Gimp/app/dialogs
Michael Natterer 48bf4fb7b2 don't scale the preview up if the buffer is too small.
2003-03-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbuffer.c: don't scale the preview up if the
	buffer is too small.

	* app/core/gimppattern.c: don't add a white border around the
	preview if the pattern is too small.

	* app/widgets/gimppreviewrenderer.[ch]: new object. A buffer
	that updates itself on GimpViewable changes and can render
	itself to any widget. Basically GimpPreview reduced to the
	render and draw code.

	* app/widgets/gimppreview.[ch]: removed all rendering and drawing
	code and keep a GimpPreviewRenderer instance. Connect to its
	"update" signal for queuing draws on the preview.

	* app/widgets/gimpcellrendererviewable.[ch]
	* app/widgets/gimpcontainertreeview.c: same here: removed
	rendering and drawing code and keep GimpPreviewRenderers in the
	list store.  Delays preview creation for GtkTreeViews until the
	buffer is really needed for drawing and adds idle preview updating
	on viewable changes.

	* app/widgets/gimppreview-utils.[ch]
	* app/widgets/gimpbrushpreview.[ch]
	* app/widgets/gimpbufferpreview.[ch]
	* app/widgets/gimpdrawablepreview.[ch]
	* app/widgets/gimpimagepreview.[ch]: removed...

	* app/widgets/gimppreviewrenderer-utils.[ch]
	* app/widgets/gimppreviewrendererbrush.[ch]
	* app/widgets/gimppreviewrendererdrawable.[ch]
	* app/widgets/gimppreviewrendererimage.[ch]: ...and converted to
	GimpPreviewRenderer subclasses.

	* app/display/gimpnavigationview.c
	* app/gui/palette-import-dialog.c
	* app/widgets/Makefile.am
	* app/widgets/widgets-enums.h
	* app/widgets/widgets-types.h
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainermenuimpl.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplistitem.c
	* app/widgets/gimpnavigationpreview.[ch]
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpvectorslistview.c: changed accordingly.
2003-03-01 03:53:41 +00:00
..
about-dialog.c app/gui/about-dialog.c app/widgets/gimpimagefilepreview.c use 2003-02-22 01:33:42 +00:00
about-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
authors.h fixed stupid bug that caused this plug-in to map to undefined values. 2002-11-05 23:01:04 +00:00
color-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
color-dialog.h the color scales from the main color selection as GimpColorSelector 2002-10-28 20:13:17 +00:00
convert-dialog.c set the correct default value for the palette type menu (fixes bug 2003-02-23 16:06:21 +00:00
convert-dialog.h app/Makefile.am removed. new files: the convert functionality without GUI 2001-04-18 17:57:10 +00:00
dialogs-constructors.c added a writeable field to GimpData and set it from 2003-02-26 18:08:26 +00:00
dialogs-constructors.h added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI 2003-02-26 16:17:10 +00:00
dialogs.c added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI 2003-02-26 16:17:10 +00:00
dialogs.h g_strdup() the stock_id passed to gimp_tool_info_new() because the 2002-03-14 17:07:02 +00:00
file-dialog-utils.c removed. 2003-01-31 11:54:16 +00:00
file-dialog-utils.h removed. 2003-01-31 11:54:16 +00:00
file-open-dialog.c Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
file-open-dialog.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
file-save-dialog.c removed. 2003-01-31 11:54:16 +00:00
file-save-dialog.h Move away from creating all item_factories statically in menus_init() but 2003-01-10 17:55:53 +00:00
image-new-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
image-new-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
info-dialog.c made labels in the info dialog selectable as suggested in #103991. 2003-01-20 20:07:19 +00:00
info-dialog.h app/gui/file-new-dialog.c app/gui/offset-dialog.c 2002-09-07 16:47:39 +00:00
info-window.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
info-window.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
module-dialog.c pack the button box non-expanding, removed cruft from the ModuleBrowser 2003-01-29 11:08:51 +00:00
module-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
offset-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
offset-dialog.h use the passed Gimp pointer instead of using "the_gimp". 2001-12-03 17:59:48 +00:00
palette-import-dialog.c don't scale the preview up if the buffer is too small. 2003-03-01 03:53:41 +00:00
palette-import-dialog.h added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. 2001-12-17 23:41:01 +00:00
preferences-dialog.c app/config/gimpdisplayconfig.[ch] app/config/gimprc-blurbs.h 2003-02-25 16:30:53 +00:00
preferences-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
resize-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
resize-dialog.h app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
resolution-calibrate-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
resolution-calibrate-dialog.h take an optional pixbuf as eye-candy. 2002-02-28 15:11:56 +00:00
tips-dialog.c cleanup, removed unecessary G_OBJECT() casts. Should do the same for 2003-01-05 22:07:10 +00:00
tips-dialog.h Finally landed the new GimpConfig based gimprc parser. It's not finished 2002-11-18 20:50:31 +00:00
tips-parser.c don't insert an extra line-break after a serialized property. 2003-02-26 20:34:58 +00:00
tips-parser.h updated 2002-02-25 18:36:03 +00:00
user-install-dialog.c added a writeable field to GimpData and set it from 2003-02-26 18:08:26 +00:00
user-install-dialog.h added "gboolean verbose" to GimpRc and its constructor. Print messages 2002-11-26 14:54:28 +00:00