diff options
author | nyamatongwe <devnull@localhost> | 2003-02-02 01:41:11 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-02-02 01:41:11 +0000 |
commit | 13ad207b99e16fdf48db60a0ec49098e5a0626c9 (patch) | |
tree | 77571d9565a2b712ea7e7efbe0df63100817fb25 /src/Editor.h | |
parent | 9e9e3c45aa3d52ecbae1c483bf2125957bac6038 (diff) | |
download | scintilla-mirror-13ad207b99e16fdf48db60a0ec49098e5a0626c9.tar.gz |
Two phase drawing.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index 5517065b6..ed5cc6612 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -199,6 +199,9 @@ protected: // ScintillaBase subclass needs access to much of Editor /** In bufferedDraw mode, graphics operations are drawn to a pixmap and then copied to * the screen. This avoids flashing but is about 30% slower. */ bool bufferedDraw; + /** In twoPhaseDraw mode, drawing is performed in two phases, first the background + * and then the foreground. This avoids chopping off characters that overlap the next run. */ + bool twoPhaseDraw; int xOffset; ///< Horizontal scrolled amount in pixels int xCaretMargin; ///< Ensure this many pixels visible on both sides of caret @@ -348,6 +351,8 @@ protected: // ScintillaBase subclass needs access to much of Editor LineLayout *RetrieveLineLayout(int lineNumber); void LayoutLine(int line, Surface *surface, ViewStyle &vstyle, LineLayout *ll, int width=LineLayout::wrapWidthInfinite); + ColourAllocated TextBackground(ViewStyle &vsDraw, bool overrideBackground, ColourAllocated background, bool inSelection, int styleMain, int i, LineLayout *ll); + void DrawIndentGuide(Surface *surface, int lineVisible, int lineHeight, int start, PRectangle rcSegment, bool highlight); void DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVisible, int xStart, PRectangle rcLine, LineLayout *ll, int subLine=0); void Paint(Surface *surfaceWindow, PRectangle rcArea); |