diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-04-25 10:47:39 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-04-25 10:47:39 +0100 |
| commit | bbefde93796e6a4186b8fcbf626b8930dfd2b5d2 (patch) | |
| tree | 2b57fd1d9646ad12bb4cb48cdbb2400e763b5f32 /src/face_registry.cc | |
| parent | dc46eda2794082dcb5583fdcb65f5b48e32960ac (diff) | |
Move Colors enum class as NamedColor enum inside Color struct
Diffstat (limited to 'src/face_registry.cc')
| -rw-r--r-- | src/face_registry.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/face_registry.cc b/src/face_registry.cc index 933b6853..a9166af4 100644 --- a/src/face_registry.cc +++ b/src/face_registry.cc @@ -91,21 +91,21 @@ CandidateList FaceRegistry::complete_alias_name(StringView prefix, FaceRegistry::FaceRegistry() : m_aliases{ - { "PrimarySelection", Face{ Colors::White, Colors::Blue } }, - { "SecondarySelection", Face{ Colors::Black, Colors::Blue } }, - { "PrimaryCursor", Face{ Colors::Black, Colors::White } }, - { "SecondaryCursor", Face{ Colors::Black, Colors::White } }, - { "LineNumbers", Face{ Colors::Default, Colors::Default } }, - { "LineNumberCursor", Face{ Colors::Default, Colors::Default, Attribute::Reverse } }, - { "MenuForeground", Face{ Colors::White, Colors::Blue } }, - { "MenuBackground", Face{ Colors::Blue, Colors::White } }, - { "Information", Face{ Colors::Black, Colors::Yellow } }, - { "Error", Face{ Colors::Black, Colors::Red } }, - { "StatusLine", Face{ Colors::Cyan, Colors::Default } }, - { "StatusCursor", Face{ Colors::Black, Colors::Cyan } }, - { "Prompt", Face{ Colors::Yellow, Colors::Default } }, - { "MatchingChar", Face{ Colors::Default, Colors::Default, Attribute::Bold } }, - { "Search", Face{ Colors::Default, Colors::Default, Attribute::Underline } }, + { "PrimarySelection", Face{ Color::White, Color::Blue } }, + { "SecondarySelection", Face{ Color::Black, Color::Blue } }, + { "PrimaryCursor", Face{ Color::Black, Color::White } }, + { "SecondaryCursor", Face{ Color::Black, Color::White } }, + { "LineNumbers", Face{ Color::Default, Color::Default } }, + { "LineNumberCursor", Face{ Color::Default, Color::Default, Attribute::Reverse } }, + { "MenuForeground", Face{ Color::White, Color::Blue } }, + { "MenuBackground", Face{ Color::Blue, Color::White } }, + { "Information", Face{ Color::Black, Color::Yellow } }, + { "Error", Face{ Color::Black, Color::Red } }, + { "StatusLine", Face{ Color::Cyan, Color::Default } }, + { "StatusCursor", Face{ Color::Black, Color::Cyan } }, + { "Prompt", Face{ Color::Yellow, Color::Default } }, + { "MatchingChar", Face{ Color::Default, Color::Default, Attribute::Bold } }, + { "Search", Face{ Color::Default, Color::Default, Attribute::Underline } }, } {} |
