GDB (xrefs)
|
#include "ui-style.h"
Public Member Functions | |
color (basic_color c) | |
color (int c) | |
color (uint8_t r, uint8_t g, uint8_t b) | |
bool | operator== (const color &other) const |
bool | operator< (const color &other) const |
bool | is_none () const |
bool | is_basic () const |
int | get_value () const |
void | get_rgb (uint8_t *rgb) const |
bool | append_ansi (bool is_fg, std::string *str) const |
Private Attributes | ||
bool | m_simple | |
union { | ||
int m_value | ||
struct { | ||
uint8_t m_red | ||
uint8_t m_green | ||
uint8_t m_blue | ||
} | ||
}; | ||
Definition at line 41 of file ui-style.h.
|
inline |
Definition at line 45 of file ui-style.h.
|
inline |
Definition at line 51 of file ui-style.h.
|
inline |
Definition at line 58 of file ui-style.h.
bool ui_file_style::color::append_ansi | ( | bool | is_fg, |
std::string * | str ) const |
Definition at line 68 of file ui-style.c.
References ui_file_style::BLACK, m_blue, m_green, m_red, m_simple, m_value, and ui_file_style::WHITE.
Referenced by ui_file_style::to_ansi().
void ui_file_style::color::get_rgb | ( | uint8_t * | rgb | ) | const |
Definition at line 97 of file ui-style.c.
References bright_colors.
Referenced by get_color(), and rgb_to_16colors().
|
inline |
Definition at line 108 of file ui-style.h.
References is_basic(), and m_value.
Referenced by gdb_console_fputs(), and get_color().
|
inline |
Definition at line 102 of file ui-style.h.
References ui_file_style::BLACK, m_simple, m_value, and ui_file_style::WHITE.
Referenced by gdb_console_fputs(), get_color(), and get_value().
|
inline |
Definition at line 95 of file ui-style.h.
References m_simple, m_value, and ui_file_style::NONE.
Referenced by gdb_console_fputs(), get_color(), ui_file_style::to_ansi(), and tui_apply_style().
|
inline |
|
inline |
union { ... } ui_file_style::color |
uint8_t ui_file_style::color::m_blue |
Definition at line 134 of file ui-style.h.
Referenced by append_ansi(), operator<(), and operator==().
uint8_t ui_file_style::color::m_green |
Definition at line 134 of file ui-style.h.
Referenced by append_ansi(), operator<(), and operator==().
uint8_t ui_file_style::color::m_red |
Definition at line 134 of file ui-style.h.
Referenced by append_ansi(), operator<(), and operator==().
|
private |
Definition at line 128 of file ui-style.h.
Referenced by append_ansi(), is_basic(), is_none(), operator<(), and operator==().
int ui_file_style::color::m_value |
Definition at line 131 of file ui-style.h.
Referenced by append_ansi(), get_value(), is_basic(), is_none(), operator<(), and operator==().