I vote for making every color definition 8 digits and support it in every
color definition possible.  I fall on the side of allow the user to decide.

Darren 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil Hodgson
Sent: Monday, December 05, 2005 1:36 AM
To: Discussion of the Scintilla editing component
Subject: [scintilla] Translucent drawing

   
http://scintilla.sourceforge.net/AlphaMarks.png

   

   My main problem with this code is how to integrate alpha into the system.
Should every colour variable contain an alpha component that may be ignored
in many situations? The current code uses explicit alpha for the caret line
and hard coded alphas for the boxes. I'm worried that platform layers will
require significant work to ignore alphas if ColourDesired and
ColourAllocated include alpha. Some platforms may not be able to easily
support alpha drawing: the AlphaRectangle code just draws an outline on GTK+
1.x.

   The code can be downloaded from
http://scintilla.sourceforge.net/xluce.zip  Source
http://scintilla.sourceforge.net/xscite.zip  Windows executable

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to