Michael Natterer
135090c57f
Actually use the paint option's "use-fade" property again
...
...and remove gimp_dynamics_input_fade_enabled(). Looks cleaner
now so must be right ;)
2009-10-13 19:33:38 +02:00
Michael Natterer
8fed74777d
Rename boolean properties of GimpDynamicsOutput from "foo" to "use-foo"
2009-10-12 19:06:11 +02:00
Michael Natterer
77faffe4b7
Rename the output members of GimpDynamics from foo_dynamics to foo_output
2009-10-12 14:45:12 +02:00
Michael Natterer
b6dd77ab84
Whitespace fix
2009-10-12 12:23:36 +02:00
Michael Natterer
c8db734932
Make sure changes dynamics are properly saved to disk
...
Implement GObject::dispatch_properties_changed() and call
gimp_data_dirty() if a serializable property changed.
2009-10-11 21:39:46 +02:00
Michael Natterer
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
Michael Natterer
cad2218b6a
Move GimpDynamicsOutput to its own class
...
...but use it only as struct to keep GimpDynamics' properties
for now. More refactoring later.
2009-10-11 13:53:59 +02:00
Michael Natterer
892f43fe98
Move GimpDynamicsOutput typedef to core-types.h, some cleanup
2009-10-11 13:16:31 +02:00
Alexia Death
d69b4f49e3
Fixing style I think
2009-10-11 13:54:40 +03:00
Alexia Death
424294b738
Remove the special method for mixing scale thats absolete now with limist gone.
2009-10-11 11:26:44 +03:00
Alexia Death
2656875953
Remove the silly ratio limit from scale and just make sure that transformation result is at least 1px
2009-10-11 10:57:13 +03:00
Michael Natterer
ba355321cf
Various cleanups in the GimpDynamics object
2009-10-11 01:19:40 +02:00
Alexia Death
9b0f6ae5e2
Make saves work a bit more.
2009-10-10 22:29:04 +03:00
Alexia Death
4a5f070217
Fixing dynamics extension on save
2009-10-10 22:05:50 +03:00
Alexia Death
0ffcad4688
Several small fixes.
2009-10-10 21:43:58 +03:00
Alexia Death
7f8b347677
Several small fixes.
2009-10-10 21:43:57 +03:00
Alexia Death
72e976cca6
Make saving work. sortof.
2009-10-10 20:46:06 +03:00
Alexia Death
212ea4cc66
Start of dynamic jitter
2009-10-04 11:40:26 +03:00
Alexia Death
3a041ad252
Lots of improvements on dynamics
2009-10-03 18:53:25 +03:00
Alexia Death
6581893616
Fix color dynamic
2009-10-03 16:54:10 +03:00
Alexia Death
0a2d99ab16
Adding all other drivers to calculation and ading several other calculation methods for differently distributed values like angle and aspect ratio.
2009-10-03 15:12:03 +03:00
Alexia Death
da2920b0eb
Adding random as part of the calculations, renaming calc method to linear for type
2009-10-03 14:08:05 +03:00
Alexia Death
cd36753f17
Fixed loading for dynamics and made them actually accessible
2009-10-03 12:59:45 +03:00
Alexia Death
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
zhenfeng zhao
287f9ab887
Adjust UI code to make check button.
2009-08-23 11:56:03 -03:00
Alexia Death
db8aa6cb21
Make dynamics object have an effect on the paintpbrush. Currently pressure and velocity only.
2009-08-20 22:46:17 +03:00
Alexia Death
e04a7617d5
Cleaning up the dynamics init a little bit more
2009-08-20 18:24:50 +03:00
Alexia Death
4af5324d58
Cleaning up the dynamics init a little bit
2009-08-20 15:53:40 +03:00
Alexia Death
93f8216881
Renaming GimpDynamicsOptions to GimpDynamics and moving from paint/ to core/. A BIG change.
2009-08-20 04:25:26 +03:00