TUI
Terminal user interface library
Classes | Public Member Functions | List of all members
tui::symbol Struct Reference

Public Member Functions

 symbol (char32_t c, color Color=color(), COLOR_TRANSPARENCY c_t=COLOR_TRANSPARENCY::NONE)
 
 symbol (const char *cluster, color color=color(), COLOR_TRANSPARENCY c_t=COLOR_TRANSPARENCY::NONE)
 
 symbol (const char32_t *cluster, color color=color(), COLOR_TRANSPARENCY c_t=COLOR_TRANSPARENCY::NONE)
 
 symbol (const std::string &cluster, color Color=color(), COLOR_TRANSPARENCY c_t=COLOR_TRANSPARENCY::NONE)
 
uint8_t size () const
 
const char & operator[] (int i) const
 
void setCluster (const std::string &cluster)
 
std::string getCluster () const
 
void invert ()
 
void setInversion (bool set)
 
bool isInverted () const
 
void setColor (color Color)
 
color getColor () const
 
void setColorTransparency (COLOR_TRANSPARENCY c_t)
 
COLOR_TRANSPARENCY getColorTransparency ()
 
void setUnderscore (bool set)
 
bool isUnderscore () const
 
uint8_t getWidth () const
 
bool operator== (const symbol &other) const
 
bool operator!= (const symbol &other) const