diff options
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 7f50804c2..946bd6c60 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -37,7 +37,7 @@ public: FontRealised &operator=(const FontRealised &) = delete; FontRealised &operator=(FontRealised &&) = delete; virtual ~FontRealised(); - void Realise(Surface &surface, int zoomLevel, int technology, const FontSpecification &fs); + void Realise(Surface &surface, int zoomLevel, int technology, const FontSpecification &fs, const char *localeName); }; enum class IndentView {none, real, lookForward, lookBoth}; @@ -168,6 +168,8 @@ public: int wrapVisualStartIndent; int wrapIndentMode; // SC_WRAPINDENT_FIXED, _SAME, _INDENT + std::string localeName; + ViewStyle(); ViewStyle(const ViewStyle &source); ViewStyle(ViewStyle &&) = delete; @@ -184,6 +186,7 @@ public: void ResetDefaultStyle(); void ClearStyles(); void SetStyleFontName(int styleIndex, const char *name); + void SetFontLocaleName(const char *name); bool ProtectionActive() const noexcept; int ExternalMarginWidth() const noexcept; int MarginFromLocation(Point pt) const noexcept; |