On 13/11/2007, Valdas Jankūnas <[EMAIL PROTECTED]> wrote:
>
>   My thoughts: first get desktop screenshoot and then get pixel color of
> that shot at mouse coordinates.
>

That would have been my first guess as well, but the color picker I
tried out detects colors while screen data changes.  eg: a flat
toolbar button. on mouse over the button pops out, the color picker
detects the toolbutton border colors. If the app took a screenshot at
startup, it wouldn't have detected the toolbutton borders as they
didn't show at that stage.

Some good news. The color picker I tried was a windows apps.  Using
Ubuntu 7.10 and Wine, it runs like a native linux app without issues.
Wine is excellent these days, so maybe I don't even have to implement
such a tool myself, just keep using the windows one.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to