Michael Natterer
5f700549e7
Change the license URL from http://www.gnu.org/licenses/ to https://
2018-07-11 23:29:46 +02:00
Michael Natterer
80997a8646
Remove most GTK_ADJUSTMENT() and (GtkAdjutment *) casts
...
they are obsolete in GTK+ 3.x because GtkAdjustment cannot be passed
around as GtkObject any longer, GtkObject is gone.
2018-06-24 18:15:16 +02:00
Simon Budig
7d64cf62c6
libgimpwidgets: rename the _grid()-Variants of gimp_scale_entry_*
...
Adjust all plugins to follow accordingly.
This concludes the GtkTable'ocide.
2018-05-20 21:06:35 +02:00
Simon Budig
f01a978627
libgimpwidgets: kill the last remaining occurencces of GtkTable
2018-05-20 21:06:35 +02:00
Michael Natterer
1ce246f2da
libgimpwidgets: add GtkGrid variants of gimp_[color_]scale_entry_new()
...
as temporary porting hack, they will eventually be renamed to the old
names once GtkGrid porting is done.
2018-05-20 21:06:30 +02:00
Michael Natterer
da5e72369e
libgimpwidgets: make GimpColorScale more-or-less work fine
...
also derive it from GtkRange directly not from GtkScale.
2018-05-20 21:06:29 +02:00
Michael Natterer
00a6597cd9
libgimpwidgets: s/GtkObject/GtkAdjustment/
2018-05-20 21:06:26 +02:00
Michael Natterer
49469091b8
libgimpwidgets: reorder some code in gimp_scale_entry_new_internal()
...
just to keep the diff small for an hack on the gtk3-port branch.
2017-05-22 22:53:50 +02:00
Michael Natterer
1ec2e2eb2f
libgimpwidgets: a little s/GtkObject/GtkAdjustent/ in gimpscaleentry.c
2017-05-19 12:07:19 +02:00
Michael Natterer
0c2ec6ad86
libgimpwidgets: simplify gimp_scale_entry a lot by using GBindings
...
Always use separate GtkAdjustments for the scale and the spinbutton,
and link them with a GBinding, either 1:1 or using logarithmic
transform functions.
This change also enables modifying both widgets' ranges independently
after construction, thus enabling the "constrain" feature also for
gimp_color_scale_entry_new().
2017-05-18 18:24:35 +02:00
Michael Natterer
4df9a1d568
Get rid of gtk_misc_set_alignment(label) and use gtk_label_set_x,yalign()
2016-09-08 19:11:20 +02:00
Michael Natterer
8005eea835
Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments
...
because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2015-05-31 21:18:09 +02:00
Michael Natterer
eaea58f5e3
libgimpwidgets: deprecate gimp_spin_button_new()
...
it should have never been added in the first place. Port all users
to using gtk_spin_button_new() directly.
2014-06-21 22:35:39 +02:00
Michael Natterer
b9265ebfb9
Bug 731765 - "Value Propagate" dialog's "Propagating rate" spinbuttons...
...
...are much too quick
In gimp_scale_entry_new(), set the spinbutton's climb_rate to the same
value as step_increment instead of hardcoding 1.0. This should make
many spinbuttons behave better.
2014-06-21 16:52:18 +02:00
Michael Natterer
c8b7ce7006
libgimpwidgets: fix formatting in gimpscaleentry.c
2013-06-17 00:39:15 +02:00
Michael Natterer
3ad73b3658
libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions
...
and update tons of includes in libgimp and app.
2012-05-03 03:37:20 +02:00
Michael Natterer
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
Michael Natterer
19b9bfd189
libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch]
...
and use it all over the place. Also change some GtkObject* variables
to GtkAdjustment*.
2011-10-02 14:36:41 +02:00
Michael Natterer
dbf1d49efe
libgimpwidgets: let the size entry's spinbutton fill the available space
...
so we at least get a nice layout if the spinbuttons have different
sizes. Makes the tool options look a bit less ugly.
2010-10-31 16:45:49 +01:00
Michael Natterer
be3ebbb65c
libgimpwidgets: tooltips no longer require an event box around no-window widgets
2010-10-31 16:30:03 +01:00
Michael Natterer
b3ee51794d
libgimpwidgets: fix most gtk-doc warnings
2010-07-05 19:04:15 +02:00
Michael Natterer
8559d94629
use GtkAdjustment's accessors.
...
2009-03-22 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpscaleentry.c: use GtkAdjustment's accessors.
svn path=/trunk/; revision=28198
2009-03-22 20:31:47 +00:00
Michael Natterer
d9b5207aa2
Change licence to GPLv3 (and to LGPLv3 for libgimp).
...
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Michael Natterer
d9bc8db7a3
app/widgets/gimplayertreeview.c libgimpwidgets/gimpcolorscales.c
...
2008-08-29 Michael Natterer <mitch@gimp.org>
* app/widgets/gimplayertreeview.c
* libgimpwidgets/gimpcolorscales.c
* libgimpwidgets/gimppropwidgets.c
* libgimpwidgets/gimpscaleentry.c
* libgimpwidgets/gimpwidgets.c: use gtk_adjustment_get_value()
instead of adjustment->value.
svn path=/trunk/; revision=26815
2008-08-29 15:54:10 +00:00
Michael Natterer
77968a1baa
libgimpwidgets/Makefile.am cleanup.
...
2008-02-14 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpscaleentry.[ch]: cleanup.
svn path=/trunk/; revision=24888
2008-02-14 17:49:53 +00:00
William Skaggs
4397dc25bf
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
Merged from weskaggs branch at Mitch's request. Will
need to update devel docs.
Place scale entry code into separate files, no
functional changes.
* libgimpwidgets/gimpscaleentry.c
* libgimpwidgets/gimpscaleentry.h: new files.
* libgimpwidgets/gimpwidgets.h
* libgimpwidgets/gimpwidgets.c
* libgimpwidgets/gimpwidgets.h
* libgimpwidgets/Makefile.am: changed accordingly.
svn path=/trunk/; revision=24887
2008-02-14 17:02:47 +00:00