Lines Matching +full:- +full:- +full:user
24 /* order points by on-screen flow order */
27 return (a.row == b.row) ? a.col - b.col : a.row - b.row; in vterm_pos_cmp()
47 rect->start_row += row_delta; rect->end_row += row_delta; in vterm_rect_move()
48 rect->start_col += col_delta; rect->end_col += col_delta; in vterm_rect_move()
78 VTERM_ATTR_FONT, // number: 10-19
79 VTERM_ATTR_FOREGROUND, // color: 30-39 90-97
80 VTERM_ATTR_BACKGROUND, // color: 40-49 100-107
105 unsigned int protected_cell:1; /* DECSCA-protected against DECSEL/DECSED */
106 unsigned int dwl:1; /* DECDWL or DECDHL double-width line */
107 unsigned int dhl:2; /* DECDHL double-height line (1=top 2=bottom) */
142 // ------------
144 // ------------
146 /* Flag to indicate non-final subparameters in a single CSI parameter.
150 * 2 and 3 are non-final and will have this bit set
160 /* Can't use -1 to indicate a missing argument; use this instead */
161 #define CSI_ARG_MISSING ((1UL<<31)-1)
168 int (*text)(const char *bytes, size_t len, void *user);
169 int (*control)(unsigned char control, void *user);
170 int (*escape)(const char *bytes, size_t len, void *user);
171 …nst char *leader, const long args[], int argcount, const char *intermed, char command, void *user);
172 int (*osc)(const char *command, size_t cmdlen, void *user);
173 int (*dcs)(const char *command, size_t cmdlen, void *user);
174 int (*resize)(int rows, int cols, void *user);
177 void vterm_set_parser_callbacks(VTerm *vt, const VTermParserCallbacks *callbacks, void *user);
181 // -----------
183 // -----------
186 int (*putglyph)(VTermGlyphInfo *info, VTermPos pos, void *user);
187 int (*movecursor)(VTermPos pos, VTermPos oldpos, int visible, void *user);
188 int (*scrollrect)(VTermRect rect, int downward, int rightward, void *user);
189 int (*moverect)(VTermRect dest, VTermRect src, void *user);
190 int (*erase)(VTermRect rect, int selective, void *user);
191 int (*initpen)(void *user);
192 int (*setpenattr)(VTermAttr attr, VTermValue *val, void *user);
193 int (*settermprop)(VTermProp prop, VTermValue *val, void *user);
194 int (*setmousefunc)(VTermMouseFunc func, void *data, void *user);
195 int (*bell)(void *user);
196 int (*resize)(int rows, int cols, VTermPos *delta, void *user);
197 …nt (*setlineinfo)(int row, const VTermLineInfo *newinfo, const VTermLineInfo *oldinfo, void *user);
203 void vterm_state_set_callbacks(VTermState *state, const VTermStateCallbacks *callbacks, void *user);
214 // ------------
216 // ------------
237 int (*damage)(VTermRect rect, void *user);
238 int (*moverect)(VTermRect dest, VTermRect src, void *user);
239 int (*movecursor)(VTermPos pos, VTermPos oldpos, int visible, void *user);
240 int (*settermprop)(VTermProp prop, VTermValue *val, void *user);
241 int (*setmousefunc)(VTermMouseFunc func, void *data, void *user);
242 int (*bell)(void *user);
243 int (*resize)(int rows, int cols, void *user);
244 int (*sb_pushline)(int cols, const VTermScreenCell *cells, void *user);
245 int (*sb_popline)(int cols, VTermScreenCell *cells, void *user);
251 …vterm_screen_set_callbacks(VTermScreen *screen, const VTermScreenCallbacks *callbacks, void *user);
265 /* Neither of these functions NUL-terminate the buffer */
287 // ---------
289 // ---------
297 int (*moverect)(VTermRect src, VTermRect dest, void *user),
298 int (*eraserect)(VTermRect rect, int selective, void *user),
299 void *user);
303 void (*copycell)(VTermPos dest, VTermPos src, void *user),
304 void *user);