teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Classes | Namespaces | Typedefs | Functions | Variables
colors.h File Reference
#include <stdint.h>
#include <unordered_map>
#include <vector>
#include <string>
#include "def_colors.h"

Go to the source code of this file.

Classes

struct  teditor::AttrHelper
 
struct  teditor::ColorHelper
 
struct  teditor::ColorHelper::Registrar
 
struct  teditor::AttrColor
 
struct  teditor::NameColorPair
 
class  teditor::ColorMap
 

Namespaces

 teditor
 

Typedefs

typedef uint16_t teditor::color_t
 

Functions

bool teditor::operator== (const AttrColor &a, const AttrColor &b)
 
bool teditor::operator!= (const AttrColor &a, const AttrColor &b)
 
template<typename Colors >
void teditor::populateColorMap (ColorMap &cm, bool clear=false)
 

Variables

static const color_t teditor::Attr_None = 0x0000
 
static const color_t teditor::Attr_Bold = 0x0100
 
static const color_t teditor::Attr_Underline = 0x0200
 
static const color_t teditor::Attr_Italic = 0x0400