aboutsummaryrefslogtreecommitdiffstats
path: root/src/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.h')
-rw-r--r--src/msg.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/msg.h b/src/msg.h
new file mode 100644
index 0000000..5fe90ef
--- /dev/null
+++ b/src/msg.h
@@ -0,0 +1,20 @@
+#ifndef _MSG_H_
+#define _MSG_H_
+
+#include <string.h>
+
+#include "panel.h"
+#include "panel_app.h"
+
+#define MSG_WIN_Y_PAD 5
+#define MSG_BUB_POLY 15
+
+#define MSG_LINE_SPC 8
+
+MBPanelMessageQueue* msg_new(MBPanel *dock, XClientMessageEvent *e);
+void msg_destroy(MBPanel *d, MBPanelMessageQueue *m);
+void msg_add_data(MBPanel *d, XClientMessageEvent *e);
+void msg_handle_events(MBPanel *d, XEvent *e);
+void msg_handle_timeouts(MBPanel *d);
+
+#endif