The translucency (alpha) support mentioned a couple of months ago is now in CVS. Platform layers will need to provide an AlphaRectangle method. Unlike the earlier download, this version separates alpha values from colours and allows alpha to range from SC_ALPHA_TRANSPARENT(0) to SC_ALPHA_OPAQUE(255) with an extra value SC_ALPHA_NOALPHA indicating that drawing should be opaque and not use the translucent drawing code. SC_ALPHA_NOALPHA is the default value and may be faster than other values.
The features that have alpha enabled are the caret line and an indicator INDIC_ROUNDBOX. From SciTE these are accessible through caret.line.back.alpha and find.mark. find.mark is used by the Mark All command in the Find dialog to draw rounded boxes around each found string in the indicated colour. Example settings: caret.line.back=#AFFF00 caret.line.back.alpha=50 find.mark=#0000ff Available from CVS and from http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/wscite.zip Windows executable Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
