Idź do dokumentacji tego pliku.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __EKG_NCURSES_MOUSE_H
00021 #define __EKG_NCURSES_MOUSE_H
00022
00023 void ncurses_enable_mouse(const char *env);
00024 void ncurses_disable_mouse(void);
00025 void ncurses_mouse_clicked_handler(int x, int y, int mouse_flag);
00026 void ncurses_lastlog_mouse_handler(int x, int y, int mouse_state);
00027
00028
00029
00030 #define EKG_BUTTON1_CLICKED 0x0001
00031 #define EKG_BUTTON2_CLICKED 0x0007
00032 #define EKG_BUTTON3_CLICKED 0x0008
00033 #define EKG_UNKNOWN_CLICKED 0x0006
00034 #define EKG_BUTTON1_DOUBLE_CLICKED 0x0002
00035 #define EKG_BUTTON2_DOUBLE_CLICKED 0x0009
00036 #define EKG_BUTTON3_DOUBLE_CLICKED 0x0010
00037 #define EKG_UNKNOWN_DOUBLE_CLICKED 0x0005
00038 #define EKG_SCROLLED_UP 0x0003
00039 #define EKG_SCROLLED_DOWN 0x0004
00040
00041 extern int mouse_initialized;
00042
00043 #endif
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053