aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
Diffstat (limited to 'dzen.h')
-rw-r--r--dzen.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/dzen.h b/dzen.h
index d7703cc..6dfdf7d 100644
--- a/dzen.h
+++ b/dzen.h
@@ -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 {