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

wow :) impressing :)

  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?
in pure object point of view, a color should not contain an opacity value this is not logical, a Material could (as for example in 3D renderers languages, like POV)

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.
hum yes probably, for sure palettized devices cannot easily support alpha... combinations cannot be determined in advance, the only way to go is fixed palette for a portion of it but that's not really good either.

very good work :)
Armel


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

Reply via email to