Add a way to unlink the semaphore
[herbe.git] / config.h
index 286130bb4b3ed1be2ceb8fb82ca30a0a89e32546..a27fb681815e1dc992df0feb24c17d7c8945eeb4 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,13 +1,19 @@
-unsigned long background_color = 0xFFFFFF;
-unsigned long border_color = 0xFF0000;
+static const char *background_color = "#3e3e3e";
+static const char *border_color = "#ececec";
+static const char *font_color = "#ececec";
+static const char *font_pattern = "Inconsolata:style=Medium:size=12";
+static const unsigned line_spacing = 5;
+static const unsigned int padding = 15;
 
-const static char *font_style = "Inconsolata:style=Medium:size=13";
-const static char *font_color = "#000000";
+static const unsigned int width = 450;
+static const unsigned int border_size = 2;
+static const unsigned int pos_x = 30;
+static const unsigned int pos_y = 60;
 
-const static unsigned int width = 325;
-const static unsigned int height = 50;
-const static unsigned int border_size = 5;
-const static unsigned int pos_x = 1920 - width - border_size - 30;
-const static unsigned int pos_y = 50;
+enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT };
+enum corners corner = TOP_RIGHT;
 
-const static int duration = 5;
+static const unsigned int duration = 5; /* in seconds */
+
+#define DISMISS_BUTTON Button1
+#define ACTION_BUTTON Button3
\ No newline at end of file