Commit Graph

1889 Commits

Author SHA1 Message Date
651e313f49 libgimpwidgets: move all GimpColorButton members to a private struct 2018-05-20 21:06:28 +02:00
281370dce2 libgimpwidgets: move all GimpCellRendererColor members to a private struct 2018-05-20 21:06:28 +02:00
0318ea9dfe libgimpwidgets: move all GimpButton members to a private struct 2018-05-20 21:06:28 +02:00
88ac850834 libgimpwidgets: move padding members from instance to class struct 2018-05-20 21:06:28 +02:00
d2116f481b libgimpwidgets: move all GimpOffsetArea members to a private struct 2018-05-20 21:06:28 +02:00
271f94928f libgimpwidgets: move all GimpColorArea members to a private struct 2018-05-20 21:06:28 +02:00
3d4ef455d2 libgimpwidgets: move all GimpPickButton members to a private struct 2018-05-20 21:06:28 +02:00
6e982cd0a4 libgimpwidgets: use g_object_ref()/unref() for GdkCursors
The are GObjects now.
2018-05-20 21:06:28 +02:00
f689ef7b16 libgimpwidgets: implement GtkWidget::style_updated() instead of style_set() 2018-05-20 21:06:28 +02:00
1264285cff libgimpwidgets: implement GtkWidget::state_flags_changed()
instead of GtkWidget::state_changed()
2018-05-20 21:06:28 +02:00
52af5f00c0 libgimpwidgets: port GimpNumberPairEntry to gtk_widget_override_font() 2018-05-20 21:06:28 +02:00
8c75151f39 llibgimpwidgets: port GimpScrolledPreview to GtkStyleContext 2018-05-20 21:06:27 +02:00
052ab454ae libgimpwidgets: port GimpRuler to GtkStyleContext 2018-05-20 21:06:27 +02:00
1cf85b9102 libgimpwidgets: port GimpOffsetArea to GtkStyleContext 2018-05-20 21:06:27 +02:00
d9fac0ce6e libgimpwidgets: port GimpColorScale to GtkStyleContext 2018-05-20 21:06:27 +02:00
42252b3f6f libgimpwidgets: port GimpColorArea to GtkStyleContext 2018-05-20 21:06:27 +02:00
c62075b4c0 libgimpwidgets: port GimpChainButton to GtkStyleContext 2018-05-20 21:06:27 +02:00
97da93d1ac libgimpwidgets: port GimpCellRendererToggle to GtkStyleContext 2018-05-20 21:06:27 +02:00
b3ac92d0d6 libgimpwidgets: port to GtkStyleContext and gtk_render_foo() 2018-05-20 21:06:27 +02:00
d9b56a5dbe Use gtk_widget_render_icon_pixbuf() instead of gtk_widget_render_icon()
because the latter is deprecated.
2018-05-20 21:06:27 +02:00
694e5ac9f6 libgimpwidgets: port to the new size request API 2018-05-20 21:06:27 +02:00
91d382608f libgimpwidgets: port to GtkWidget::draw() 2018-05-20 21:06:27 +02:00
4477ad84de libgimpwidgets: port to GtkWidget::draw() 2018-05-20 21:06:26 +02:00
fa8c702229 libgimpwidgets: port to GtkWidget::draw() 2018-05-20 21:06:26 +02:00
60036c9385 libgimpwidgets: port the ruler to GTK+ 3.0 2018-05-20 21:06:26 +02:00
05e5a1d1cd libgimpwidgets: get rid of (GtkObject **) casts 2018-05-20 21:06:26 +02:00
566a71ba7d libgimpwidgets: port GimpFrame to GTK+ 3.0 2018-05-20 21:06:26 +02:00
4ae7d4c825 libgimpwidgets: remove deprecated files completely 2018-05-20 21:06:26 +02:00
e4ae1faf06 libgimpwidgets: remove deprecated functions and s/GtkObject/GtkAdjustment/ 2018-05-20 21:06:26 +02:00
fe2241ebde libgimpwidgets: port to GtkWidget::draw() 2018-05-20 21:06:26 +02:00
00a6597cd9 libgimpwidgets: s/GtkObject/GtkAdjustment/ 2018-05-20 21:06:26 +02:00
04c12550da libgimpwidgets: port to GtkWidget::draw() 2018-05-20 21:06:26 +02:00
5fb95d09a1 libgimpwidgets: port to GtkWidget::draw() 2018-05-20 21:06:26 +02:00
7e6a2d270e libgimpwidgets: port to GtkWidget::draw() 2018-05-20 21:06:26 +02:00
d0db9ec24d libgimpwidgets: port virtual functions to GTK+ 3.0 2018-05-20 21:06:26 +02:00
91c0dea0af libgimpwidgets: port virtual functions to GTK+ 3.0 2018-05-20 21:06:26 +02:00
a562a0c798 libgimpwidgets: s/GtkObject/GtkAdjustment/ in gimpwidgets.[ch] 2018-05-20 21:06:26 +02:00
dae87ee1c7 libgimpwidgets: remove deprecated files from the build 2018-05-20 21:06:26 +02:00
dbd9797a13 Switch to version 2.99/3.0 in a lot of places and depend on GTK+ 3.22
and lots of other newer libraries.
2018-05-20 21:06:26 +02:00
fe06539873 libgimpwidgets: fix value names in docs of GimpColorSelectorModel 2018-05-18 19:32:51 +02:00
6c9ba16e11 configure, libgimpwidgets: customizable default color profile directory
We have this problem with flatpak that the common directory
("/usr/share/color/icc") is not visible from inside the sandbox. With
proper permissions, it is actually accessible, yet the host's /usr is
mounted at /run/host/usr/.
Since sandbox systems are getting more common, we need to make this path
customizable. I am therefore adding a --with-icc-directory configure
option to change the default color profile folder at build time.
See: https://github.com/flathub/org.gimp.GIMP/issues/15
2018-05-18 09:08:51 +02:00
a69b8a25df libgimpwidgets: in GimpEnumLabel use the value's nick if there is no desc 2018-05-16 21:12:20 +02:00
147c09f19e Bug 795161 - Misc. typo fixes in source comments and doxygen
Found via `codespell`
Follow-up to  commit 7fdb963e01
2018-04-18 21:06:57 +02:00
ebb9d83d63 Bug 795230 - Rename Blend tool and provide PDB compatibility
Step 1: rename the icon to GIMP_ICON_TOOL_GRADIENT (gimp-tool-gradient)
2018-04-13 23:07:08 +02:00
Ell
6ebc3f1b09 Makefiles: don't use -xobjective-c when linking files on Mac
Last commit caused -xobjective-c to be passed during linking on
Mac, causing object files to be treated as source files.  Add a
-xnone flag to AM_LDFLAGS, canceling the effect of -xobjective-c.

Additinally, add a -xobjective-c++ flag to AM_CXXFLAGS, so that we
can use Objective-C in C++ files on Mac, if we ever need to.
2018-04-08 04:03:55 -04:00
Ell
06950be7f0 Makefiles: don't use -xobjective-c when compiling C++ files on Mac
On Mac, pass -xobjective-c to the compiler through AM_CFLAGS, not
AM_CPPFLAGS, so that it's only used for C sources, and not C++
sources.  In the latter case, it clashes with the -std=... flag,
spewing an error.  Thanks, Partha :)
2018-04-07 16:57:52 -04:00
ce3899e722 libgimpwidgets: gimppickbutton-quartz: do not release color_space
The color_space reference should not be released because it was obtained
with a Get-function, which means we do not have ownership.
2018-03-26 22:59:01 +02:00
0e9e167da8 libgimpwidgets: make pick button quartz work on macOS < 10.12
The symbol CGColorSpaceCopyICCData() is only available on macOS 10.12
and higher. We want GIMP to run from 10.9 onwards, so use the older
symbol CGColorSpaceCopyICCProfile() even though this one is deprecated.
2018-03-26 22:59:01 +02:00
8447e775ab Bug 783680 - Allow to hide color models in GimpColorScales
Redo the entire thing again:

- Rename the values of enum GimpColorSelectorModel to include "MODEL"
- Change GimpColorSelector API from set_model() to set_model_visible()
  so visibility of each model can be toggled individually and is not
  exclusive any longer
- The GUI is back to what it was before, except that the "GIMP" page
  now honors the model visibility and has a resonable minimum height
2018-03-19 23:11:27 +01:00
6c8300923d Bug 779942 - Make GimpPickButton honor monitor profile.
Quartz/macOS implementation for the color picker.
This is untested but I am trying to advance our 2.10 blockers by
implementing the base code for this feature. Please anyone with macOS
machine access, review and fix if needed!
2018-03-16 17:17:54 +01:00