0cb3e75f79
app: use a lot of g_clear_object() and g_clear_pointer()
...
More than 2000 lines of code less in app/, instead of
if (instance->member)
{
g_object_unref/g_free/g_whatever (instance->member);
instance->member = NULL;
}
we now simply use
g_clear_object/pointer (&instance->member);
2017-07-15 18:42:44 +02:00
908f727f0a
Chain up unconditionally in GObject::constructed()
...
It's supported since GLib 2.28.
2012-11-12 21:51:22 +01:00
3e119c5af7
libgimpcolor: add gimp_rgb[a]_set,get_pixel()
...
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
3f7ee00469
app: Add axis lables to dynamics curves and curveview
2012-01-15 02:56:35 +02:00
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
3ba0554628
app: use proper vivid colors for the background curves
...
instead of dull ones. The curve view already displays them with 0.5
opacity, so there is no reason to make them even harder to distinguish.
2011-02-09 09:26:06 +01:00
aaee95d545
app: experimentally color the background curves
2011-02-09 01:07:48 +01:00
6c252921af
app: handle the inputs generically in GimpDynamicsOutputEditor
...
instead of having explicit code for each input in all functions.
2011-02-09 00:27:25 +01:00
2ed861fb8d
Bug 638795 - Brush Dynamics Curve editor stutters
...
Update the toggles in the treeview only if a boolean property of the
output changes, and not on *each* output change which includes each
tiny curve editing.
Also fix formatting in the whole file.
2011-02-08 22:09:52 +01:00
202124c438
app: implement GObject::constructed() instead of ::constructor()
2011-01-14 09:38:46 +01:00
b9a7c121a4
app: don't inherit from GtkHBox or GtkVBox
...
Instead, inherit from GtkBox directly and set the orientation in
init(). Replace more gtk_container_add() by gtk_box_pack_start() in
the reparented classes.
2010-10-30 15:44:46 +02:00
85a24f0420
app: fix compiler warning and minor formatting issues
2010-06-09 22:57:53 +02:00
5fda650281
app: Support for wheel input found in highend wacom tablets&tools
2010-03-09 22:23:44 +02:00
9447b125e6
app: Remove obslete draw queueing
2010-02-28 19:42:32 +02:00
9e9ea6f33a
app: improve dynamics editor behavior on switching
2010-02-28 19:01:43 +02:00
4ac06c04cd
app: Make reset curve button work
2010-02-28 02:04:16 +02:00
47ace57ce2
app: Working input selectors in the curve editors
2010-02-28 01:01:27 +02:00
47ce3bef8f
app: Small fixes dynamics output editor
2010-02-27 19:58:46 +02:00
82837da1df
app: Add background curves for dynamics
2010-02-27 19:22:48 +02:00
8b3592dc8f
app: Beginnings of curve changing
2010-02-27 18:32:58 +02:00
fea1690d40
app: Minor corrections to dynmics output editor
...
No more warning, but still no functionality.
2010-02-27 16:33:10 +02:00
3f4dafb07d
app: Beginnings of input selector, does not do anything yet
2010-02-25 22:34:03 +02:00
ba6a7d33ff
app: fix code formatting and UI packing
2010-02-22 10:35:43 +01:00
6c383b87a7
app: Add he beginnings of output editor
2010-02-22 01:04:37 +02:00