Ed J
345bf01c01
Doc that gimp-display-new gives execution error if no GIMP GUI.
2014-05-27 00:56:05 +01:00
Michael Natterer
d36bc86292
app: fix off-by-0.5 drawing in GimpDial caused by ROUND() and a wrong offset
2014-05-26 19:09:30 +02:00
Michael Natterer
0a49755712
app: highlight the angles of GimpDial that are currently moved
2014-05-26 18:51:12 +02:00
Michael Natterer
d20b576814
app: don't create and fill the background surface on each expose()
...
Instead, keep it around and only recreate it when widget size or
background type change.
2014-05-26 11:03:39 +02:00
Michael Natterer
5c37ef213d
app: restore ungrab on unmap in GimpDial
...
which I broke when splitting classes.
2014-05-26 10:56:18 +02:00
Michael Natterer
98d6f44231
app: move GimpDial's background drawing to a new parent class, GimpCircle
...
so we can use that as a parent class for other circle/wheer interactions
in other subclasses.
2014-05-26 09:23:55 +02:00
Michael Henning
6923f49b0d
app: Fix broken header guards.
2014-05-25 20:50:56 -04:00
Michael Natterer
b087705c82
app: show an angle dial next to all GEGL angle properties
2014-05-25 21:53:14 +02:00
Michael Natterer
4ec888a771
app: add gimp_prop_angle_dial_new() which handles deg and rad
2014-05-25 21:52:39 +02:00
Michael Natterer
624b0453df
app: make GimpDial's size configurable via a property
2014-05-25 20:48:47 +02:00
Michael Natterer
5fbcc70c0c
app: add boolean draw_beta property to GimpDial
...
so it can be used to pick just one angle.
2014-05-25 20:24:47 +02:00
Michael Natterer
06f5e47a0e
app: use gimp_cairo_add_arc() in GimpDial
2014-05-25 20:11:51 +02:00
Michael Natterer
b9c7f4fe1e
app: make GimpDial's backgrond configurable and add a plain version
...
which does not show any background color wheel.
2014-05-25 18:22:44 +02:00
Michael Natterer
e3e743bd6b
app: rename angle_mod_2PI() to normalize_angle(), there is no mod involved
2014-05-25 17:42:56 +02:00
Michael Natterer
804f3e4bbe
app: even more cleanup in GimpDial
2014-05-25 17:41:14 +02:00
Michael Natterer
db7b87e8cf
app: credit the color-rotate authors in the GimpDial copyrights
2014-05-25 17:25:39 +02:00
Michael Natterer
e9e4791344
app: simplify and clean up angle utility functions in GimpDial
2014-05-25 17:22:50 +02:00
Michael Natterer
04c36b80c1
app: clean up and simplify code and math in GimpDial
2014-05-25 17:05:59 +02:00
Michael Natterer
5571ad5400
app: turn GimpDial's border_width into a property and default to 0
2014-05-25 16:30:12 +02:00
Michael Natterer
41b15c709d
app: move all GimpDial members to a private struct
2014-05-25 16:21:32 +02:00
Michael Natterer
8f07ea37f0
app: prepare GimpDial background drawing to be generic (not only HSV)
2014-05-25 16:12:07 +02:00
Michael Natterer
710281ed54
app: add a boolean "clockwise" property to the new GimpDial widget
2014-05-25 15:45:55 +02:00
Michael Natterer
7286bbda52
app: use GimpSpinScale in the shear tool dialog
2014-05-25 15:44:38 +02:00
Michael Natterer
f1573c42d2
app: default to GIMP_HELP_BROWSER_WEB_BROWSER if there is no webkit
2014-05-25 15:23:58 +02:00
Michael Natterer
38c0937b8f
Bug 723534 - Warp transform tool does not follow active layer
...
Add GIMP_DIRTY_ACTIVE_DRAWABLE to the warp tool's dirty mask, so it
correctly switches to the new active layer. Also remove
GIMP_DIRTY_IMAGE_STRUCTURE, I don't know why that was there in the
first place.
2014-05-25 15:00:49 +02:00
Michael Natterer
b2ac41b961
app: add initial version of GimpDial, a widget to select a range of angles
...
Ported from the color-rotate plug-in.
2014-05-25 03:21:13 +02:00
Michael Natterer
3e6a7f4012
pdb, plug-ins: remove the rotate plug-in and add a PDB compat procedure
2014-05-24 22:46:11 +02:00
Michael Natterer
21ea6216f7
app: gimp_image_rotate(): fix rotation of sample points
...
and also notify the image of guide and sample point movements after
rotation. This was probably broken since the introduction of canvas
items.
2014-05-24 22:41:21 +02:00
Michael Natterer
62cbd3eac3
app: show the region combo only if the op has the "position-dependent" key
...
otherwise, hide it and default to SELECTION.
2014-05-24 03:06:24 +02:00
Michael Natterer
bb73acbb15
app: create an empty node with the gegl:nop operation
...
so we can safely ask for its name (workaround for GEGL warning).
2014-05-24 03:04:26 +02:00
Michael Natterer
3550132ac7
app: add support for picking GEGL relative-coordinate values
...
Also, don't link relative coordinates by default, and remove some crap
heuristics that predate property keys.
2014-05-24 01:38:15 +02:00
Michael Natterer
6c5515c676
app: allow to specify the workarea of GEGL ops in the GEGL tool GUI
...
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.
2014-05-24 01:07:28 +02:00
Michael Natterer
41fc19e7b3
pdb: fix workarea of some plug-in compat procecures
...
If the removed plug operated on the selection bounds, translate and
crop the GEGL op accordingly to get the same result. Also adapt to
new relative coordinates in some GEGL ops.
2014-05-24 00:47:23 +02:00
Michael Natterer
b7491bf5cb
app: use the grid icon for gegl:grid
2014-05-22 23:30:49 +02:00
Michael Natterer
413846475f
app: make GimpOperationTool manage an icon name for the GUI
...
and add an icon_name parameter to gimp_operation_tool_set_operation().
2014-05-22 23:29:59 +02:00
Michael Natterer
453882c81e
app: add gimp_tool_gui_set_icon_name()
2014-05-22 23:29:24 +02:00
Michael Natterer
7d89de708e
app: GimpViewableDialog:icon-name doesn't need to be CONSTRUCT_ONLY
...
It works fine to set it after construction.
2014-05-22 23:28:19 +02:00
Michael Natterer
7647b0d3a0
Bug 730550 - Layers incorrectly positioned on screen
...
gimp_group_layer_update_size(): update the group layer's offset node
before reallocating the group's projection, or we might render the
group projection's buffer with the old offsets.
2014-05-22 20:48:50 +02:00
Michael Natterer
f0ebc09422
app: remove newline in GimpFilterStack
2014-05-22 20:48:50 +02:00
Michael Natterer
7ae3612485
app: GimpBrightnessContrastTool: don't call gimp_image_map_tool_preview()
...
it was redundant because the function already modified the config
object.
2014-05-22 01:25:01 +02:00
Michael Natterer
ebb663e1c6
Revert "app: add a small delay when applying a GUI change in GimpImageMapTool"
...
This reverts commit d46a8335e6
,
it was a bad idea (like this at least).
2014-05-22 01:17:52 +02:00
Michael Natterer
d46a8335e6
app: add a small delay when applying a GUI change in GimpImageMapTool
...
This keeps the tool more responsive for expensive ops, since multiple
fast changes are compressed into one call to gimp_image_map_tool_preview().
2014-05-22 00:50:21 +02:00
Michael Natterer
d3966c2c90
app: add more accessors to GimpGrid and use them instead of grid->foo
2014-05-21 21:44:28 +02:00
Michael Natterer
5e2ded5020
app: add gimp_grid_get_spacing() and gimp_grid_get_offset()
...
and do the rounding to integer there instead of in several places.
2014-05-21 21:25:41 +02:00
Michael Natterer
08c6aefa23
Bug 588512 - Grid Spacing errors depending on unit
...
Always round grid spacings and offsets to integer precision when
using them for snapping and grid drawing. While we might *want* to
have subpixel precision grids, all the UI is pretending it to be
on pixel boundaries. Make that pretense an fact.
2014-05-21 20:43:05 +02:00
Michael Natterer
d1b8a715c2
app: ref/unref layer->fs.drawable in gimp_layer_set_floating_sel_drawable()
...
It always felt wrong not to ref it, but now it started crashing. Dunno
what exactly has changed, but for example the "Weave" script was
triggering it.
2014-05-20 23:39:53 +02:00
Michael Natterer
40030e084b
plug-ins, pdb: remove the deinterlace plug-in and add a PDB compat proc
2014-05-20 21:30:42 +02:00
Michael Natterer
f3092ebfa4
app: minor cosmetic cleanup in the GEGL property code
2014-05-20 20:47:31 +02:00
Øyvind Kolås
b919d7a82f
app: use step, page and digits as provided by gegl pspecs
2014-05-20 16:16:48 +02:00
Michael Natterer
bbf01ebabf
libgimpwidgets, app: add gdk_screen_get_monitor_workarea()
...
to the gimp3migration hack and use it where appropriate, so in the
gtk3-port branch windows will not overlap with docks, panels etc.
2014-05-19 14:37:32 +02:00