Gimp/app/dialogs
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
..
about-dialog.c app/Makefile.am removed. 2001-06-05 00:22:25 +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 app/Makefile.am removed. 2001-06-05 00:22:25 +00:00
color-dialog.c app/base/Makefile.am app/core/Makefile.am app/gui/Makefile.am added 2001-05-30 00:20:48 +00:00
color-dialog.h Made a GimpContainer out of the palette list: 2001-02-11 16:14:25 +00:00
convert-dialog.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +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 app/tools/Makefile.am removed. new file 2001-05-25 01:24:12 +00:00
dialogs-constructors.h app/Makefile.am taken behind the curtain and shot. (famous words of Seth 2001-05-11 17:02:30 +00:00
dialogs.c app/Makefile.am taken behind the curtain and shot. (famous words of Seth 2001-05-11 17:02:30 +00:00
dialogs.h removed more GUI initialisation code. 2001-05-01 13:16:59 +00:00
file-dialog-utils.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
file-dialog-utils.h added RunModeType. removed RunModeType. don't scan app/plug_in.h for 2001-04-28 15:11:29 +00:00
file-open-dialog.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
file-open-dialog.h added RunModeType. removed RunModeType. don't scan app/plug_in.h for 2001-04-28 15:11:29 +00:00
file-save-dialog.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
file-save-dialog.h added RunModeType. removed RunModeType. don't scan app/plug_in.h for 2001-04-28 15:11:29 +00:00
image-new-dialog.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
image-new-dialog.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
info-dialog.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
info-dialog.h major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
info-window.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
info-window.h app/disp_callbacks.c app/gdisplay.c applied a patch from Ralf Engels 2001-06-14 16:23:40 +00:00
module-dialog.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
module-dialog.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
offset-dialog.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
offset-dialog.h app/Makefile.am removed 2001-04-18 19:14:20 +00:00
palette-import-dialog.c new directory app/base/ 2001-05-15 11:25:25 +00:00
palette-import-dialog.h app/Makefile.am moved the palette_import dialog to it's own file. 2001-01-21 21:29:31 +00:00
preferences-dialog.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
preferences-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
resize-dialog.c app/Makefile.am removed. 2001-06-04 23:27:38 +00:00
resize-dialog.h app/Makefile.am removed. 2001-06-04 23:27:38 +00:00
resolution-calibrate-dialog.c app/Makefile.am removed 2001-05-22 21:12:43 +00:00
resolution-calibrate-dialog.h app/Makefile.am removed 2001-05-22 21:12:43 +00:00
tips-dialog.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
tips-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
user-install-dialog.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
user-install-dialog.h new files. Code for the resolution calibration dialog that used to live in 2000-09-25 01:27:47 +00:00