diff options
Diffstat (limited to 'dzen.h')
-rw-r--r-- | dzen.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -26,6 +26,8 @@ #define MIN_BUF_SIZE 1024 #define MAX_LINE_LEN 8192 +#define MAX_CLICKABLE_AREAS 256 + #ifndef Button6 # define Button6 6 #endif @@ -58,6 +60,17 @@ struct Fnt { #endif }; +/* clickable areas */ +typedef struct _CLICK_A { + int button; + int start_x; + int end_x; + char cmd[1024]; +} click_a; +extern click_a sens_areas[MAX_CLICKABLE_AREAS]; +extern int sens_areas_cnt; +extern int xorig; + /* title window */ struct TW { |