From bbefde93796e6a4186b8fcbf626b8930dfd2b5d2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 25 Apr 2015 10:47:39 +0100 Subject: Move Colors enum class as NamedColor enum inside Color struct --- src/face_registry.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/face_registry.cc') 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 } }, } {} -- cgit v1.2.3