… | |
… | |
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 () |
… | |
… | |
831 | hate_those_clicks:1, /* a.k.a. keep mark position */ |
832 | hate_those_clicks:1, /* a.k.a. keep mark position */ |
832 | num_scr_allow:1, |
833 | num_scr_allow:1, |
833 | bypass_keystate:1, |
834 | bypass_keystate:1, |
834 | #ifdef CURSOR_BLINK |
835 | #ifdef CURSOR_BLINK |
835 | hidden_cursor:1, |
836 | hidden_cursor:1, |
|
|
837 | #endif |
|
|
838 | #ifdef TEXT_BLINK |
|
|
839 | hidden_text:1, |
836 | #endif |
840 | #endif |
837 | #ifdef POINTER_BLANK |
841 | #ifdef POINTER_BLANK |
838 | hidden_pointer:1, |
842 | hidden_pointer:1, |
839 | #endif |
843 | #endif |
840 | parsed_geometry:1, |
844 | parsed_geometry:1, |
… | |
… | |
1065 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
1069 | void x_cb (io_watcher &w, short revents); io_watcher x_ev; |
1066 | |
1070 | |
1067 | void incr_cb (time_watcher &w); time_watcher incr_ev; |
1071 | void incr_cb (time_watcher &w); time_watcher incr_ev; |
1068 | |
1072 | |
1069 | #ifdef CURSOR_BLINK |
1073 | #ifdef CURSOR_BLINK |
|
|
1074 | void cursor_blink_cb (time_watcher &w); time_watcher cursor_blink_ev; |
|
|
1075 | #endif |
|
|
1076 | #ifdef TEXT_BLINK |
1070 | void blink_cb (time_watcher &w); time_watcher blink_ev; |
1077 | void text_blink_cb (time_watcher &w); time_watcher text_blink_ev; |
1071 | #endif |
1078 | #endif |
1072 | |
1079 | |
1073 | #ifdef POINTER_BLANK |
1080 | #ifdef POINTER_BLANK |
1074 | void pointer_cb (time_watcher &w); time_watcher pointer_ev; |
1081 | void pointer_cb (time_watcher &w); time_watcher pointer_ev; |
1075 | void pointer_blank (); |
1082 | void pointer_blank (); |
… | |
… | |
1133 | void scr_reset (); |
1140 | void scr_reset (); |
1134 | void scr_reset_realloc (); |
1141 | void scr_reset_realloc (); |
1135 | void scr_release (); |
1142 | void scr_release (); |
1136 | void scr_clear (); |
1143 | void scr_clear (); |
1137 | void scr_refresh (unsigned char refresh_type); |
1144 | void scr_refresh (unsigned char refresh_type); |
|
|
1145 | bool scr_refresh_rend (rend_t mask, rend_t value); |
1138 | void scr_erase_screen (int mode); |
1146 | void scr_erase_screen (int mode); |
1139 | void scr_touch (bool refresh); |
1147 | void scr_touch (bool refresh); |
1140 | void scr_expose (int x, int y, int width, int height, bool refresh); |
1148 | void scr_expose (int x, int y, int width, int height, bool refresh); |
1141 | }; |
1149 | }; |
1142 | |
1150 | |