Commit Graph

60 Commits

Author SHA1 Message Date
a88c0ffb93 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
ff34ec33cc Bug 791455 - Please add support for barrel rotation in brush tools.
It turns out we already have the support since it uses the same axis as
the "wheel", used by other devices (for instance the Airbrush pen of
Wacom has a wheel reporting on this same axis).
We can't do any fancy support for this right now, but at least we can
clarify a bit the dynamics naming so that people understands it can be
used for both wheel and rotation input.
Fix the various "Wheel" dynamics strings into "Wheel/Rotation".
2017-12-11 18:57:17 +01:00
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
4df9a1d568 Get rid of gtk_misc_set_alignment(label) and use gtk_label_set_x,yalign() 2016-09-08 19:11:20 +02:00
58dd48564a app: simplify and fix paint dynamics editor sensitivity
Simplify because it's now a one-liner, fix because I broke it with
the previous commit.
2016-07-01 12:32:52 +02:00
af88e98afd Bug 767348 - Make Paint Dynamics icon customizable
Add an icon button to the dynamics editor's "mapping matrix" page. It
looks just as ugly as the icon button of the tool preset editor, the
two should be visually improved together.
2016-06-30 11:38:03 +02:00
e5b6806fe2 app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros
and remove lots of labels from calls to gimp_prop_foo_new(). Also
had to manually remove some unwanted labels that are now added
automatically, fixes bug #761880.
2016-02-11 23:46:24 +01:00
908f727f0a Chain up unconditionally in GObject::constructed()
It's supported since GLib 2.28.
2012-11-12 21:51:22 +01:00
867da8f293 app: add gimp_context_get_foreground,background_pixel()
which takes a Babl format to convert from/to.
Include <gegl.h> in a million places.
2012-05-02 17:50:41 +02:00
c35ff719a7 app/libgimp*: remove stuff found by -Wunused-but-set-variable 2011-05-01 23:23:19 +02:00
202124c438 app: implement GObject::constructed() instead of ::constructor() 2011-01-14 09:38:46 +01:00
88f2af98aa app: clean up the dynamics editor
Also fix its sensitivity when a read-only data is set. Fixes bug
curves).
2010-11-24 23:01:50 +01:00
1c786ae5d4 app: don't forget to free the models of the dynamics and preset editors 2010-04-11 15:54:09 +02:00
5fda650281 app: Support for wheel input found in highend wacom tablets&tools 2010-03-09 22:23:44 +02:00
ba6a7d33ff app: fix code formatting and UI packing 2010-02-22 10:35:43 +01:00
dd8c65aed3 Typo fixed 2010-02-22 10:52:06 +03:00
6c383b87a7 app: Add he beginnings of output editor 2010-02-22 01:04:37 +02:00
53dce99bfb app: Prepare dynamics editor for output curves 2010-02-22 01:04:16 +02:00
60705f79e9 app: Making spacing available as dynamic parameter
Spacing is now dynamically controllable. Unlike other parameters it
made little sense to scale down from default spacing so it scales between
current and maximum spacing.
2009-12-13 22:46:09 +02:00
0ce426cc79 Make the toggle grid insensitive when the dynamics are read-only 2009-10-18 13:24:59 +02:00
387ec40214 Remove useless frame and vbox that were copied over from the paint options 2009-10-18 13:10:58 +02:00
52dd01fdef Change user-visible strings from "Dynamics" to "Paint Dynamics"
Because "Dynamics" doesn't mean anything by itself. Didn't add the
"Paint" where the context is clear, like in the dynamics dialog
context menu.
2009-10-18 13:03:40 +02:00
57915302f6 Build with GSEAL_ENABLE 2009-10-17 21:24:12 +02:00
8fed74777d Rename boolean properties of GimpDynamicsOutput from "foo" to "use-foo" 2009-10-12 19:06:11 +02:00
824be894a1 Get rid of local unused variable "config" 2009-10-12 14:46:27 +02:00
77faffe4b7 Rename the output members of GimpDynamics from foo_dynamics to foo_output 2009-10-12 14:45:12 +02:00
db98f468cb Rename utility function 2009-10-11 22:43:46 +02:00
e23073a382 Clean up widget creation in gimp_dynamics_editor_init() 2009-10-11 22:32:14 +02:00
6a47c2a4b8 Get rid of unused cruft and reorder functions and includes 2009-10-11 22:06:54 +02:00
8df73b9323 Switch to using GimpDynamicsOutput's properties
* app/core/gimpdynamics.c: remove all boolean properties and add the
  outputs as properties instead. Make sure changes on the outputs get
  notified on the dynamics object.

* app/widgets/gimpdynamicseditor.c: change widget creation accordingly,
  also copy around the properties correctly when copying between
  dynamics objects (fixes NULL filenames on GimpData).
2009-10-11 21:25:28 +02:00
6409ecb389 Fix gimp_dynamics_editor_set_data() to really work this time 2009-10-10 23:02:18 +02:00
5bd751c2d2 Make model <-> data property copying work, and some cleanup 2009-10-10 21:48:17 +02:00
0ffcad4688 Several small fixes. 2009-10-10 21:43:58 +03:00
7f8b347677 Several small fixes. 2009-10-10 21:43:57 +03:00
860c952416 Inverted maping matrix and fixes to jitter 2009-10-07 23:32:17 +03:00
f89197f165 A small dynamics UI change 2009-10-07 19:32:37 +03:00
3a041ad252 Lots of improvements on dynamics 2009-10-03 18:53:25 +03:00
5eedaeb97a A bit better but probablt wrong state 2009-10-03 13:03:51 +03:00
cd36753f17 Fixed loading for dynamics and made them actually accessible 2009-10-03 12:59:45 +03:00
4cb185a8ba Fixing up the dynamics UI. Currently does not sync with the object in the context tho. 2009-08-25 21:28:24 +03:00
be40405fde Fix errors and warnings. 2009-08-24 22:51:46 -03:00
aac92da559 Have wires and function calls between dynamics and its editor 2009-08-24 15:55:44 -03:00
2ba3b36969 Have config value for prop button. 2009-08-24 11:15:14 -03:00
6f5488a046 Implement check button grid. 2009-08-24 09:44:06 -03:00
287f9ab887 Adjust UI code to make check button. 2009-08-23 11:56:03 -03:00
e61316cea1 Clean up and have a new branch. 2009-08-22 17:54:36 -03:00
0a90a75705 Make the dynamics editor build and move the commented out mess to the end of the file. 2009-08-21 21:14:23 +03:00
d73330e3fa Add UI to dynamics editor. 2009-08-20 12:51:07 -03:00
93f8216881 Renaming GimpDynamicsOptions to GimpDynamics and moving from paint/ to core/. A BIG change. 2009-08-20 04:25:26 +03:00
6aa4d55315 Solve errors in gimpcontext for dynamics. 2009-08-18 22:38:45 -03:00