]>
git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/src/LineMarker.h
1 // Scintilla source code edit control
3 ** Defines the look of a line marker in the margin .
5 // Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
25 markType
= SC_MARK_CIRCLE
;
26 fore
= ColourDesired(0,0,0);
27 back
= ColourDesired(0xff,0xff,0xff);
28 alpha
= SC_ALPHA_NOALPHA
;
31 LineMarker(const LineMarker
&) {
32 // Defined to avoid pxpm being blindly copied, not as real copy constructor
33 markType
= SC_MARK_CIRCLE
;
34 fore
= ColourDesired(0,0,0);
35 back
= ColourDesired(0xff,0xff,0xff);
36 alpha
= SC_ALPHA_NOALPHA
;
42 LineMarker
&operator=(const LineMarker
&other
) {
43 // Defined to avoid pxpm being blindly copied, not as real assignment operator
44 if ( &other
!= this ) {
45 markType
= SC_MARK_CIRCLE
;
46 fore
= ColourDesired(0,0,0);
47 back
= ColourDesired(0xff,0xff,0xff);
48 alpha
= SC_ALPHA_NOALPHA
;
54 void RefreshColourPalette(Palette
&pal
, bool want
);
55 void SetXPM(const char *textForm
);
56 void SetXPM(const char * const *linesForm
);
57 void Draw(Surface
*surface
, PRectangle
&rc
, Font
&fontForCharacter
);