- 23 May, 2014 1 commit
-
-
Michael Natterer authored
Add a combo that switches between "selection" and "entire layer". Need to find a way to hide that thing when the setting makes no difference. Also the combo is generally pretty much experimantal.
-
- 21 May, 2014 2 commits
-
-
Michael Natterer authored
This reverts commit d46a8335, it was a bad idea (like this at least).
-
Michael Natterer authored
This keeps the tool more responsive for expensive ops, since multiple fast changes are compressed into one call to gimp_image_map_tool_preview().
-
- 16 May, 2014 1 commit
-
-
Michael Natterer authored
and chain up where possible instead of duplicating that code.
-
- 06 May, 2014 1 commit
-
-
Michael Natterer authored
Particularly GimpViewable's stock_id. Make sure old config files containing stock IDs are still properly parsed.
-
- 04 May, 2014 1 commit
-
-
Michael Natterer authored
-
- 02 May, 2014 1 commit
-
-
Michael Natterer authored
There is now a preference option that determines whether windows should be opened on the same monitor as before. It should be disabled when the machine gets monitors plugged/unplugged dynamically ("laptop") and enabled when there is a static multi-monitor setup ("wokstation"). This is merely the current simplistic policy on top of the newly added underlying infrastructure: - pass integer monitor numbers around in all places where we already pass around a GdkScreen. Pass the "current" monitor to these changed APIs, where "current" is either the monitor where the action-triggering widget is, or if that is unavailable the monitor where the mouse is. - add gimp_widget_get_monitor() in order to easily get to the monitor, just like gtk_widget_get_screen(). - add screen and monitor parameters in some places that were missed before. - in sessionrc, save all window positions relative to the window's monitor, and save the monitor separately, if it's not the screen's primary monitor. - when restoring window positions, use the stored monitor when the new prefs options says so (use the screen's primary monitor if there is no stored monitor), otherwise use current monitor that is now passed around.
-
- 18 Apr, 2014 1 commit
-
-
Michael Natterer authored
because changing tools now automatically commits the old tool.
-
- 04 Apr, 2014 1 commit
-
-
Michael Natterer authored
On tool change, we used to simply halt tools before switching to the new one, which meant losing ongoing live-previewed tool changes, like transforms, warps and color corrections. This change makes them being applied to the image instead before switching to the new tool: Add enum value GIMP_TOOL_ACTION_COMMIT that is passed to GimpTool::control() before tool switching. Handle the new enum value in all tools, and actually commit the previewed stuff. This changes the behavior of GimpCageTool, GimpImageMapTool, GimpTransformTool and GimpWarpTool.
-
- 07 Jun, 2013 4 commits
-
-
Michael Natterer authored
and connect to it instead of to gimp_tool_gui_get_dialog()'s signal. One more step towards on-the-fly embedding/detaching.
-
Michael Natterer authored
Also make some of GimpToolGui's memory management proper, there was no leak but it needs to be proper in order to add runtime switching between dialog and overlay.
-
Michael Natterer authored
-
Michael Natterer authored
instead of implementing both dialog types manually.
-
- 31 May, 2013 1 commit
-
-
Michael Natterer authored
so gimp_image_map_tool_color_picked() isn't called any longer on clicks. Add a warning there in case it happens anyway because this is always a programming error.
-
- 30 May, 2013 2 commits
-
-
Michael Natterer authored
It's a "tooltip", and used as such, not a "help_id".
-
Michael Natterer authored
signals and vfuncs. This is currently unused, but GEGL operations can soon pick coordinates just like they can pick colors.
-
- 25 May, 2013 1 commit
-
-
Michael Natterer authored
It was misnamed from the beginning and has no relation to GimpImageMap except that it happens to be used by GimpImageMapTools. Now it feels less weird to potentially use it for other settings too.
-
- 17 May, 2013 2 commits
-
-
Michael Natterer authored
and only update the drawable in that area if it's not NULL. Useful for expensive interactive operations like warp, where the tool exactly knows which area has changed.
-
Michael Natterer authored
It's not needed because we don't modify the drawable's pixels any more.
-
- 13 May, 2013 1 commit
-
-
darkraid1 authored
Don't allow tool operations on invisible items, just like we do for group layers or locked items. Cleaned up and enhanced the patch a bit --Mitch
-
- 28 Apr, 2013 1 commit
-
-
Michael Natterer authored
Which means I have given up finding that last bug (for now).
-
- 25 Apr, 2013 2 commits
-
-
Michael Natterer authored
gimp_image_map_tool_initialize(): clean up adding the overlay. gimp_image_map_tool_dialog_hide(): hide the overlay before removing it.
-
Michael Natterer authored
don't try to remove a GimpOverlayDialog from the canvas twice.
-
- 21 Apr, 2013 1 commit
-
-
Michael Natterer authored
because we now use a filter and the image projection updates the visible part only.
-
- 16 Apr, 2013 4 commits
-
-
Michael Natterer authored
- reset the config object if it exists - trigger the first preview of the filter - remove the same stuff from all subclasses
-
Michael Natterer authored
- connect to the config object's notify generically and update the preview - allow to properly exchange the operation at runtime to remove major uglyness from GimpOperationTool - return undo_desc from GimpImageMapTool::get_operation() so we have proper strings in the undo history, not always "GEGL operation" - simplify all get_operation() implementations
-
Michael Natterer authored
-
Michael Natterer authored
Refactor GimpImageMapTool and GimpOperationTool to set the stock_id, and to be a bit smarter with the image map's undo string.
-
- 12 Apr, 2013 1 commit
-
-
Michael Natterer authored
which makes live update more responsive and removes tons of code, but adds a delay with progress when finally committing the effect.
-
- 09 Mar, 2013 1 commit
-
-
Michael Natterer authored
gimp_image_map_tool_initialize(): add the saved settings combo only if we have a config object.
-
- 12 Nov, 2012 1 commit
-
-
Michael Natterer authored
It's supported since GLib 2.28.
-
- 06 Sep, 2012 1 commit
-
-
Michael Natterer authored
Reset the tool on image changes again, but not if only the active drawable changes, so keep bug #678890 closed: Introduce new dirty flag GIMP_DIRTY_ACTIVE_DRAWABLE and set it on all tools' dirty_mask except for rect select. Check the new flag when reseting the active tool because of a drawable change.
-
- 26 Jul, 2012 1 commit
-
-
Michael Natterer authored
Make sure that temporarily setting/unsetting tool->control's "preserve tool across image changes" does not mess up the default value: Introduce gimp_tool_control_push/pop_preserve() which restores the old state automatically, and use it in all tools, instead of saying set_preserve(TRUE/FALSE) around image changes.
-
- 05 May, 2012 1 commit
-
-
Michael Natterer authored
because the tool might be cancelled from some other place opening an undo group, so flushing the image would update menus and whatnot while that other operation is running, with unforeseeable side effects. Also, flusing the image here is not needed because we didn't change anything in the image. Instead, make sure manually that the display is updated correctly after restoring GimpImageMapTool's temporary editing.
-
- 02 May, 2012 6 commits
-
-
Michael Natterer authored
so all subclasses can use it.
-
Michael Natterer authored
so they can be passed in instead of being looked up in the class struct, which enables freely configuring the settings stuff from subclasses, such as soon GimpOperationTool.
-
Michael Natterer authored
and change it to return the settings ui, not add it.
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
-