diff options
author | nyamatongwe <unknown> | 2003-01-10 11:13:32 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-01-10 11:13:32 +0000 |
commit | 6ee064f659389e6656e9b7e40bc308686a4fcf83 (patch) | |
tree | 7e28273a1d1df4c30f2630f94f3c6f87573fcd47 /src/LineMarker.h | |
parent | 7df7cfba826d1d3c19b3e667cfbad605113c526d (diff) | |
download | scintilla-mirror-6ee064f659389e6656e9b7e40bc308686a4fcf83.tar.gz |
Moved XPM code out to XPM file.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r-- | src/LineMarker.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/LineMarker.h b/src/LineMarker.h index c75a31230..50a0331da 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -2,33 +2,12 @@ /** @file LineMarker.h ** Defines the look of a line marker in the margin . **/ -// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> +// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #ifndef LINEMARKER_H #define LINEMARKER_H -class XPM { - int height; - int width; - int nColours; - char *data; - char codeTransparent; - char *codes; - ColourPair *colours; - void Init(const char * const *linesForm); - ColourAllocated ColourFromCode(int ch); - void FillRun(Surface *surface, int code, int startX, int y, int x); -public: - XPM(const char *textForm); - XPM(const char * const *linesForm); - ~XPM(); - // Similar to same named method in ViewStyle: - void RefreshColourPalette(Palette &pal, bool want); - // Decompose image into runs and use FillRectangle for each run: - void Draw(Surface *surface, PRectangle &rc); -}; - /** */ class LineMarker { |