Gimp/app/dialogs
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
..
about-dialog.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
about-dialog.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
color-dialog.c Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
color-dialog.h Made a GimpContainer out of the palette list: 2001-02-11 16:14:25 +00:00
image-new-dialog.c Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +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 Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
info-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-window.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
info-window.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
module-dialog.c app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] 2001-02-19 02:17:31 +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
palette-import-dialog.c app/Makefile.am new files. The import functions stripped from all UI crap. 2001-02-19 18:07:08 +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 gimprc.in user_install user_install.bat app/gimprc.[ch] removed the 2001-02-13 19:53:07 +00:00
preferences-dialog.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
resize-dialog.c converted gimage->layers and gimage->channels to GimpLists. 2001-02-19 13:06:09 +00:00
resize-dialog.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
resolution-calibrate-dialog.c Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
resolution-calibrate-dialog.h really add the new files 2000-09-25 01:31:48 +00:00
tips-dialog.c Makefile.am configure.in added the new library below. 2001-01-24 22:36:18 +00:00
tips-dialog.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
user-install-dialog.c added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +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