libyui-ncurses  2.44.1
 All Classes Functions Variables
NCattribute Struct Reference

Static Public Member Functions

static int colors ()
 
static int color_pairs ()
 
static chtype color_pair (short fg, short bg)
 
static chtype color_pair (int i)
 
static short fg_color_pair (int i)
 
static short bg_color_pair (int i)
 
static int color_pair_of (chtype ch)
 
static short fg_color_of (chtype ch)
 
static short bg_color_of (chtype ch)
 
static chtype getStyle (chtype a)
 
static chtype getColor (chtype a)
 
static chtype getChar (chtype a)
 
static chtype getNonChar (chtype a)
 
static void setStyle (chtype &a, chtype ch)
 
static void setColor (chtype &a, chtype ch)
 
static void setChar (chtype &a, chtype ch)
 
static void addStyle (chtype &a, chtype ch)
 
static void delStyle (chtype &a, chtype ch)
 
static void toggleStyle (chtype &a, chtype ch)
 
static void addAlt (chtype &a)
 
static void delAlt (chtype &a)
 
static short getFg (chtype a)
 
static short getBg (chtype a)
 
static void setFg (chtype &a, short c)
 
static void setBg (chtype &a, short c)
 
static std::string colorAsString (short i)
 
static std::string color_pairAsString (int i)
 

Static Public Attributes

static int _colors = ::COLORS
 
static int _pairs = ::COLOR_PAIRS
 
static const chtype style_mask = A_ATTRIBUTES & ~A_COLOR & ~A_ALTCHARSET
 
static const chtype color_mask = A_COLOR
 
static const chtype char_mask = A_CHARTEXT | A_ALTCHARSET
 

Friends

class NCurses
 

Detailed Description

Definition at line 37 of file NCstyle.h.

Member Function Documentation

static std::string NCattribute::color_pairAsString ( int  i)
inlinestatic

String representation of color_pair "[fg,bg]"

Definition at line 136 of file NCstyle.h.

Here is the call graph for this function:

static std::string NCattribute::colorAsString ( short  i)
inlinestatic

Color name

Definition at line 117 of file NCstyle.h.


The documentation for this struct was generated from the following files: