aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 4118f0daf..a9fe58131 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -203,6 +203,7 @@ public:
using ElementMap = std::map<int, std::optional<ColourAlpha>>;
ElementMap elementColours;
+ ElementMap elementBaseColours;
std::set<int> elementAllowsTranslucent;
WrapAppearance wrap;
@@ -243,6 +244,9 @@ public:
std::optional<ColourAlpha> ElementColour(int element) const;
bool ElementAllowsTranslucent(int element) const;
+ void ResetElement(int element);
+ bool ElementIsSet(int element) const;
+ bool SetElementBase(int element, ColourAlpha colour);
bool SetWrapState(int wrapState_) noexcept;
bool SetWrapVisualFlags(int wrapVisualFlags_) noexcept;