Michael Natterer
8f294661b2
app: don't #include "core/gimpprogress.h" when not needed
2011-02-22 17:32:33 +01:00
Michael Natterer
c3ff71df8b
app: connect the blob editor's and the ink option's properties explicitly
...
instead of using gimp_config_connect(model,view,NULL) because that
also connected the model's name to the view's *widget* name, which is
a really bad idea.
2011-02-15 18:48:38 +01:00
Michael Natterer
543b97bfb3
Bug 641761 - "Smooth Stroke" option in Blend tool
...
Show the smooth stroke options only for paint tools.
2011-02-14 10:38:32 +01:00
Michael Natterer
ec196a8ac4
app: allow to set a color for GimpCurveView's primary curve
...
and redo how the curves tool sets its curves in order to support this
without code duplication. Also change the color of the yellow curve in
the dynamics output editor to orange because yellow is hardly visible.
2011-02-10 20:05:50 +01:00
Barak Itkin
18b9ba1c87
app: Add some comment documentation to code
2011-02-07 03:29:23 +02:00
Michael Natterer
f76bcab221
app: move "default-threshold" from GimpGuiConfig to GimpCoreConfig
2011-02-06 11:20:06 +01:00
Michael Natterer
70f88c4320
app: don't update the highlight when the rectangle tool is resumed
...
It causes an infinite invalidation loop.
2011-01-27 21:36:58 +01:00
Alexia Death
452819143a
app: half-sane aspect ratio implementation
2011-01-25 23:28:02 +02:00
Martin Nordholts
3c95ed31e0
Fix compiler warning about missing newline
2011-01-24 08:10:01 +01:00
Alexia Death
5f9bd0c044
app: add reset buttons to all brush settings sliders
2011-01-23 18:17:25 +02:00
Øyvind Kolås
cad3778eea
gegl-tool: remove render ops from blacklist
...
This allows fractal-explorer, checkerboard and the newly added grid op to
render.
2011-01-13 23:02:50 +00:00
Michael Natterer
503a9cebce
app: implement GObject::constructed() instead of ::constructor()
2011-01-13 10:06:07 +01:00
Michael Natterer
70574877d3
app: use GimpSpinScale for the new smoothing options
...
This drops the log scale, but the new widget will get a better
solution for this anyway. Also did some cleanup.
2011-01-09 00:21:10 +01:00
Michael Natterer
c29aefccc2
app: fix coding style in the new smoothing code
2011-01-08 22:18:56 +01:00
Alexia Death
339deed1da
app: Clean up smooth so it would be acceptable for master
2011-01-08 22:19:27 +02:00
Alexia Death
082aa272a4
app: G-Pen algorithm for GIMP trunk. Now smoothing function works for Ink and Brush tools.
...
Rebased/fixed to go on top of current master. Next commit will add cleanup.
Had to change author tag because gnome is not accepting random stuff
in email fields. Original author is tarai, from gimp painter project
in sourceforge.
2011-01-08 22:17:26 +02:00
Michael Natterer
4aa36044f7
app: no need to set GTK_UPDATE_DELAYED on the levels scale
...
because we idle preview anyway in GimpImageMap.
2011-01-07 19:33:45 +01:00
Michael Natterer
6d6ec38085
app: no need to set a GtkRange's update-policy to CONTINUOUS
...
because it's the default.
2011-01-07 17:18:48 +01:00
Michael Natterer
36de5a2ab1
Bug 630376 - Crash with text layer / text tools stay on canvas when text info is discarded
...
Halt the tool when the text layer's text disappears.
2010-11-28 15:28:28 +01:00
Michael Natterer
357e25bfd1
app: move the cage tool after all other transform tools, not before them
2010-11-28 13:16:35 +01:00
Michael Natterer
bbc3943638
app: some cleanup in the new paint options code
2010-11-25 21:30:29 +01:00
Alexia Death
904048cdcb
app: Clearly present Fade and Color dynamics options as such
2010-11-25 19:06:16 +02:00
Michael Natterer
d46b53f63d
Bug 635040 - Edit -> Stroke Path performs no action on an incomplete path
...
Add error reporting to gimp_drawable_stroke_vectors() and produce the
same warning as the paint core when trying to stroke a path with zero
or one points only.
2010-11-25 11:31:40 +01:00
Michael Natterer
65c6264259
app: change icon for brush size reset button and add tooltip
2010-11-24 22:31:56 +01:00
Michael Natterer
223ae53fcc
app: set the cage tool's dirty mask so it is canceled upon image changes
2010-11-21 14:13:58 +01:00
Michael Natterer
b5ece8b364
app: the ink sensitivity spin scales need two decimal digits precision
2010-11-19 15:19:24 +01:00
Michael Natterer
7a3dc6ee38
app: remove unused #includes
2010-11-15 00:23:18 +01:00
Michael Natterer
c4cd420ef8
app: rename GIMP_INK_BLOB_TYPE_ELLIPSE to GIMP_INK_BLOB_TYPE_CIRCLE
...
- TYPE_SQUARE is also named SQUARE and not RECTANGLE
- serialization doesn't suffer from the changed name because it's the
default value that never gets serialized
- a lot of messy code in the ink options can be replaced by a one-liner
because the enum names now match their resp. stock items
2010-11-14 16:29:42 +01:00
Michael Natterer
dc9018bd14
app: implement GimpTool::options_notify()
2010-11-10 19:08:39 +01:00
Alexia Death
5fa1e9ea40
app: Tell the user how to commit the cage transform
2010-11-10 19:11:49 +02:00
Michael Natterer
ef44bfedad
app: check for GIMP_BUTTON_RELEASE_CANCEL, not GDK_BUTTON3_MASK
2010-11-10 14:39:30 +01:00
Mikael Magnusson
372bc90f65
app: fix right-click cancelling a transform tool
...
to only revert back to before the current drag, not do a full reset
2010-11-10 14:39:06 +01:00
Mikael Magnusson
d6e76a10d6
app: fix redraw after cancelling a transform tool with right-click cancelling
2010-11-10 14:35:27 +01:00
Michael Natterer
32926c9b6a
app: implement GimpTool::options_notify()
...
instead of connecting to the tool options manually.
2010-11-10 14:20:33 +01:00
Michael Natterer
9e5eca8fd1
app: add virtual function GimpTool::options_notify()
...
which gets called on each "notify" from the tool options. This way
tool can simply implement this method instead of connecting to
"notify" themselves individually.
2010-11-10 14:18:33 +01:00
Michael Natterer
f6a284dc4c
app: use a canvas progress in the cage tool
...
This is a proof-of-concept hack that needs review and comments before
being used generally.
2010-11-09 19:35:54 +01:00
Michael Natterer
63fcfb15a2
app: use the new shifting API instead of reimplementing it
2010-11-09 11:32:40 +01:00
Michael Natterer
3f6a70f7fe
app: define one more standard tool handle size
2010-11-08 22:48:50 +01:00
Michael Natterer
cf0402f069
app: consistent handle sizes for tool drawing
...
Replace a myriad of defines in different tools by three consistent
sizes defined in gimpdrawtool.h.
2010-11-08 22:37:00 +01:00
Michael Natterer
a73348c561
app: fix handle hovering detection, it was using the wrong radius
2010-11-06 00:06:13 +01:00
Michael Natterer
31aa09a11f
app: add proper cursors that show what will happen
2010-11-06 00:06:13 +01:00
Michael Natterer
9d604a545f
app: move all the cage modifying logic to button_release()
...
so any interaction can be canceled by holding BUTTON3 while
releasing. Add additional state "hovering_handle" so we can do proper
drawing that matches what will happen on mouse interaction.
2010-11-05 23:49:48 +01:00
Michael Natterer
f4c98fbad6
app: don't use a GimpVector2 for the cursor position
...
because less code is more readable.
2010-11-05 22:30:10 +01:00
Michael Natterer
9867cf62c3
app: -1000 is a valid cursor position, use G_MINDOUBLE as "no cursor"
2010-11-05 22:25:14 +01:00
Michael Natterer
baf964a734
app: rename member handle_moved to moving_handle
2010-11-05 22:21:56 +01:00
Michael Natterer
038a6dd671
app: no need to abort the image map when a handle changes
2010-11-05 21:05:54 +01:00
Michael Natterer
77bb31ba51
app: put the drawn lines into a stroke group
2010-11-05 20:00:20 +01:00
Michael Natterer
86a220bbdf
app: remove the preview node and other unneeded stuff
...
and simplify the code even further.
2010-11-05 19:47:57 +01:00
Michael Natterer
6f31f3d2f6
app: pass the drawable to gimp_cage_tool_create_image_map()
2010-11-05 19:42:42 +01:00
Michael Natterer
2028d547a2
app: use the GimpImageMap as it's meant to be used
...
Have an incremental live preview of the rendering and actually use the
rendering instead of throwing it away and doing it all over again on
commit. gimp_cage_tool_process() is therefore currently unused but I
left it there for Alexia to fix the tool for layers with masks.
2010-11-05 19:10:03 +01:00