diff options
| author | Neil <nyamatongwe@gmail.com> | 2017-07-01 12:20:47 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2017-07-01 12:20:47 +1000 |
| commit | ed43d472889655b39777a7b2e8f01e487acf62b4 (patch) | |
| tree | e50682f73436bdef0fd9b3672118503a643c08d2 /include | |
| parent | 97ab4ab3569aa625c0ed2722080619c97bd52c17 (diff) | |
| download | scintilla-mirror-ed43d472889655b39777a7b2e8f01e487acf62b4.tar.gz | |
Deprecate single phase drawing.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 5 | ||||
| -rw-r--r-- | include/Scintilla.iface | 15 |
2 files changed, 11 insertions, 9 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 6f18af9a9..1a0108270 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -571,8 +571,6 @@ 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 SC_PHASES_ONE 0 #define SC_PHASES_TWO 1 #define SC_PHASES_MULTIPLE 2 @@ -1205,6 +1203,9 @@ struct SCNotification { #define SCI_SETKEYSUNICODE 2521 #define SCI_GETKEYSUNICODE 2522 +#define SCI_GETTWOPHASEDRAW 2283 +#define SCI_SETTWOPHASEDRAW 2284 + #define CharacterRange Sci_CharacterRange #define TextRange Sci_TextRange #define TextToFind Sci_TextToFind diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 135be3b4e..8406fa6fc 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1419,13 +1419,6 @@ 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 foregrounds? -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,) - enu PhasesDraw=SC_PHASES_ val SC_PHASES_ONE=0 val SC_PHASES_TWO=1 @@ -4870,3 +4863,11 @@ set void SetKeysUnicode=2521(bool keysUnicode,) # Are keys always interpreted as Unicode? get bool GetKeysUnicode=2522(,) + +# Is drawing done in two phases with backgrounds drawn before foregrounds? +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,) + |
