Lines Matching full:scp

101 #define mark_for_update(scp, x)	{\  argument
102 if ((x) < scp->start) scp->start = (x);\
103 else if ((x) > scp->end) scp->end = (x);\
105 #define mark_all(scp) {\ argument
106 scp->start = 0;\
107 scp->end = scp->xsize * scp->ysize - 1;\
110 /* vty status flags (scp->status) */
371 typedef int sc_term_init_t(scr_stat *scp, void **tcp, int code);
374 typedef int sc_term_term_t(scr_stat *scp, void **tcp);
375 typedef void sc_term_puts_t(scr_stat *scp, u_char *buf, int len);
376 typedef int sc_term_ioctl_t(scr_stat *scp, struct tty *tp, u_long cmd,
378 typedef int sc_term_reset_t(scr_stat *scp, int code);
381 typedef void sc_term_default_attr_t(scr_stat *scp, int norm, int rev);
382 typedef void sc_term_clear_t(scr_stat *scp);
383 typedef void sc_term_notify_t(scr_stat *scp, int event);
386 typedef int sc_term_input_t(scr_stat *scp, int c, struct tty *tp);
387 typedef const char *sc_term_fkeystr_t(scr_stat *scp, int c);
388 typedef void sc_term_sync_t(scr_stat *scp);
437 typedef void vr_init_t(scr_stat *scp);
438 typedef void vr_clear_t(scr_stat *scp, int c, int attr);
439 typedef void vr_draw_border_t(scr_stat *scp, int color);
440 typedef void vr_draw_t(scr_stat *scp, int from, int count, int flip);
441 typedef void vr_set_cursor_t(scr_stat *scp, int base, int height, int blink);
442 typedef void vr_draw_cursor_t(scr_stat *scp, int at, int blink,
444 typedef void vr_blink_cursor_t(scr_stat *scp, int at, int flip);
445 typedef void vr_set_mouse_t(scr_stat *scp);
446 typedef void vr_draw_mouse_t(scr_stat *scp, int x, int y, int on);
516 #define ISTEXTSC(scp) (!((scp)->status \ argument
518 #define ISGRAPHSC(scp) (((scp)->status \ argument
520 #define ISPIXELSC(scp) (((scp)->status \ argument
523 #define ISUNKNOWNSC(scp) ((scp)->status & UNKNOWN_MODE) argument
552 int set_mode(scr_stat *scp);
554 void sc_set_border(scr_stat *scp, int color);
555 void sc_load_font(scr_stat *scp, int page, int size, int width,
557 void sc_save_font(scr_stat *scp, int page, int size, int width,
559 void sc_show_font(scr_stat *scp, int page);
562 void sc_draw_cursor_image(scr_stat *scp);
563 void sc_remove_cursor_image(scr_stat *scp);
564 void sc_set_cursor_image(scr_stat *scp);
565 void sc_change_cursor_shape(scr_stat *scp, int flags,
567 int sc_clean_up(scr_stat *scp);
569 void sc_alloc_scr_buffer(scr_stat *scp, int wait, int discard);
570 int sc_init_emulator(scr_stat *scp, char *name);
571 void sc_paste(scr_stat *scp, const u_char *p, int count);
572 void sc_respond(scr_stat *scp, const u_char *p,
574 void sc_bell(scr_stat *scp, int pitch, int duration);
578 int sc_alloc_history_buffer(scr_stat *scp, int lines,
580 void sc_free_history_buffer(scr_stat *scp, int prev_ysize);
581 void sc_hist_save(scr_stat *scp);
582 #define sc_hist_save_one_line(scp, from) \ argument
583 sc_vtb_append(&(scp)->vtb, (from), (scp)->history, (scp)->xsize)
584 int sc_hist_restore(scr_stat *scp);
585 void sc_hist_home(scr_stat *scp);
586 void sc_hist_end(scr_stat *scp);
587 int sc_hist_up_line(scr_stat *scp);
588 int sc_hist_down_line(scr_stat *scp);
595 void sc_alloc_cut_buffer(scr_stat *scp, int wait);
596 void sc_draw_mouse_image(scr_stat *scp);
597 void sc_remove_mouse_image(scr_stat *scp);
598 int sc_inside_cutmark(scr_stat *scp, int pos);
599 void sc_remove_cutmarking(scr_stat *scp);
600 void sc_remove_all_cutmarkings(sc_softc_t *scp);
601 void sc_remove_all_mouse(sc_softc_t *scp);
602 void sc_mouse_paste(scr_stat *scp);
604 #define sc_draw_mouse_image(scp) argument
605 #define sc_remove_mouse_image(scp) argument
606 #define sc_inside_cutmark(scp, pos) FALSE argument
607 #define sc_remove_cutmarking(scp) argument
608 #define sc_remove_all_cutmarkings(scp) argument
609 #define sc_remove_all_mouse(scp) argument
610 #define sc_mouse_paste(scp) argument
613 void sc_mouse_move(scr_stat *scp, int x, int y);
619 int sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode,
622 int sc_set_graphics_mode(scr_stat *scp, struct tty *tp, int mode);
623 int sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize,
631 sc_rndr_sw_t *sc_render_match(scr_stat *scp, char *name, int mode);
665 void sc_move_cursor(scr_stat *scp, int x, int y);
666 void sc_clear_screen(scr_stat *scp);