gimp/app/display
Michael Natterer 99c5201870 Made the tool system work again and integrated it back with the
2001-02-21  Michael Natterer  <mitch@gimp.org>

	Made the tool system work again and integrated it back with the
	GimpContext. It's a hack between old, new and freshly hacked
	stuff. There are still lots of warnings but at least we can switch
	tools again.

	* app/tools/Makefile.am
	* app/tools/gimptoolinfo.[ch]: resurrected as real object.
	The GimpToolInfo objects are derived from GimpData, which gives
	us the tool icon stuff for free. Also, we need a list of _objects_
	which is allocated all the time. All tools are required to have
	a "register" function which registers themselves with the list
	of GimpToolInfo objects which is maintained by the tool manager.

	* app/tools/tool.[ch]: made a real GtkObject with properly named
	functions out of it. The former "active_tool_control" is of
	course not the default implementation of the tool's "control"
	method but a hack _around_ it, so it went to the tool manager.

	* app/tools/color_picker.[ch]
	* app/tools/measure.[ch]: ditto. Added "register" functions and
	"destroy" implementations so the tools go away after use.

	* app/tools/tool_manager.[ch]: badly hacked at the moment to keep
	both the list of class structures _and_ the tool info list.

	* app/tools/tools.c: call the tools' register functions.

	* app/gimpcontext.[ch]: store a pointer to a GimpToolInfo object
	as "active_tool" in the context, so we're independent of tools
	being allocated or not. It's treated just like a brush or pattern
	now.

	* app/gimpdnd.[ch]: made tool DND work like all other DND types.

	* app/devices.[ch]: also here: the tool is just a normal data object
	now, resulting in removal of lots of code.

	* app/commands.c
	* app/context_manager.c: updated the tool select and context stuff
	to work again.

	* app/toolbox.c: removed the old pixmap buttons and put GimpPreviews
	inside the tool buttons. Still needs an own preview type to
	look nice.

	* app/disp_callbacks.c
	* app/about_dialog.c
	* app/app_procs.c
	* app/appenums.h
	* app/apptypes.h
	* app/gimage.c
	* app/gimppalette.c
	* app/gimppreview.c
	* app/gimprc.c
	* app/info_window.c
	* app/menus.c
	* app/palette_select.h
	* app/scale.c
	* app/scroll.c: lots of changes to make it work again.
2001-02-21 12:18:09 +00:00
..
gimpdisplay-callbacks.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimpdisplay-callbacks.h removed all brush, pattern, gradient and palette DND functions because 2001-02-19 23:37:49 +00:00
gimpdisplay-marching-ants.h Initial revision 1997-11-24 22:05:25 +00:00
gimpdisplay-ops.c Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +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 app/Makefile.am some new files and data types: 2001-02-05 15:22:20 +00:00
gimpdisplay-render.h New file containing the check types. 2001-02-21 00:07:21 +00:00
gimpdisplay-scale.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimpdisplay-scale.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpdisplay-scroll.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimpdisplay-scroll.h app/gdisplay.c app/gdisplay_ops.c app/info_window.c app/layer.c 2001-01-22 20:46:50 +00:00
gimpdisplay-selection.c app/Makefile.am removed. 2001-02-03 22:05:41 +00:00
gimpdisplay-selection.h app/airbrush.[ch] app/bezier_select.c app/bezier_selectP.h app/blend.[ch] 2000-12-31 04:07:42 +00:00
gimpdisplay.c app/gdisplay.[ch] app/disp_callbacks.c Added preliminary support for 2001-02-20 15:15:30 +00:00
gimpdisplay.h app/gdisplay.[ch] app/disp_callbacks.c Added preliminary support for 2001-02-20 15:15:30 +00:00
gimpdisplayshell-callbacks.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimpdisplayshell-callbacks.h removed all brush, pattern, gradient and palette DND functions because 2001-02-19 23:37:49 +00:00
gimpdisplayshell-draw.c app/gdisplay.[ch] app/disp_callbacks.c Added preliminary support for 2001-02-20 15:15:30 +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 Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimpdisplayshell-filter-dialog.h fill dummy gimage->base_type as well 2000-01-03 07:49:19 +00:00
gimpdisplayshell-filter.c Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimpdisplayshell-filter.h Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimpdisplayshell-layer-select.c V2001-02-07 Michael Natterer <mitch@gimp.org> 2001-02-07 00:06:58 +00:00
gimpdisplayshell-layer-select.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpdisplayshell-marching-ants.h Initial revision 1997-11-24 22:05:25 +00:00
gimpdisplayshell-qmask.c app/Makefile.am app/gimpchannel.[ch] new files moved here by Yosh. 2001-02-01 18:44:22 +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 app/Makefile.am some new files and data types: 2001-02-05 15:22:20 +00:00
gimpdisplayshell-render.h New file containing the check types. 2001-02-21 00:07:21 +00:00
gimpdisplayshell-scale.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimpdisplayshell-scale.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpdisplayshell-scroll.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimpdisplayshell-scroll.h app/gdisplay.c app/gdisplay_ops.c app/info_window.c app/layer.c 2001-01-22 20:46:50 +00:00
gimpdisplayshell-selection.c app/Makefile.am removed. 2001-02-03 22:05:41 +00:00
gimpdisplayshell-selection.h app/airbrush.[ch] app/bezier_select.c app/bezier_selectP.h app/blend.[ch] 2000-12-31 04:07:42 +00:00
gimpdisplayshell.c app/gdisplay.[ch] app/disp_callbacks.c Added preliminary support for 2001-02-20 15:15:30 +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 added "set_by_type", "get_by_type" and "changed_by_type" methods which 2001-02-07 15:01:52 +00:00
gimpnavigationview.c added "set_by_type", "get_by_type" and "changed_by_type" methods which 2001-02-07 15:01:52 +00:00
gimpprogress.c Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
gimpprogress.h cleaned up a bit. 2000-12-31 05:31:43 +00:00
gximage.c Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gximage.h Fixed up loose ends with the GdkRgb integration. Color selection areas are 1998-08-31 22:22:23 +00:00