diff options
author | Neil <nyamatongwe@gmail.com> | 2021-05-11 22:43:15 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-05-11 22:43:15 +1000 |
commit | 1cfccee93cc5fd4d0fb56937b0402611b354e8c2 (patch) | |
tree | e3bcb9a3b2050901df8b17df7813577434b6a7d6 /src/ViewStyle.h | |
parent | 8dd2db6205ceb93506490bd94a031178b37710aa (diff) | |
download | scintilla-mirror-1cfccee93cc5fd4d0fb56937b0402611b354e8c2.tar.gz |
When setting or resetting elements, redraw if caused change.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 6aab53f64..13c489aa2 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -233,7 +233,8 @@ public: std::optional<ColourAlpha> ElementColour(int element) const; bool ElementAllowsTranslucent(int element) const; - void ResetElement(int element); + bool ResetElement(int element); + bool SetElementColour(int element, ColourAlpha colour); void SetElementRGB(int element, int rgb); void SetElementAlpha(int element, int alpha); bool ElementIsSet(int element) const; |