Home
last modified time | relevance | path

Searched refs:VTermColor (Results 1 – 4 of 4) sorted by relevance

/external/libvterm/include/
Dvterm.h169 } VTermColor; typedef
174 static inline void vterm_color_rgb(VTermColor *col, uint8_t red, uint8_t green, in vterm_color_rgb()
187 static inline void vterm_color_indexed(VTermColor *col, uint8_t idx) in vterm_color_indexed()
196 int vterm_color_is_equal(const VTermColor *a, const VTermColor *b);
212 VTermColor color;
375 void vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *de…
376 void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col);
377 …vterm_state_set_default_colors(VTermState *state, const VTermColor *default_fg, const VTermColor *…
378 void vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col);
396 void vterm_state_convert_color_to_rgb(const VTermState *state, VTermColor *col);
[all …]
/external/libvterm/src/
Dpen.c44 static void lookup_default_colour_ansi(long idx, VTermColor *col) in lookup_default_colour_ansi()
53 static bool lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) in lookup_colour_ansi()
63 static bool lookup_colour_palette(const VTermState *state, long index, VTermColor *col) in lookup_colour_palette()
91 …okup_colour(const VTermState *state, int palette, const long args[], int argcount, VTermColor *col) in lookup_colour()
144 static void setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) in setpenattr_col()
152 VTermColor *colp = (attr == VTERM_ATTR_BACKGROUND) ? &state->pen.bg : &state->pen.fg; in set_pen_col_ansi()
204 int vterm_color_is_equal(const VTermColor *a, const VTermColor *b) in vterm_color_is_equal()
224 void vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *de… in vterm_state_get_default_colors()
230 void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col) in vterm_state_get_palette_color()
235 …vterm_state_set_default_colors(VTermState *state, const VTermColor *default_fg, const VTermColor *… in vterm_state_set_default_colors()
[all …]
Dvterm_internal.h38 VTermColor fg;
39 VTermColor bg;
120 VTermColor default_fg;
121 VTermColor default_bg;
122 VTermColor colors[16]; // Store the 8 ANSI and the 8 ANSI high-brights only
Dscreen.c16 VTermColor fg, bg;
933 void vterm_screen_convert_color_to_rgb(const VTermScreen *screen, VTermColor *col) in vterm_screen_convert_color_to_rgb()