1. 04 Mar, 2001 3 commits
    • Michael Natterer's avatar
      new function gimp_drawable_set_visible(). Renamed gimp_drawable_visible() · 65235b91
      Michael Natterer authored
      2001-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable.[ch]: new function gimp_drawable_set_visible().
      	Renamed gimp_drawable_visible() to gimp_drawable_get_visible().
      	Added a "visibility_changed" signal.
      
      	* app/gimplistitem.[ch]: new virtual function "set_viewable"
      	which allows subclasses to connect to the viewable's signals.
      
      	* app/gimpdrawablelistitem.[ch]: added an eye button. Implement
      	"set_viewable" to connect to the "visibility_changed" signal.
      
      	* app/gimpchannel.[ch]: removed unused function
      	gimp_channel_toggle_visibility().
      
      	* app/channels_dialog.c
      	* app/floating_sel.c
      	* app/gimage_mask.c
      	* app/gimpimage.c
      	* app/gimplayer.c
      	* app/layers_dialog.c
      	* app/xcf.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/pdb_glue.h
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed direct access of
      	drawable->visible and use the functions instead. Also makes PDB
      	code generation nicer.
      
      	* pixmaps/eye.xpm: cropped it a bit.
      65235b91
    • Chyla Zbigniew's avatar
      libgimpwidgets/gimppixmap.c (gimp_color_button_destroy): Move variable · 5d0edd70
      Chyla Zbigniew authored
      
      * app/commands.c (image_scale_callback),
      libgimpwidgets/gimpchainbutton.c (gimp_chain_button_destroy),
      libgimpwidgets/gimpcolorbutton.c (gimp_color_button_destroy):
      libgimpwidgets/gimppixmap.c (gimp_color_button_destroy):
      Move variable assignments out of assertions to allow compilation
      with "G_DISABLE_ASSERT" defined.
      5d0edd70
    • Sven Neumann's avatar
      applied a patch from David Odin <David.Odin@bigfoot.com> that fixes a typo · b05f238d
      Sven Neumann authored
      2001-03-04  Sven Neumann  <sven@gimp.org>
      
      	* app/preferences_dialog.c (prefs_save_callback): applied a patch
      	from David Odin <David.Odin@bigfoot.com> that fixes a typo in the code.
      b05f238d
  2. 03 Mar, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h app/gimpdrawablelistitem.[ch] new widgets · c02db336
      Michael Natterer authored
      2001-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdrawablelistitem.[ch]
      	* app/gimplistitem.[ch]: new widgets capable of reordering
      	themselves using DND.
      
      	* app/gimpcontainerlistview.c: removed stuff which is now done
      	by the GimpListItem.
      
      	* app/gimpdnd.[ch]: new function gimp_dnd_get_drag_data(widget)
      	which returns a GimpViewable using the widget's drag callback.
      
      	* app/gimpdrawablelistview.c: implement GimpContainerView's
      	"insert_item" method and enable reordering for the created
      	GimpListItem.
      c02db336
    • Michael Natterer's avatar
      renamed ZoomType to GimpZoomZype and added it here. · f1d9ba63
      Michael Natterer authored
      2001-03-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: renamed ZoomType to GimpZoomZype and added it
      	here.
      
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/nav_window.c
      	* app/scale.[ch]: changed accordingly.
      
      	* app/tools/Makefile.am
      	* app/tools/magnify.[ch]: back as object.
      
      	* app/tools/tool.c: removed the old ToolInfo entry.
      
      	* app/tools/tools.c: register it.
      f1d9ba63
  3. 02 Mar, 2001 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am new files ported by Dave Neary <dneary@eircom.net>. · 5362220b
      Michael Natterer authored
      2001-03-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/gimpselectiontool.[ch]: new files ported by
      	Dave Neary <dneary@eircom.net>. Changed them a bit to inherit
      	from GimpDrawTool and added implementations of "modifier_key"
      	and "oper_update" because they are shared by 4 of the old
      	selection tools.
      5362220b
  4. 01 Mar, 2001 6 commits
  5. 28 Feb, 2001 8 commits
    • Sven Neumann's avatar
      made it compile again · cde309e4
      Sven Neumann authored
      cde309e4
    • jaycox's avatar
      app/appenums.h app/gimplayer.c When adding a layer mask allow the option · b56e0e18
      jaycox authored
      
      	* app/appenums.h
      	* app/gimplayer.c
      	* app/layers_dialog.c: When adding a layer mask allow the option
      	of using the current selection (or it's inverse) to initialise
      	the mask.
      b56e0e18
    • Seth Burgess's avatar
      And he said crop, and there was crop. It was a bit broken though. · 9d13b929
      Seth Burgess authored
      	app/tools/crop.c app/tools/crop.h app/tools/Makefile.am
       	app/tools/tool.c app/tools/tools.c
      9d13b929
    • Michael Natterer's avatar
      app/gdisplay.c app/gimage.c. #include "tools/tool.h" · a138eae7
      Michael Natterer authored
      2001-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.c
      	* app/gimage.c. #include "tools/tool.h"
      
      	* app/tools/edit_selection.[ch]: the arrow_key function is not
      	a method of edit_selection but of any tool that needs it.
      
      	* app/tools/gimppaintbrushtool.c: removed variables.
      
      	* app/tools/move.c: use the arrow_key function.
      
      	* app/tools/tool_manager.h: removed the include of "tool.h"
      a138eae7
    • Michael Natterer's avatar
      app/tools/Makefile.am back as real tool which gets temporarily pushed to · 904d8e2c
      Michael Natterer authored
      2001-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/edit_selection.[ch]: back as real tool which gets
      	temporarily pushed to the tool_manager's new tool stack.
      
      	* app/tools/move.c
      	* app/tools/text_tool.c: call the edit_selection stuff again.
      
      	* app/tools/tool.c: added a STUB().
      
      	* app/tools/tool_manager.[ch]: implemented tool_manager_push_tool()
      	and tool_manager_pop_tool().
      904d8e2c
    • Kenneth Christiansen's avatar
      Translations from keld · ce2fa492
      Kenneth Christiansen authored
      ammonite/po/da.po bonobo/po/da.po eog/po/da.po
      evolution/po/da.po gb/po/da.po gernel/po/da.po gimp/po/da.po
      gimp/po-plug-ins/da.po gnome-db/po/da.po gnome-libs/po/da.po
      gnome-print/po/da.po gnome-vfs/po/da.po gnomeicu/po/da.po
      gnumeric/po/da.po gtranslator/po/da.po libgda/po/da.po
      nautilus/po/da.po pan/po/da.po pong/po/da.po sodipodi/po/da.po
      ximian-setup-tools/po/da.po
      ce2fa492
    • Michael Natterer's avatar
      app/tools/Makefile.am one more... · 4e3b5a1e
      Michael Natterer authored
      2001-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/bucket_fill.[ch]: one more...
      
      	* app/tools/fuzzy_select.c: everything commented out except the
      	find_region stuff.
      
      	* app/tools/gimpcolorpickertool.c: cosmetic.
      
      	* app/tools/paint_options.c: #include "bucket_fill.h"
      
      	* app/tools/tool.[ch]: removed STUB()'s.
      
      	* app/tools/tools.c: register it.
      4e3b5a1e
    • Michael Natterer's avatar
      app/tools/Makefile.am back as object. · 8202cf02
      Michael Natterer authored
      2001-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/ink.[ch]: back as object.
      
      	* app/tools/paint_options.c: #include "ink.h"
      
      	* app/tools/tool.h: removed the type #define.
      
      	* app/tools/tools.c: register it.
      8202cf02
  6. 27 Feb, 2001 5 commits
    • Michael Natterer's avatar
      made the global_paint_options public. · 3d78cbd5
      Michael Natterer authored
      2001-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/context_manager.[ch]: made the global_paint_options public.
      
      	* app/tools/gimptoolinfo.[ch]: added a "tool_context" boolean to
      	the constructor and create a private context for the tool
      	initialized with global_paint_options's values.
      
      	* app/tools/tool_manager.[ch]: changed tool_manager_register_tool()
      	accordingly.
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/measure.c
      	* app/tools/move.c
      	* app/tools/text_tool.c: changed accordingly.
      
      	* app/tools/paint_options.[ch]: added the fade out and gradient
      	options here so they can be used by all paint tools.
      
      	* app/tools/gimppaintbrushtool.c: removed them here. Changed
      	the non_gui stuff: removed the non_gui_paint_func and handle
      	the non_gui stuff in the normal paint method. Allocate a
      	non_gui_paintbrush instead of the old non_gui_paint_core.
      
      	The non_gui stuff will change totally and will be handled
      	by GimpPaintTool only.
      
      	* app/tools/tool.c: removed the STUB()'s again.
      3d78cbd5
    • Michael Natterer's avatar
      build the measure tool again. · 84b634f2
      Michael Natterer authored
      2001-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am: build the measure tool again.
      
      	* app/tools/gimpcolorpickertool.c: correct prototypes for some
      	functions so we don't get warnings about incompatible assignments
      	in "class_init", chain up in "control".
      
      	* app/tools/gimpdrawtool.c: added an implementation of "control"
      	which can be called from subclasses so we don't need to call
      	GimpDrawTool's methods directly from there.
      
      	* app/tools/gimppaintbrushtool.[ch]: create it's tool options so it
      	doesn't crash. Commented out the non_gui stuff. We need a different
      	interface for this.
      
      	* app/tools/gimppainttool.[ch]: some cleanups: call the draw tool's
      	"control" function, fixed "cursor_update", fixed indentation.
      
      	* app/tools/measure.[ch]: made it work again (properly subclass
      	GimpDrawTool).
      
      	* app/tools/tool.c: re-added the non_gui paintbrush STUB()'s
      
      	* app/tools/tools.c: don't allocate the non_gui stuff.
      	GimpPaintTool is an abstract superclass, so we cannot create
      	an instance of it. Moreover, the current non_gui stuff assumes
      	that there is something like a "paint_core" and changes it's
      	virtual function pointers, breaking the object system totally.
      84b634f2
    • Sven Neumann's avatar
      applied patch from Chuck Mason <chuckjr@unbounded.com> that fixes wrong · f19f4389
      Sven Neumann authored
      2001-02-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/header.c: applied patch from Chuck Mason
      	<chuckjr@unbounded.com> that fixes wrong output of header plug-in.
      f19f4389
    • Michael Natterer's avatar
      app/apptypes.h app/Makefile.am new widget. The upcoming replacement for · 8e3259d0
      Michael Natterer authored
      2001-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h
      	* app/Makefile.am
      	* app/gimpdrawablelistview.[ch]: new widget. The upcoming replacement
      	for the layers and channels dialogs.
      
      	* app/test_commands.[ch]: put the test dialogs here...
      
      	* app/commands.[ch]: ... and made this one clean again.
      
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontainerview.[ch]: some signal handling fine tuning.
      
      	* app/gimpimage.[ch]: emits "active_layer_changed" and
      	"active_channel_changed" signals now. The semantics of
      	gimage->active_layer and gimage->active_channel have changed a bit.
      	We now have either an active layer _or_ and active channel (there
      	is no active layer any more if a channel is active).
      
      	* app/channel_ops.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/layers_dialog.c
      	* app/menus.c: changed accordingly.
      
      	* app/tools/gimpcolorpickertool.c: actually assign the draw_class
      	vraiable in the class_init function.
      
      	* app/tools/gimpdrawtool.[ch]
      	* app/tools/tool.c: removed the _new() functions because these
      	objects are abstract superclasses. Did some cleanup.
      	Nathan, please configure you editor to _not_ produce any tabs
      	in the source code.
      
      	* app/tools/gimppaintbrushtool.[ch]: "blurb" and "help" are tagged
      	with _(), not N_(). Put the register function to the header.
      
      	* po/POTFILES.in: made it compile again.
      8e3259d0
    • Nate Summers's avatar
      Introduced GimpPaintTool and GimpDrawTool · 80a8d5a7
      Nate Summers authored
      80a8d5a7
  7. 25 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/channel_ops.c app/channels_dialog.c app/commands.c app/floating_sel.c · 2fd2a4e6
      Michael Natterer authored
      2001-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimpimage.[ch]
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/undo.c
      	* app/xcf.c
      	* app/tools/move.c: remove direct access of gimage->active_layer and
      	gimage->active_channel. Reading access is of course harmless, but
      	gimp_image_set_active_blah() will trigger a signal emission soon.
      
      	It will probably be neccessary to change the functions to accept
      	NULL layers and channels to acheive exactly what weird places like
      	floating_sel.c did before by setting it directly.
      
      	* gimptool-1.4.in
      	* libgimp/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/libgck/gck/Makefile.am: made linking against stable
      	GIMP installed in the same prefix work again by renaming all our
      	libraries explicitly to libgimp<foo>-1.3.* (not as part of the
      	libtool revision but as part of the library name). Removed the
      	libtool revision to avoid double versioning. This has to be
      	hardcoded in the libraries' Makefile.am ...
      
      	* app/Makefile.am
      	* plug-ins/FractalExplorer/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/bmp/Makefile.am
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/mkgen.pl
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/faxg3/Makefile.am
      	* plug-ins/fits/Makefile.am
      	* plug-ins/flame/Makefile.am
      	* plug-ins/fp/Makefile.am
      	* plug-ins/gap/Makefile.am
      	* plug-ins/gdyntext/Makefile.am
      	* plug-ins/gfig/Makefile.am
      	* plug-ins/gflare/Makefile.am
      	* plug-ins/gfli/Makefile.am
      	* plug-ins/gimpressionist/Makefile.am
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/ifscompose/Makefile.am
      	* plug-ins/imagemap/Makefile.am
      	* plug-ins/maze/Makefile.am
      	* plug-ins/mosaic/Makefile.am
      	* plug-ins/pagecurl/Makefile.am
      	* plug-ins/plugin-helper/Makefile.am
      	* plug-ins/print/Makefile.am
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/sel2path/Makefile.am
      	* plug-ins/sgi/Makefile.am
      	* plug-ins/webbrowser/Makefile.am
      	* plug-ins/xjt/Makefile.am: ... while all other Makefiles can simply
      	link against "libgimp<foo>-$(LT_REVISION).la"
      2fd2a4e6
  8. 24 Feb, 2001 3 commits
    • Michael Natterer's avatar
      commented out "text_width" and "text_height" · 539ee1fe
      Michael Natterer authored
      2001-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/pixmaps2.h: commented out "text_width" and "text_height"
      
      	* app/tools/Makefile.am
      	* app/tools/text_tool.[ch]: "It was really dead, Jim!"
      
      	* app/tools/tool.c: removed STUBs
      
      	* app/tools/tools.c: register it.
      539ee1fe
    • Michael Natterer's avatar
      updated. · 17335326
      Michael Natterer authored
      2001-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: updated.
      
      	* app/appenums.h
      	* app/apptypes.h: prefixed the cursor stuff with "Gimp", added
      	the new stock tool cursor enum. Removed the old ToolType enum.
      
      	* app/cursorutil.[ch]
      	* app/gdisplay.[ch]: removed the old ToolType enum and prefixed
      	the functions with "gimp_". Also stripped all "toggle cursor"
      	stuff from the cursor code, so the new API is easier and not
      	depending on the tool system.
      
      	All existing tool cursors can be used via the new stock tool
      	cursor enum, so no tool has to fiddle around with bitmap cursors.
      	There will be an cursorutil function for registering stock tool
      	cursor types on the fly.
      
      	* app/disp_callbacks.c
      	* app/scroll.[ch]: moved the display scrollbar callbacks from
      	scroll.[ch] to disp_callbacks.c. Removed some crap from scroll.h
      
      	* app/tools/tool.[ch]: removed the BitmapCursor pointers from the
      	tool class struct and add cursor and toggle cursor IDs to the
      	GimpTool struct. Work in progress.
      
      	* app/dialog_handler.c
      	* app/tools/bezier_select.c
      	* app/tools/blend.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/color_picker.c
      	* app/tools/convolve.c
      	* app/tools/crop.c
      	* app/tools/dodgeburn.c
      	* app/tools/edit_selection.c
      	* app/tools/ellipse_select.c
      	* app/tools/flip_tool.c
      	* app/tools/free_select.c
      	* app/tools/fuzzy_select.c
      	* app/tools/ink.c
      	* app/tools/iscissors.c
      	* app/tools/magnify.c
      	* app/tools/measure.c
      	* app/tools/move.c
      	* app/tools/paint_core.[ch]
      	* app/tools/perspective_tool.c
      	* app/tools/rect_select.c
      	* app/tools/rotate_tool.c
      	* app/tools/scale_tool.c
      	* app/tools/shear_tool.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.[ch]: changed accordingly. Did this
      	"blind" for most tools because they don't compile. The changes are
      	minimal, so there should be no conflicts.
      17335326
    • Michael Natterer's avatar
      added cmd_callbacks for the toolbox and the preferences dialog. · 04f71318
      Michael Natterer authored
      2001-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/commands.[ch]: added cmd_callbacks for the toolbox and
      	the preferences dialog.
      
      	* app/context_manager.c: cleanup.
      
      	* app/gimppreview.[ch]: made gimp_preview_render() public.
      
      	* app/gimptoolinfopreview.c
      	* app/tools/gimptoolinfo.c: the tool previews look nice now but
      	are still ugly implemented (it renders tons of temp_bufs on each
      	state change).
      
      	* app/indicator_area.[ch]: pass a context to the constructor.
      
      	* app/menus.c: don't call the toolbox and the prefs dialog
      	directly but dispatch via commands.[ch]
      
      	* app/preferences_dialog.[ch]
      	* app/toolbox.[ch]: renamed the constructor / raise function, cleanup.
      
      	* app/tools/color_picker.c: tried to get the shortcut working again.
      
      	* app/tools/paint_options.c: the brush dialog's paint options
      	are shown/hidden from the context manager now.
      04f71318
  9. 23 Feb, 2001 4 commits
    • Michael Natterer's avatar
      removed crap from ancient times when tools used to be an enum. · 3eb62f87
      Michael Natterer authored
      2001-02-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: removed crap from ancient times when tools
      	used to be an enum.
      
      	* app/brush_select.[ch]: cleaned up the gui and made global paint
      	mode toggling much simpler by expanding vertically instead of
      	reparenting.
      
      	* app/context_manager.c: removed hack by using a tool manager
      	accessor function.
      
      	* app/gimpcontext.c: use the new standard tool info object. Tools
      	also _behave_ like all other data types now (can e.g. be
      	refreshed).
      
      	* app/tools/tool.[ch]
      
      	* app/tools/gimptoolinfo.[ch]: added an "identifier" which is an
      	untranslated string with a meaningful prefix and name, e.g.
      	"gimp:color_picker_tool". Renamed "tool_name" and "tool_desc"
      	to "blurb" and "help", changed the constructor accordingly.
      	Added gimp_tool_info_get_standards() to make the context work
      	with tool refresh.
      
      	* app/tools/tool_manager.[ch]
      	* app/tools/tools.c: removed the global list of tool class
      	structures because the tool info list is in place.
      	Added tool_manager_register_tool_options() which calls
      	tool_options_dialog_add() and registers the options in the
      	global_tool_info_list.
      
      	* app/tools/Makefile.am
      	* app/tools/paint_options.[ch]
      	* app/tools/selection_options.[ch]
      	* app/tools/tool_options.[ch]
      	* app/tools/tool_options_dialog.[ch]: build them all again. This
      	is mostly the old tool options system with minor modifications to
      	work with the new stuff. The tool options auto-update with the user
      	context now, so there are no update functions any more.
      
      	* app/gimpdnd.c
      	* app/toolbox.c
      	* app/tools/color_picker.c
      	* app/tools/measure.c
      	* app/tools/move.c: changed accordingly.
      3eb62f87
    • Valek Frob's avatar
      Updated russian translation. · 9495ea51
      Valek Frob authored
      9495ea51
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new widget. · 69ba1531
      Michael Natterer authored
      2001-02-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimptoolinfopreview.[ch]: new widget.
      
      	* app/gimppreview.c
      	* app/tools/gimptoolinfo.c
      	* app/gimpdnd.c: changed for the tool info preview. Still buggy
      	and looks a bit funny at the moment :-)
      
      	* app/commands.[ch]
      	* app/menus.c: small new feature: shift-X toggles the whole context.
      69ba1531
    • Michael Natterer's avatar
      app/Makefile.am app/pixmaps.h removed some data files from app/ · f765a821
      Michael Natterer authored
      2001-02-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/pixmaps.h
      	* app/wilber.h: removed some data files from app/
      
      	* pixmaps/Makefile.am
      	* pixmaps/default.xpm
      	* pixmaps/swap.xpm
      	* pixmaps/wilber3.xpm: added them here.
      
      	* app/pixmaps2.h: added the "dialog_bits" stuff here.
      
      	* app/tips_dialog.c
      	* app/toolbox.c: use the new XPMs and remove hacks which created
      	the GdkPixmaps and GtkPreviews manually.
      f765a821
  10. 22 Feb, 2001 2 commits
  11. 21 Feb, 2001 5 commits
    • Michael Natterer's avatar
      forgot one s/gimptool/gimptool-1.4/ · 9417fa1d
      Michael Natterer authored
      2001-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: forgot one s/gimptool/gimptool-1.4/
      
      	* app/appenums.h: removed "UPDATE_CURSOR" from the ToolAction enum.
      
      	* app/context_manager.c: removed the toolbox toggle button updating
      	code here...
      
      	* app/toolbox.c: ...and handle it in the toolbox itself.
      
      	* app/devices.c: removed some obsolete old tool suff.
      
      	* app/tools/Makefile.am
      	* app/tools/move.[ch]: reactivated. Disabled the edit_selection
      	stuff for now. We need a way to temporary push tools to some stack
      	of the tool manager.
      
      	* app/tools/tool.[ch]: removed lot of stuff that is obsolete or
      	handled by the GimpToolInfo object now.
      
      	* app/tools/tool_manager.[ch]: stripped all tool options stuff
      	because they will be able to follow tool changes themselves.
      	Renamed some functions to be consistent.
      
      	* app/tools/tools.c: register the move tool again.
      
      	* app/cursorutil.c
      	* app/disp_callbacks.c
      	* app/gimage_mask.c
      	* app/global_edit.c
      	* app/tools/color_picker.c
      	* app/tools/measure.[ch]
      	* app/tools/tool_options.c: changed accordingly.
      9417fa1d
    • Simon Budig's avatar
      app/disp_callbacks.c app/gdisplay.c app/gdisplay.h Moved the Icon preview · 9c69a263
      Simon Budig authored
      2001-02-21  Simon Budig   <simon@gimp.org>
      
              * app/disp_callbacks.c
              * app/gdisplay.c
              * app/gdisplay.h
              * app/interface.c: Moved the Icon preview stuff to the idle-loop.
      9c69a263
    • Simon Budig's avatar
      Fixed stupid bug with the icon preview when creating the second preview. · e2418793
      Simon Budig authored
      2001-02-21  Simon Budig   <simon@gimp.org>
      
              * app/interface.c: Fixed stupid bug with the icon preview when
              creating the second preview. Please note that it still crashes
              on the second image, but this is hopefully not my fault...  :-)
      e2418793
    • Michael Natterer's avatar
      Made the tool system work again and integrated it back with the · 99c52018
      Michael Natterer authored
      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.
      99c52018
    • Daniel Egger's avatar
      New file containing the check types. · abaa110f
      Daniel Egger authored
      2001-02-21  Daniel Egger  <egger@suse.de>
      
      	* app/gimpchecks.h: New file containing the check types.
      
      	* app/image_render.h: ... definitions taken from here.
      	* app/temp_buf.c:
      	* app/temp_buf.h: New function temp_buf_new_check to create
      	a new checked temp_buf.
      abaa110f