aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-02-02 01:41:11 +0000
committernyamatongwe <unknown>2003-02-02 01:41:11 +0000
commit3f329e8a6b1c4735ab1cf4f43848292db8df3d3b (patch)
tree77571d9565a2b712ea7e7efbe0df63100817fb25 /src/Editor.h
parentf566263f31075e3d36782dd3f5901466b789f763 (diff)
downloadscintilla-mirror-3f329e8a6b1c4735ab1cf4f43848292db8df3d3b.tar.gz
Two phase drawing.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h5
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);