| 1 |
t |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
extern int nodaemon; |
| 21 |
extern int do_mouse_reporting; |
| 22 |
|
| 23 |
enum current_button { |
| 24 |
BUTTON_LEFT, |
| 25 |
BUTTON_MIDDLE, |
| 26 |
BUTTON_RIGHT, |
| 27 |
BUTTON_RELEASED |
| 28 |
}; |
| 29 |
|
| 30 |
enum mouse_reporting_mode { |
| 31 |
MOUSE_REPORTING_OFF, |
| 32 |
MOUSE_REPORTING_X10, |
| 33 |
MOUSE_REPORTING_X11, |
| 34 |
MOUSE_REPORTING_MODE_COUNT |
| 35 |
}; |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
extern unsigned int screen_width; |
| 40 |
extern unsigned int screen_height; |
| 41 |
extern enum mouse_reporting_mode mouse_reporting; |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
void set_screen_size_and_mouse_reporting(void); |
| 46 |
void report_pointer(int x, int y, enum current_button button); |
| 47 |
void draw_pointer(int x, int y); |
| 48 |
void select_region(int x, int y, int x2, int y2); |
| 49 |
void select_words(int x, int y, int x2, int y2); |
| 50 |
void select_lines(int x, int y, int x2, int y2); |
| 51 |
void paste(void); |
| 52 |
void scroll(int sc); |
| 53 |
void set_lut(const char *word_chars); |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
void set_pointer(double x, double y); |
| 58 |
void move_pointer(double x, double y); |
| 59 |
void press_left_button(void); |
| 60 |
void release_left_button(void); |
| 61 |
void press_middle_button(void); |
| 62 |
void release_middle_button(void); |
| 63 |
void press_right_button(void); |
| 64 |
void release_right_button(void); |
| 65 |
void vertical_axis(double v); |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
int event_init(int argc, char **argv); |
| 70 |
int event_main(void); |