Gimp/app/gui
Michael Natterer 7ee99ea3a3 Transform tool cleanup:
2002-11-14  Michael Natterer  <mitch@gimp.org>

	Transform tool cleanup:

	* libgimptool/gimptoolenums.[ch]: removed the TransformState enum.

	* app/tools/gimptransformtool.[ch]: don't dispatch everything
	through the transform() virtual function. Added new vitrual
	functions dialog(), prepare(), motion() and recalc(). Do only the
	actual transform in transform(). Moved lots of logic which was
	duplicated in each subclass' transform() here. Cleanup.

	* app/tools/gimpfliptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: changed accordingly: moved code from
	transform() to the other method imlementations. Removed duplicated
	logic which is now done by our parent class. Makes everything
	smaller and more readable.

	InfoDialog cleanup:

	* app/gui/info-dialog.c: removed the "delete_event" callback so
	InfoDialog users can decide themselves what to do.

	* app/gui/info-window.c
	* app/tools/gimpmeasuretool.c: changed accordingly.

	* app/tools/gimpcolorpickertool.c: ditto. Moved info_dialog
	creation to a utility function to improve code readbility.

	* app/tools/gimpcroptool.c: ditto. Added a "Cancel" button which
	really cancels the tool instead of just hiding the dialog.

	* app/tools/gimptransformtool.c: added a "Cancel" button here too.
2002-11-14 11:54:57 +00:00
..
.cvsignore configure.in app/Makefile.am new directory which will contain all gui code 2001-04-14 15:21:45 +00:00
about-dialog.c app/display/gimpdisplayshell.c app/gui/about-dialog.c 2002-10-25 01:11:24 +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
brush-select.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
brush-select.h renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
brushes-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
brushes-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
buffers-commands.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 17:39:56 +00:00
buffers-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
channels-commands.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
channels-commands.h DND cleanup part 1: 2002-09-02 14:39:08 +00:00
color-history.c app/gui/Makefile.am new files implementing the color history which used to 2002-10-24 23:10:50 +00:00
color-history.h app/gui/Makefile.am new files implementing the color history which used to 2002-10-24 23:10:50 +00:00
color-notebook.c added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +00:00
color-notebook.h the color scales from the main color selection as GimpColorSelector 2002-10-28 20:13:17 +00:00
colormap-editor-commands.c GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
colormap-editor-commands.h namespaceified and cleaned up a lot. Removed the menu code. 2002-03-17 13:52:25 +00:00
convert-dialog.c app/display/gimpdisplayshell.c app/gui/about-dialog.c 2002-10-25 01:11:24 +00:00
convert-dialog.h app/Makefile.am removed. new files: the convert functionality without GUI 2001-04-18 17:57:10 +00:00
data-commands.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
data-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
device-status-dialog.c DND cleanup part 1: 2002-09-02 14:39:08 +00:00
device-status-dialog.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
dialogs-commands.c app/display/gimpdisplayshell.c app/gui/about-dialog.c 2002-10-25 01:11:24 +00:00
dialogs-commands.h g_strdup() the stock_id passed to gimp_tool_info_new() because the 2002-03-14 17:07:02 +00:00
dialogs-constructors.c added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +00:00
dialogs-constructors.h added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +00:00
dialogs.c added virtual functions set_toggles_visible() and set_toggles_sensitive(). 2002-11-05 00:02:56 +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
documents-commands.c app/widgets/gimpdocumentview.[ch] app/gui/documents-commands.[ch] changed 2002-09-12 17:34:43 +00:00
documents-commands.h app/widgets/gimpdocumentview.[ch] app/gui/documents-commands.[ch] changed 2002-09-12 17:34:43 +00:00
drawable-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
drawable-commands.h make absolute paths out of relative ones passed on the commandline so the 2002-02-26 16:30:14 +00:00
edit-commands.c Started to get rid of the gdisplays_foo() functions in 2002-05-08 17:48:24 +00:00
edit-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
error-console-dialog.c forgot a "return". 2001-12-01 22:59:48 +00:00
error-console-dialog.h app/main.c moved "message_handler" from here... 2001-12-01 21:02:34 +00:00
file-commands.c added "gimage" and "uri" parameters to file_open_dialog_show(). If an 2002-11-01 16:20:13 +00:00
file-commands.h added "gimage" and "uri" parameters to file_open_dialog_show(). If an 2002-11-01 16:20:13 +00:00
file-dialog-utils.c HIG compliance: changed "Save a Copy as..." to "Save a Copy...". 2002-09-01 07:30:27 +00:00
file-dialog-utils.h save the number of layers in the thumbnail and show it in the description. 2002-04-18 01:18:24 +00:00
file-new-dialog.c app/gui/file-new-dialog.c app/gui/preferences-dialog.c 2002-09-17 11:55:04 +00:00
file-new-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
file-open-dialog.c added "gimage" and "uri" parameters to file_open_dialog_show(). If an 2002-11-01 16:20:13 +00:00
file-open-dialog.h added "gimage" and "uri" parameters to file_open_dialog_show(). If an 2002-11-01 16:20:13 +00:00
file-save-dialog.c added "gimage" and "uri" parameters to file_open_dialog_show(). If an 2002-11-01 16:20:13 +00:00
file-save-dialog.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
gradient-editor-commands.c GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
gradient-editor-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gradient-select.c app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
gradient-select.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
gradients-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
gradients-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gui-types.h app/Makefile.am removed... 2002-05-05 19:17:41 +00:00
gui.c Moved generic datafile loading to LibGimpBase: 2002-10-23 14:55:07 +00:00
gui.h Sven Naumann <sven@gimp.org> 2002-02-28 13:47:03 +00:00
help-commands.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
help-commands.h app/gui/Makefile.am removed... 2002-03-20 20:08:19 +00:00
image-commands.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
image-commands.h renamed shell->cd_list to shell->filters and shell->cd_ui to 2002-03-15 15:09:58 +00:00
images-commands.c removed unused commented out prototype. 2002-05-08 12:39:01 +00:00
images-commands.h removed unused commented out prototype. 2002-05-08 12:39:01 +00:00
info-dialog.c Transform tool cleanup: 2002-11-14 11:54:57 +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 Transform tool cleanup: 2002-11-14 11:54:57 +00:00
info-window.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
layers-commands.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
layers-commands.h DND cleanup part 1: 2002-09-02 14:39:08 +00:00
Makefile.am app/gui/Makefile.am new files implementing the color history which used to 2002-10-24 23:10:50 +00:00
makefile.msc updated 2002-09-06 22:25:19 +00:00
menus.c use GTK_STOCK_REMOVE for "<Dialogs>/Remove Tab". 2002-11-12 14:31:45 +00:00
menus.h app/widgets/Makefile.am put the whole generic stuff from gui/menus.[ch] 2001-11-27 19:27:55 +00:00
module-browser.c don't say we'd use MMX if it is disabled. 2002-11-06 13:56:37 +00:00
module-browser.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
offset-dialog.c don't free the OffsetDialog structure twice. Fixes bug #96520. 2002-10-22 19:34:02 +00:00
offset-dialog.h use the passed Gimp pointer instead of using "the_gimp". 2001-12-03 17:59:48 +00:00
palette-editor-commands.c GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
palette-editor-commands.h changed gimp_channel_get_color() to not return the color but take a second 2002-03-08 16:34:42 +00:00
palette-import-dialog.c app/display/gimpdisplayshell.c app/gui/about-dialog.c 2002-10-25 01:11:24 +00:00
palette-import-dialog.h added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. 2001-12-17 23:41:01 +00:00
palette-select.c app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
palette-select.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
palettes-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
palettes-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
paths-dialog.c app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c 2002-06-09 12:53:42 +00:00
paths-dialog.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
pattern-select.c app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
pattern-select.h app/gimprc.[ch] app/gui/preferences-dialog.c 2002-03-12 21:02:10 +00:00
patterns-commands.c added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
patterns-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
plug-in-commands.c badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
plug-in-commands.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
plug-in-menus.c added a "const gchar *textdomain" parameter so g_object_[set|get]_data() 2002-09-25 10:39:41 +00:00
plug-in-menus.h badly chopped into the new files below. Pass around much more "PlugIn" and 2002-03-20 17:46:13 +00:00
preferences-dialog.c don't say "Now type 'make'" if configure failed. 2002-11-12 03:34:11 +00:00
preferences-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
qmask-commands.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
qmask-commands.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
resize-dialog.c app/gui/file-new-dialog.c app/gui/preferences-dialog.c 2002-09-17 11:55:04 +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 app/gui/file-new-dialog.c app/gui/offset-dialog.c 2002-09-07 16:47:39 +00:00
resolution-calibrate-dialog.h take an optional pixbuf as eye-candy. 2002-02-28 15:11:56 +00:00
select-commands.c app/gui/menus.c added a menu entry that toggles the QuickMask state and 2002-08-27 13:29:47 +00:00
select-commands.h app/gui/menus.c added a menu entry that toggles the QuickMask state and 2002-08-27 13:29:47 +00:00
session.c app/gui/Makefile.am new files implementing the color history which used to 2002-10-24 23:10:50 +00:00
session.h pass a "Gimp" to gui_libs_init(), initialize the GUI before initializing 2001-10-23 16:23:32 +00:00
splash.c don't allow to close the splash screen. Fixes bug #81962. 2002-05-16 14:13:20 +00:00
splash.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
test-commands.c app/config/test-config.c use g_error_free() so we crash if our GimpConfig 2002-05-28 18:49:45 +00:00
test-commands.h override GObjectClass->constructor() and do the setup stuff there, not in 2002-05-28 16:41:56 +00:00
tips-dialog.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +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
tips-parser.c app/gui/tips-dialog.c added support for simple text markup. 2002-02-26 16:55:09 +00:00
tips-parser.h updated 2002-02-25 18:36:03 +00:00
tool-options-dialog.c DND cleanup part 1: 2002-09-02 14:39:08 +00:00
tool-options-dialog.h app/gui/dialogs-constructors.[ch] app/gui/dialogs.c made the tool options 2002-03-10 15:05:58 +00:00
tools-commands.c removed the old hack which sets tool->gdisp. Fixes bug #98056. 2002-11-14 11:08:40 +00:00
tools-commands.h app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
user-install-dialog.c don't say "Now type 'make'" if configure failed. 2002-11-12 03:34:11 +00:00
user-install-dialog.h removed the gimp_busy boolean, check whether user_installation is needed 2001-07-10 19:16:16 +00:00
vectors-commands.c app/widgets/gimplayerlistview.c some more auto-sizing spinbuttons. 2002-09-08 12:18:23 +00:00
vectors-commands.h DND cleanup part 1: 2002-09-02 14:39:08 +00:00
view-commands.c removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
view-commands.h pass an additional "Gimp" pointer to 2002-03-20 15:32:35 +00:00