gimp/app/display
Michael Natterer 3ef20cd842 major cleanup. After being finished, I decided that it needs to be
2001-06-18  Michael Natterer  <mitch@gimp.org>

	* app/nav_window.[ch]: major cleanup. After being finished, I
	decided that it needs to be factored out to a widget (see below),
	so like 90% of this file will go away soon.

	* app/apptypes.h: added opaque NavigationDialog typedef.

	* app/gdisplay.[ch]: Added gdisplay_selection_visibility() which
	is called from gdisplays_selection_visibility(). Capitalized the
	SelectionControl enum values. Cleaned up the GDisplay struct and
	it's initialisation while i was on it.

	* app/gimage.c: gimage_size_changed_handler(): removed stuff which
	is now done by GimpImage itself.

	* app/scale.c
	* app/scroll.c: also update the navigation popup, not only the
	dialog.

	* app/selection.[ch]: major indentation & cleanup attack. Maybe
	found the "Selection vanishes" bug (the timeout id was assinged to
	a gint, not a _guint_).

	* app/undo.c: s/gimp_image_size_changed/gimp_viweable_size_changed/

	* app/core/gimpdrawable.c: invalidate the image's preview from our
	"invalidate_preview" implementation. This means that the image's
	preview is invalidated way too often currently, which cries for
	some general freeze/thaw mechanism on the GimpViewable level.
	(Note that previews are rendered in the idle loop, so this is not
	really a major performance impact, it's just ugly).

	* app/core/gimpimage.[ch]: removed the "size_changed" signal...

	* app/core/gimpviewable.[ch]: ...and added it here.

	* app/core/gimplayer.c: invalidate_preview(): always chain up,
	also if it's a floating selection.

	* app/gui/info-dialog.[ch]
	* app/gui/info-window.c: minor cleanups.

	* app/gui/preferences-dialog.c: no need to invalidate the image
	after we have invalidated all it's layers.

	* app/core/gimpimage-mask.c
	* app/gui/commands.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c: capitalized the SelectionCommand enum
	values.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpnavigationpreview.[ch]: new widget.

	* app/widgets/gimppreview.[ch]: added a non-working
	non-dot-for-dot mode. Added xres/yres params to the
	gimp_preview_calc_size() helper function.

	Cache the "size" value which was passed to the simple function
	variants (gimp_preview_new() and gimp_preview_set_size()) so we
	can re-calculate the preview's extents on the underlying
	viewable's "size_changed" signal and on gimp_preview_set_viewable().

	* app/widgets/gimpdrawablepreview.c
	* app/widgets/gimpimagepreview.c: changed accordingly.
2001-06-18 13:10:03 +00:00
..
gimpdisplay-callbacks.c app/disp_callbacks.c app/gdisplay.c applied a patch from Ralf Engels 2001-06-14 16:23:40 +00:00
gimpdisplay-callbacks.h removed some forgotten tools types. 2001-05-13 11:35:20 +00:00
gimpdisplay-marching-ants.h Initial revision 1997-11-24 22:05:25 +00:00
gimpdisplay-ops.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
gimpdisplay-ops.h block all canvas events while resizing the display so the standard canvas 2000-04-16 12:38:44 +00:00
gimpdisplay-render.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpdisplay-render.h new directory app/base/ 2001-05-15 11:25:25 +00:00
gimpdisplay-scale.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplay-scale.h renamed ZoomType to GimpZoomZype and added it here. 2001-03-03 16:22:18 +00:00
gimpdisplay-scroll.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplay-scroll.h updated. 2001-02-24 19:29:47 +00:00
gimpdisplay-selection.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplay-selection.h major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplay.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplay.h major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplayshell-callbacks.c app/disp_callbacks.c app/gdisplay.c applied a patch from Ralf Engels 2001-06-14 16:23:40 +00:00
gimpdisplayshell-callbacks.h removed some forgotten tools types. 2001-05-13 11:35:20 +00:00
gimpdisplayshell-draw.c app/Makefile.am removed. 2001-06-05 00:22:25 +00:00
gimpdisplayshell-draw.h app/Makefile.am new files containing most of the code from 2001-01-22 03:30:42 +00:00
gimpdisplayshell-filter-dialog.c app/app_procs.c app/datafiles.c app/devices.c app/docindex.c 2001-05-21 20:30:16 +00:00
gimpdisplayshell-filter-dialog.h fill dummy gimage->base_type as well 2000-01-03 07:49:19 +00:00
gimpdisplayshell-filter.c app/app_procs.c app/datafiles.c app/devices.c app/docindex.c 2001-05-21 20:30:16 +00:00
gimpdisplayshell-filter.h Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimpdisplayshell-layer-select.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
gimpdisplayshell-layer-select.h app/apptypes.h app/channel_ops.c app/commands.c app/convert.[ch] 2001-03-08 02:01:52 +00:00
gimpdisplayshell-marching-ants.h Initial revision 1997-11-24 22:05:25 +00:00
gimpdisplayshell-qmask.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
gimpdisplayshell-qmask.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpdisplayshell-render.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpdisplayshell-render.h new directory app/base/ 2001-05-15 11:25:25 +00:00
gimpdisplayshell-scale.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplayshell-scale.h renamed ZoomType to GimpZoomZype and added it here. 2001-03-03 16:22:18 +00:00
gimpdisplayshell-scroll.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplayshell-scroll.h updated. 2001-02-24 19:29:47 +00:00
gimpdisplayshell-selection.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplayshell-selection.h major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpdisplayshell.c app/Makefile.am removed. 2001-06-05 00:22:25 +00:00
gimpdisplayshell.h app/Makefile.am new files containing most of the code from 2001-01-22 03:30:42 +00:00
gimpnavigationeditor.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpnavigationview.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpprogress.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
gimpprogress.h cleaned up a bit. 2000-12-31 05:31:43 +00:00
gximage.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
gximage.h Fixed up loose ends with the GdkRgb integration. Color selection areas are 1998-08-31 22:22:23 +00:00