diff options
author | nyamatongwe <unknown> | 2003-02-02 01:41:11 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-02-02 01:41:11 +0000 |
commit | 3f329e8a6b1c4735ab1cf4f43848292db8df3d3b (patch) | |
tree | 77571d9565a2b712ea7e7efbe0df63100817fb25 /src/Editor.h | |
parent | f566263f31075e3d36782dd3f5901466b789f763 (diff) | |
download | scintilla-mirror-3f329e8a6b1c4735ab1cf4f43848292db8df3d3b.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); |