On 2017-05-16 14:51, hh via use-livecode wrote:
Yes, thanks. [You did probably test on Mac only. It's not worth to mix
in the problem of linux (and Raspi) with blend modes/transparency here.]

I don't recall seeing any bug reports about inks/transparency on Linux -
could you elaborate?

Anyway, I updated my stack to a simple Theme-switcher, usable as tiny
plugin and included it to post RaspberryPi stacks #89
( http://forums.livecode.com/viewtopic.php?p=150402#p150402 ).

I find it more comfortable (what the stack does by one click) to simply
reverse all current settings of the prefs for theme and background by
setting the blend modes. That's pretty fast and one can use it for each
script editor window differently dark or light: incredibly efficient ;-)

In terms of number of lines of code to achieve the effect, perhaps - but
not for the poor CPU...

Any control which has an ink other than srcCopy has to be rendered into
an offscreen buffer before it can be composited into the parent. So,
technically, the CPU would be happier if the colors used in the first
place were just inverted ;)

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to