aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index b07c34a08..d33feb485 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -158,6 +158,9 @@ public:
int ctrlCharPadding; // the padding around control character text blobs
int lastSegItalicsOffset; // the offset so as not to clip italic characters at EOLs
+ std::map<int, std::optional<ColourAlpha>> elementColours;
+ std::set<int> elementAllowsTranslucent;
+
// Wrapping support
WrapMode wrapState;
int wrapVisualFlags;
@@ -195,6 +198,9 @@ public:
void AddMultiEdge(uptr_t wParam, sptr_t lParam);
+ std::optional<ColourAlpha> ElementColour(int index) const noexcept;
+ bool ElementAllowsTranslucent(int index) const noexcept;
+
bool SetWrapState(int wrapState_) noexcept;
bool SetWrapVisualFlags(int wrapVisualFlags_) noexcept;
bool SetWrapVisualFlagsLocation(int wrapVisualFlagsLocation_) noexcept;