Éric Hoffman
c585c99e80
Bug 740634 - Color picker crashes when there are multiple monitors
...
Use Windows API directly to get a screen pixel, works for all kinds of
monitor layouts.
2017-04-06 23:52:09 +02:00
Michael Natterer
e2ff186861
Bug 779942 - Make GimpPickButton honor monitor profile
...
Pass the right flags to gimp_color_transform_new(), and handle a NULL
return value.
2017-03-13 09:06:00 +01:00
Michael Natterer
064c4527cb
Bug 779942 - Make GimpPickButton honor monitor profile
...
Convert the picked pixel from the monitor color profile to sRGB.
Only changed the default impl, not the quartz code.
2017-03-12 23:30:03 +01:00
Michael Natterer
71894bd787
libgimpwidgets: rename gimpstock.[ch] to gimpicons.[ch]
...
because stock is on its way out, so we better start renaming and
deprecating stuff sooner than later.
2015-12-12 20:44:46 +01:00
Michael Natterer
30a86e38b8
libgimpwidgets: slightly redo how GimpPickButton calls its new backends
...
to make porting to GTK+ 3.x easier, for less diff to the gtk3-port
branch.
2015-10-06 23:44:36 +02:00
Michael Natterer
a89e1d6d8c
libgimpwidgets: fix signal emission in gimppickbutton-default.c
...
so color picking works again on != OS X ;)
2015-10-06 23:31:21 +02:00
Kristian Rietveld
e570eb0be4
Make gimp_pick_button_clicked properly private
2015-10-04 17:14:10 +02:00
Kristian Rietveld
0d88399eb8
Bug 753175 - color picker locks down the GUI
...
The common code relies on X11 pointer grabbing semantics, which does
not work well on OS X. An attempt using event taps also proved
problematic, in particular with regard to setting the mouse cursor.
This patch implements a fully separate code for use on OS X platforms.
It works by simply overlaying the desktop with big transparent windows
on which the mouse cursor is set and motion events are captured. Evil,
but it works.
2015-10-04 16:27:17 +02:00