[Openicc] _ICC_PROFILE in reality
Hal V. Engel
hvengel at gmail.com
Thu May 26 13:01:22 PDT 2011
On Thursday, May 26, 2011 12:12:32 PM Jon Cruz wrote:
> On May 26, 2011, at 3:35 AM, Richard Hughes wrote:
> > Right, but how is an application supposed to know what "xinerama
> > screen" it's on?
For Qt apps this is a very simple thing since there are high level calls to
ask for a screen number (handle) for a particular widget or part of a widget
(IE. get the screen that each corner of the widget is on and then get the
local coordinates to know where the screen bounderies are located). So the
APIs for apps to figure this out exist in most widget sets and are not hard to
use for the most part. Actually on X11 it is easier than on Windows or OS/X
since these are all simple API calls and on Windows and OS/X it requires
writing a function to interate over the screens to find this out.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openicc