… | |
… | |
804 | #ifdef MENUBAR |
804 | #ifdef MENUBAR |
805 | # include "menubar.h" |
805 | # include "menubar.h" |
806 | #endif |
806 | #endif |
807 | |
807 | |
808 | #define BLINK_INTERVAL 0.5 |
808 | #define BLINK_INTERVAL 0.5 |
|
|
809 | #define TEXT_BLINK_INTERVAL 0.5 |
809 | |
810 | |
810 | struct mbstate { |
811 | struct mbstate { |
811 | mbstate_t mbs; |
812 | mbstate_t mbs; |
812 | |
813 | |
813 | mbstate () |
814 | mbstate () |
… | |
… | |
897 | fnum, /* logical font number */ |
898 | fnum, /* logical font number */ |
898 | last_bot, /* scrollbar last bottom position */ |
899 | last_bot, /* scrollbar last bottom position */ |
899 | last_top, /* scrollbar last top position */ |
900 | last_top, /* scrollbar last top position */ |
900 | last_state, /* scrollbar last state */ |
901 | last_state, /* scrollbar last state */ |
901 | scrollbar_len, |
902 | scrollbar_len, |
902 | currmaxcol, |
|
|
903 | #ifdef MENUBAR |
903 | #ifdef MENUBAR |
904 | menu_readonly, /* okay to alter menu? */ |
904 | menu_readonly, /* okay to alter menu? */ |
905 | Arrows_x, |
905 | Arrows_x, |
906 | #endif |
906 | #endif |
907 | #if MENUBAR_MAX > 1 |
907 | #if MENUBAR_MAX > 1 |
… | |
… | |
1037 | /* these three don't need to be kept but do so to placate some mem checkers */ |
1037 | /* these three don't need to be kept but do so to placate some mem checkers */ |
1038 | char *env_windowid; /* environmental variable WINDOWID */ |
1038 | char *env_windowid; /* environmental variable WINDOWID */ |
1039 | char *env_display; /* environmental variable DISPLAY */ |
1039 | char *env_display; /* environmental variable DISPLAY */ |
1040 | char *env_term; /* environmental variable TERM */ |
1040 | char *env_term; /* environmental variable TERM */ |
1041 | char *env_colorfgbg; |
1041 | char *env_colorfgbg; |
1042 | char *buffer; |
|
|
1043 | char *locale; |
1042 | char *locale; |
1044 | char *codeset; |
1043 | char *codeset; |
1045 | char charsets[4]; |
1044 | char charsets[4]; |
1046 | unsigned char *v_buffer; /* pointer to physical buffer */ |
1045 | unsigned char *v_buffer; /* pointer to physical buffer */ |
1047 | unsigned int v_buflen; /* size of area to write */ |
1046 | unsigned int v_buflen; /* size of area to write */ |
… | |
… | |
1068 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
1067 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
1069 | |
1068 | |
1070 | void incr_cb (time_watcher &w); time_watcher incr_ev; |
1069 | void incr_cb (time_watcher &w); time_watcher incr_ev; |
1071 | |
1070 | |
1072 | #ifdef CURSOR_BLINK |
1071 | #ifdef CURSOR_BLINK |
|
|
1072 | void cursor_blink_cb (time_watcher &w); time_watcher cursor_blink_ev; |
|
|
1073 | #endif |
|
|
1074 | #ifdef TEXT_BLINK |
1073 | void blink_cb (time_watcher &w); time_watcher blink_ev; |
1075 | void text_blink_cb (time_watcher &w); time_watcher text_blink_ev; |
1074 | #endif |
1076 | #endif |
1075 | |
1077 | |
1076 | #ifdef POINTER_BLANK |
1078 | #ifdef POINTER_BLANK |
1077 | void pointer_cb (time_watcher &w); time_watcher pointer_ev; |
1079 | void pointer_cb (time_watcher &w); time_watcher pointer_ev; |
1078 | void pointer_blank (); |
1080 | void pointer_blank (); |
… | |
… | |
1136 | void scr_reset (); |
1138 | void scr_reset (); |
1137 | void scr_reset_realloc (); |
1139 | void scr_reset_realloc (); |
1138 | void scr_release (); |
1140 | void scr_release (); |
1139 | void scr_clear (); |
1141 | void scr_clear (); |
1140 | void scr_refresh (unsigned char refresh_type); |
1142 | void scr_refresh (unsigned char refresh_type); |
|
|
1143 | bool scr_refresh_rend (rend_t mask, rend_t value); |
1141 | void scr_erase_screen (int mode); |
1144 | void scr_erase_screen (int mode); |
1142 | void scr_touch (bool refresh); |
1145 | void scr_touch (bool refresh); |
1143 | void scr_expose (int x, int y, int width, int height, bool refresh); |
1146 | void scr_expose (int x, int y, int width, int height, bool refresh); |
1144 | }; |
1147 | }; |
1145 | |
1148 | |