diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-27 09:40:14 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-27 09:40:14 +1100 |
commit | e056a167c96e226dc7487f5df2263d17a4dec399 (patch) | |
tree | 279cd95e5fc1ad075a4b07cd39166a6c887ed913 /include | |
parent | c02f75227ef151af1b283e4436d06149e69679a7 (diff) | |
download | scintilla-mirror-e056a167c96e226dc7487f5df2263d17a4dec399.tar.gz |
Add APIs for setting translucency and stroke width of markers.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 4 | ||||
-rw-r--r-- | include/Scintilla.iface | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 69dc2d057..752c105a8 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -161,6 +161,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_MARKERSETFORE 2041 #define SCI_MARKERSETBACK 2042 #define SCI_MARKERSETBACKSELECTED 2292 +#define SCI_MARKERSETFORETRANSLUCENT 2294 +#define SCI_MARKERSETBACKTRANSLUCENT 2295 +#define SCI_MARKERSETBACKSELECTEDTRANSLUCENT 2296 +#define SCI_MARKERSETSTROKEWIDTH 2297 #define SCI_MARKERENABLEHIGHLIGHT 2293 #define SCI_MARKERADD 2043 #define SCI_MARKERDELETE 2044 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 23938bfd9..333362cc0 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -404,6 +404,18 @@ set void MarkerSetBack=2042(int markerNumber, colour back) # Set the background colour used for a particular marker number when its folding block is selected. set void MarkerSetBackSelected=2292(int markerNumber, colour back) +# Set the foreground colour used for a particular marker number. +set void MarkerSetForeTranslucent=2294(int markerNumber, colouralpha fore) + +# Set the background colour used for a particular marker number. +set void MarkerSetBackTranslucent=2295(int markerNumber, colouralpha back) + +# Set the background colour used for a particular marker number when its folding block is selected. +set void MarkerSetBackSelectedTranslucent=2296(int markerNumber, colouralpha back) + +# Set the width of strokes used in .01 pixels so 50 = 1/2 pixel width. +set void MarkerSetStrokeWidth=2297(int markerNumber, int hundredths) + # Enable/disable highlight for current folding block (smallest one that contains the caret) fun void MarkerEnableHighlight=2293(bool enabled,) |