1 #ifndef MIXER_CLICKABLE_H 2 #define MIXER_CLICKABLE_H 3 4 #include CURSESINC 5 #include "bindings.h" 6 7 struct clickable_rect { 8 short y1; 9 short x1; 10 short y2; 11 short x2; 12 command_enum command; 13 int arg1; 14 }; 15 16 void clickable_set(int y1, int x1, int y2, int x2, command_enum command, int arg1); 17 void clickable_set_relative(WINDOW *win, int y1, int x1, int y2, int x2, command_enum command, int arg1); 18 void clickable_clear(int y1, int x1, int y2, int x2); 19 struct clickable_rect* clickable_find(int y, int x); 20 21 #endif 22