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 /include | |
parent | 9e9e3c45aa3d52ecbae1c483bf2125957bac6038 (diff) | |
download | scintilla-mirror-13ad207b99e16fdf48db60a0ec49098e5a0626c9.tar.gz |
Two phase drawing.
Diffstat (limited to 'include')
-rw-r--r-- | include/Platform.h | 1 | ||||
-rw-r--r-- | include/Scintilla.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 7 |
3 files changed, 10 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h index b19cdce8d..bb429729e 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -314,6 +314,7 @@ public: virtual void DrawTextNoClip(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore, ColourAllocated back)=0; virtual void DrawTextClipped(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore, ColourAllocated back)=0; + virtual void DrawTextTransparent(PRectangle rc, Font &font_, int ybase, const char *s, int len, ColourAllocated fore)=0; virtual void MeasureWidths(Font &font_, const char *s, int len, int *positions)=0; virtual int WidthText(Font &font_, const char *s, int len)=0; virtual int WidthChar(Font &font_, char ch)=0; diff --git a/include/Scintilla.h b/include/Scintilla.h index 8df32be4c..386271bbe 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -395,6 +395,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETVSCROLLBAR 2280 #define SCI_GETVSCROLLBAR 2281 #define SCI_APPENDTEXT 2282 +#define SCI_GETTWOPHASEDRAW 2283 +#define SCI_SETTWOPHASEDRAW 2284 #define SCI_LINEDOWN 2300 #define SCI_LINEDOWNEXTEND 2301 #define SCI_LINEUP 2302 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index bade44fd2..dd4d2d37e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1022,6 +1022,13 @@ get bool GetVScrollBar=2281(,) # Append a string to the end of the document without changing the selection. fun void AppendText=2282(int length, string text) +# Is drawing done in two phases with backgrounds drawn before faoregrounds? +get bool GetTwoPhaseDraw=2283(,) + +# 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. +set void SetTwoPhaseDraw=2284(bool twoPhase,) + ## New messages go here ## Start of key messages |