Lines Matching refs:callbacks
30 if(state->callbacks && state->callbacks->putglyph) in putglyph()
31 if((*state->callbacks->putglyph)(&info, pos, state->cbdata)) in putglyph()
45 if(state->callbacks && state->callbacks->movecursor) in updatecursor()
46 …if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) in updatecursor()
52 if(state->callbacks && state->callbacks->erase) in erase()
53 if((*state->callbacks->erase)(rect, selective, state->cbdata)) in erase()
100 if(state->callbacks && state->callbacks->scrollrect) in scroll()
101 if((*state->callbacks->scrollrect)(rect, downward, rightward, state->cbdata)) in scroll()
104 if(state->callbacks) in scroll()
106 state->callbacks->moverect, state->callbacks->erase, state->cbdata); in scroll()
194 if((state->callbacks && in set_lineinfo()
195 state->callbacks->setlineinfo && in set_lineinfo()
196 (*state->callbacks->setlineinfo)(row, &info, state->lineinfo + row, state->cbdata)) in set_lineinfo()
357 if(state->callbacks && state->callbacks->bell) in on_control()
358 (*state->callbacks->bell)(state->cbdata); in on_control()
683 if(state->callbacks && state->callbacks->movecursor) in on_escape()
684 … (*state->callbacks->movecursor)(state->pos, oldpos, state->mode.cursor_visible, state->cbdata); in on_escape()
794 if(state->callbacks && state->callbacks->setmousefunc) in set_dec_mode()
795 (*state->callbacks->setmousefunc)(val ? mousefunc : NULL, state, state->cbdata); in set_dec_mode()
1568 if(state->callbacks && state->callbacks->resize) in on_resize()
1569 (*state->callbacks->resize)(rows, cols, &delta, state->cbdata); in on_resize()
1650 if(state->callbacks && state->callbacks->initpen) in vterm_state_reset()
1651 (*state->callbacks->initpen)(state->cbdata); in vterm_state_reset()
1691 void vterm_state_set_callbacks(VTermState *state, const VTermStateCallbacks *callbacks, void *user) in vterm_state_set_callbacks() argument
1693 if(callbacks) { in vterm_state_set_callbacks()
1694 state->callbacks = callbacks; in vterm_state_set_callbacks()
1697 if(state->callbacks && state->callbacks->initpen) in vterm_state_set_callbacks()
1698 (*state->callbacks->initpen)(state->cbdata); in vterm_state_set_callbacks()
1701 state->callbacks = NULL; in vterm_state_set_callbacks()
1710 if(state->callbacks && state->callbacks->settermprop) in vterm_state_set_termprop()
1711 if(!(*state->callbacks->settermprop)(prop, val, state->cbdata)) in vterm_state_set_termprop()