diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-08 08:34:52 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-08 08:34:52 +1000 |
commit | 4333970abdd54863a591f95df3c3e7e968aa2519 (patch) | |
tree | 4ce4c0328efa72601422bb1674fcabd8942c1051 /src/ViewStyle.h | |
parent | d2bb3203067343b51bf3c543b331741f6fa4ad21 (diff) | |
download | scintilla-mirror-4333970abdd54863a591f95df3c3e7e968aa2519.tar.gz |
Rename FontNames to UniqueStringSet and move into UniqueString.
It may be useful in more situations than just font names.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index ba0524d86..0fb3db093 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -25,20 +25,7 @@ public: /** */ -class FontNames { -private: - std::vector<UniqueString> names; -public: - FontNames(); - // FontNames objects can not be copied. - FontNames(const FontNames &) = delete; - FontNames(FontNames &&) = delete; - FontNames &operator=(const FontNames &) = delete; - FontNames &operator=(FontNames &&) = delete; - ~FontNames(); - void Clear(); - const char *Save(const char *name); -}; + class FontRealised : public FontMeasurements { public: @@ -91,7 +78,7 @@ struct EdgeProperties { /** */ class ViewStyle { - FontNames fontNames; + UniqueStringSet fontNames; FontMap fonts; public: std::vector<Style> styles; |