TUI
Terminal user interface library
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
tui::box_appearance Struct Reference
Inheritance diagram for tui::box_appearance:
tui::appearance tui::box

Public Member Functions

 box_appearance (symbol s)
 
 box_appearance (symbol ht_line, symbol hb_line, symbol vl_line, symbol vr_line, symbol top_l, symbol top_r, symbol bottom_l, symbol bottom_r)
 
void setColor (color Color) override
 
void setAppearance (box_appearance appearance)
 
box_appearance getAppearance () const
 
void setHorizontalTopLineSymbol (symbol h_line)
 
symbol getHorizontalTopLineSymbol () const
 
void setHorizontalBottomLineSymbol (symbol h_line)
 
symbol getHorizontalBottomLineSymbol () const
 
void setVerticalLeftLineSymbol (symbol v_line)
 
symbol getVerticalLeftLineSymbol () const
 
void setVerticalRightLineSymbol (symbol v_line)
 
symbol getVerticalRightLineSymbol () const
 
void setTopLeftSymbol (symbol top_l)
 
symbol getTopLeftSymbol () const
 
void setTopRightSymbol (symbol top_r)
 
symbol getTopRightSymbol () const
 
void setBottomLeftSymbol (symbol bottom_l)
 
symbol getBottomLeftSymbol () const
 
void setBottomRightSymbol (symbol bottom_r)
 
symbol getBottomRightSymbol () const
 

Static Public Attributes

static const box_appearance thin_line = { U'\x2500', U'\x2500', U'\x2502', U'\x2502', U'\x250C', U'\x2510', U'\x2514', U'\x2518' }
 
static const box_appearance double_line = { U'\x2550', U'\x2550', U'\x2551', U'\x2551', U'\x2554', U'\x2557', U'\x255A', U'\x255D' }
 
static const box_appearance medium_line = { U'\x2580', U'\x2584', U'\x258C', U'\x2590', U'\x259B', U'\x259C', U'\x2599', U'\x259F' }
 
static const box_appearance thick_line = { U'\x2588' }
 

Protected Attributes

symbol horizontal_top_line
 
symbol horizontal_bottom_line
 
symbol vertical_left_line
 
symbol vertical_right_line
 
symbol top_left
 
symbol top_right
 
symbol bottom_left
 
symbol bottom_right
 

Additional Inherited Members

- Protected Member Functions inherited from tui::appearance
template<typename T >
void setElement (T &elem_to_set, T elem)
 
virtual void setAppearanceAction ()