Martin Nordholts
c331d5f9eb
Bug 598454 - Improve visual feedback for Free Select Tool handles
...
Highlight the handle for the first vertex in the Free Select Tool even
with button1 down, since releasing the button on the first point will
close the polygon, so it's a significant state which we must give
feedback for.
2009-12-21 22:24:26 +01:00
Martin Nordholts
50525e4543
app: Fill Free Select Tool handles when mouse is over them
...
Right now the Free Select Tool vertex handles are shown when the
cursor is in the proximity. Extend this a bit, so when the cursor is
_on_ a vertex handle, fill it completely. See bug 598454.
2009-12-21 21:27:54 +01:00
Martin Nordholts
90d7ffde1a
app: Make all GimpDialogFactory members private
...
Add necessary trivial API that allows us to make remaining
GimpDialogFactory instance members private, and make them private.
2009-12-20 20:21:26 +01:00
Martin Nordholts
6eb3e65445
app: Remove unused variables in gradient_options_gui()
2009-12-19 09:29:49 +01:00
Alexia Death
d2ad292848
app: Remove repeat options from gradient for paint tools
...
Repeat for gradient/color or any other dynamic driving is provided by fade.
2009-12-18 20:51:23 +02:00
Martin Nordholts
c7a5195bdf
Bug 604078 - Crash when pressing Backspace with Free Select Tool
...
Make sure we never call gimp_free_select_tool_remove_last_segment()
with priv->n_segment_indices being negative, and increase robustness
of the code in general.
Note that we always halt the tool when backspace is pressed and there
are no vertices left. This is to minimize the risk of ending up in an
invalid tool state.
2009-12-09 22:33:03 +01:00
Alexia Death
a736b8f972
Adding repeat option to fade.
...
Now fade can be applied either as sawtooth or triangular wave.
Also fade can be reversed.
2009-12-06 20:06:34 +02:00
Michael Natterer
ae70da3e72
Remove unused #define STATUSBAR_SIZE 200
2009-11-03 15:43:32 +01:00
Michael Natterer
398607ee94
Bug 599765 - F1 key on gimp-tool-align in menu have wrong link and it open gimp-tool-move
...
Add help ID "gimp-tool-align" and use it for the align tool.
2009-10-27 18:54:34 +01:00
Michael Natterer
8a377be277
Turn legacy tranlation context "tool|_Zoom" into a proper one
2009-10-19 00:13:56 +02:00
Michael Natterer
84ab7454b5
Put the image map tool dialogs into overlay boxes when in fullscreen mode
2009-10-18 22:42:21 +02:00
Alexia Death
210a4b5044
Merge resolution
2009-10-17 21:42:02 +03:00
Michael Natterer
fb1fdf49b4
Build with GSEAL_ENABLE
2009-10-17 19:33:46 +02:00
Alexia Death
4e018eaa18
Merge commit 'origin/master' into soc-2009-dynamics
2009-10-15 22:58:25 +03:00
Michael Natterer
473b5122ae
Move the cursor to the logical end of the selection when cancelling it
...
gimp_text_tool_move_cursor(): when there is something selected, and
cursor movement does not extend that selection, move the cursor to the
end of the selection that is in moving direction. This it *not*
how GtkTextView behaves, but it should, see bug #50942 .
2009-10-15 12:04:09 +02:00
Michael Natterer
36523134f5
Resurrect the paint option's "use-fade" property and UI
...
Whether to use fade at all is a user input, so should be controllable
independently from its dynamic mapping. The reborn property is not
used again yet.
2009-10-13 19:19:12 +02:00
Michael Natterer
488c52c16a
Remove dynamics cruft that is now done elsewhere
2009-10-12 12:23:07 +02:00
Michael Natterer
42b66678f5
Honor the "global-dynamics" setting
2009-10-11 01:44:38 +02:00
Alexia Death
11d6219776
Merge commit 'origin/master' into soc-2009-dynamics
2009-10-10 10:23:25 +03:00
Michael Natterer
2da2c510d2
Use gtk_widget_get_window() instead of widget->window
2009-10-09 21:19:05 +02:00
Michael Natterer
33150b4a1b
Use gtk_widget_get_window() instead of widget->window
2009-10-09 21:19:05 +02:00
Alexia Death
2eab9f2ca4
Merge fixes
2009-10-09 20:38:43 +03:00
Michael Natterer
e57b0eee63
Don't call gimp_display_get_image() on a NULL display
2009-10-07 19:46:01 +02:00
Michael Natterer
08f35de4ac
Use gimp_display_get_image() instead of display->image
2009-10-07 19:00:42 +02:00
Alexia Death
88e7d5396d
Merge commit 'origin/master' into soc-2009-dynamics
2009-10-07 19:42:04 +03:00
Michael Natterer
c5b856f16f
Use gimp_display_get_image() instead of display->image
2009-10-06 19:20:44 +02:00
Michael Natterer
d1ded0617f
More gimp_display_get_shell() instead of display->shell
2009-10-05 19:58:03 +02:00
Michael Natterer
7d878f6f4b
Use the GimpDisplayConfig from GimpDisplay where possible
...
...instead of going via display->gimp and casting.
2009-10-04 20:22:06 +02:00
Michael Natterer
8ba18309eb
Use display->gimp intead of display->image->gimp
2009-10-04 20:05:28 +02:00
Michael Natterer
ac98c2c234
Use gimp_display_get_shell() instead of directly accessing it
2009-10-04 19:56:39 +02:00
Michael Natterer
dee0afed79
Move the statusbar back to GimpDisplayShell
...
Keeping it in GimpImageWindow was a bad idea because
- it wasted space
- it produced evil code because
- it conceptually didn't belong there
2009-10-04 15:33:03 +02:00
Alexia Death
3a041ad252
Lots of improvements on dynamics
2009-10-03 18:53:25 +03:00
Alexia Death
155393491b
Merge commit 'origin/master' into soc-2009-dynamics
2009-10-03 14:12:53 +03:00
Michael Natterer
f6fd3aed51
Move GimpDisplayShell's expose functions to separate files
2009-10-02 23:55:26 +02:00
Michael Natterer
1c430a2b19
Move all GimpImageWindow members to a private struct
...
Add accessor functions for publically available members and visibility
functions for menubar and statusbar.
2009-09-29 21:44:43 +02:00
Michael Natterer
253b8e2cbe
Use gimp_display_shell_get_window() instead of gtk_widget_get_toplevel()
...
The new function does the right thing, unlike get_toplevel() which
returns the shell itself if it is not in a window. Check the return
value of get_window() for being non-NULL.
2009-09-29 20:32:26 +02:00
Michael Natterer
54edc20113
Add missing #include "gimpimagewindow.h"
2009-09-28 22:55:54 +02:00
Michael Natterer
0b12978761
Go via gtk_widget_get_toplevel() to get to the statusbar
2009-09-28 22:55:42 +02:00
Michael Natterer
10b98034d4
Move the statusbar to GimpImageWindow
...
As with the menubar, port some code properly, and add some
horrible /* FIXME image window */ hacks to make it work.
2009-09-28 22:55:38 +02:00
Alexia Death
e75d44c77c
Merge commit 'origin/master' into soc-2009-dynamics
2009-09-28 20:30:17 +03:00
Martin Nordholts
8bfcd14f9a
app: Add GimpSessionInfo getters and setters
2009-09-20 14:51:03 +02:00
Alexia Death
be78fe3b1d
Merge commit 'origin/master' into soc-2009-dynamics
2009-09-20 14:32:32 +03:00
Michael Natterer
9e18f771c4
Replace "Group Layer" by "Layer Group" in all user visible strings
2009-09-03 14:57:18 +02:00
Michael Natterer
0b09278c17
Don't access item->width and ->height directly
2009-09-03 01:00:14 +02:00
Michael Natterer
a12a9fa70e
gimp_vector_tool_button_press(): don't edit locked vectors
2009-09-01 12:43:43 +02:00
Michael Natterer
02903d6970
Use gimp_item_is_content_locked() instead of gimp_item_get_lock_content()
...
Use the new API whenever we want to determine the item's effective
lock state (whether we can write to the item's content or not). Use
gimp_item_get_lock_content() only in code that actually deals with
*this* item's locked state, which is only the PDB wrappers and GUI to
modify the flag on the item itself.
2009-08-29 15:27:04 +02:00
Michael Natterer
e979c08133
Start separating the logic for "locked" and "is group" again
...
The idea that group layers count as locked was a bad one, start adding
separate checks for group layers, and refuse to modify them with
distinct error messages.
2009-08-28 20:07:14 +02:00
Michael Natterer
6aadd0bbc9
Rename gimp_image_pick_correlate_layer() to gimp_image_pick_layer()
2009-08-25 23:18:34 +02:00
Michael Natterer
f61f435699
Filter out linked children of linked items to translate
2009-08-25 15:57:04 +02:00
Michael Natterer
9040afc0fc
Set BAD cursors if the active drawable is locked
2009-08-21 19:34:59 +02:00