diff options
author | Neil <nyamatongwe@gmail.com> | 2021-05-11 10:06:28 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-05-11 10:06:28 +1000 |
commit | 002f1a013736a89223dc1ede2724f8492e12ce1f (patch) | |
tree | 26232075fd5f586fae60fc75f8f97dd811855115 /include | |
parent | 59052f9ae48d6e24a270303d9f2af4097ca62086 (diff) | |
download | scintilla-mirror-002f1a013736a89223dc1ede2724f8492e12ce1f.tar.gz |
Implement SCI_GETELEMENTBASECOLOUR to return the default values for element
colours.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 1a352ae85..820dc470a 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -289,6 +289,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_RESETELEMENTCOLOUR 2755 #define SCI_GETELEMENTISSET 2756 #define SCI_GETELEMENTALLOWSTRANSLUCENT 2757 +#define SCI_GETELEMENTBASECOLOUR 2758 #define SCI_SETSELFORE 2067 #define SCI_SETSELBACK 2068 #define SCI_GETSELALPHA 2477 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index ac5a72346..a51c0d611 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -705,6 +705,9 @@ get bool GetElementIsSet=2756(Element element,) # Get whether an element supports translucency. get bool GetElementAllowsTranslucent=2757(Element element,) +# Get the colour of an element. +get colouralpha GetElementBaseColour=2758(Element element,) + # Set the foreground colour of the main and additional selections and whether to use this setting. fun void SetSelFore=2067(bool useSetting, colour fore) |