Neil Hodgson wrote:
Robert Roessler:
The picture looks nice, but alpha on a caret that is usually one pixel
wide? It (just talking about the caret) seems like a pretty subtle
effect. ;)
The caret.line.back setting is for the full width greeny yellow
line that shows which line the caret is on. Not a feature I like
myself but it is the main thing that people have suggested
translucency for as the current code overrides the background
completely.
Thanks - I knew there must be more to alpha with the cursor then was
obvious - I just do not use Scintilla/SciTE in the "highlight the
background of the current line" mode. :)
BTW, this could add "interesting" semantics to, say, markers - when
displaying multiple markers for a line, instead of higher-numbered
ones obscuring lower-numbered ones, they could now be "blended" (with
weighting [possibly] coming from their alpha values)...
This presumably only makes sense if all of the markers you want to
blend have alphas - or maybe if even one marker has an alpha, then any
markers without it get assigned a default alpha value.
The three main areas seem to be caret.line.back, indicators and
markers. With markers that are displayed as a background colour on the
text rather than in the margin, translucency may help. OTOH if you
blend enough colours together you get mud.
As Disneyland found when they initially opened with their "Painted
Desert" attraction... :)
But yes, it *could* be a nice feature that would allow more
information associated with a line to be easily communicated... if
there are enough markers on a line for its display to go muddy, then
there may be other problems with the user interface design in use. ;)
Also, I don't think blended colors in line backgrounds is the only win
- it could be nice in margins too - it is just not as clear a case.
Regarding your [ominous?] silence on color representation, I just
realized that my suggestion has an obvious flaw: talking about API
calls for setting ...FORE, ...BACK, and ...ALPHA is sort of broken,
given that one may want to specify an alpha for *both* the foreground
and background. Independently. Sigh.
But I suppose I should not be letting the implementation ugliness of
full 32-bit integers in OCaml sway me here - colors as 32-bit values
(with alpha channel) does seem to be fairly common in newer non-toy
graphics settings.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest