1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 09:21:30 +03:00
kakoune/src/color.hh

36 lines
501 B
C++
Raw Normal View History

#ifndef color_hh_INCLUDED
#define color_hh_INCLUDED
#include <utility>
namespace Kakoune
{
class String;
2012-10-24 00:43:12 +04:00
enum class Color : char
{
Default,
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White
};
using ColorPair = std::pair<Color, Color>;
Color str_to_color(const String& color);
String color_to_str(const Color& color);
String option_to_string(const Color& color);
void option_from_string(const String& str, Color& color);
}
#endif // color_hh_INCLUDED