Home
last modified time | relevance | path

Searched refs:VTermState (Results 1 – 5 of 5) sorted by relevance

/external/libvterm/src/
Dpen.c36 static void lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) in lookup_colour_ansi()
43 static void lookup_colour_palette(const VTermState *state, long index, VTermColor *col) in lookup_colour_palette()
67 static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTe… in lookup_colour()
96 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) in setpenattr()
109 static void setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) in setpenattr_bool()
115 static void setpenattr_int(VTermState *state, VTermAttr attr, int number) in setpenattr_int()
121 static void setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) in setpenattr_col()
127 static void set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) in set_pen_col_ansi()
136 INTERNAL void vterm_state_newpen(VTermState *state) in vterm_state_newpen()
146 INTERNAL void vterm_state_resetpen(VTermState *state) in vterm_state_resetpen()
[all …]
Dvterm_internal.h41 struct VTermState struct
160 VTermState *state;
185 void vterm_state_free(VTermState *state);
187 void vterm_state_newpen(VTermState *state);
188 void vterm_state_resetpen(VTermState *state);
189 void vterm_state_setpen(VTermState *state, const long args[], int argcount);
190 int vterm_state_getpen(VTermState *state, long args[], int argcount);
191 void vterm_state_savepen(VTermState *state, int save);
200 void vterm_state_push_output_sprintf_CSI(VTermState *vts, const char *format, ...);
Dstate.c20 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) in putglyph()
37 static void updatecursor(VTermState *state, VTermPos *oldpos, int cancel_phantom) in updatecursor()
50 static void erase(VTermState *state, VTermRect rect, int selective) in erase()
57 static VTermState *vterm_state_new(VTerm *vt) in vterm_state_new()
59 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); in vterm_state_new()
73 INTERNAL void vterm_state_free(VTermState *state) in vterm_state_free()
81 static void scroll(VTermState *state, VTermRect rect, int downward, int rightward) in scroll()
109 static void linefeed(VTermState *state) in linefeed()
125 static void grow_combine_buffer(VTermState *state) in grow_combine_buffer()
138 static void set_col_tabstop(VTermState *state, int col) in set_col_tabstop()
[all …]
Dscreen.c44 VTermState *state;
626 VTermState *state = vterm_obtain_state(vt); in screen_new()
/external/libvterm/include/
Dvterm.h14 typedef struct VTermState VTermState; typedef
200 VTermState *vterm_obtain_state(VTerm *vt);
202 void vterm_state_reset(VTermState *state, int hard);
203 void vterm_state_set_callbacks(VTermState *state, const VTermStateCallbacks *callbacks, void *user);
204 void vterm_state_get_cursorpos(const VTermState *state, VTermPos *cursorpos);
205 void vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *de…
206 void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col);
207 void vterm_state_set_default_colors(VTermState *state, const VTermColor *default_fg, const VTermCol…
208 void vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col);
209 void vterm_state_set_bold_highbright(VTermState *state, int bold_is_highbright);
[all …]