Code cleanup

This commit is contained in:
Samuel Dudik 2020-07-31 10:59:07 +02:00
parent 384c1fae6d
commit 5f7cd56600
2 changed files with 31 additions and 29 deletions

View file

@ -1,16 +1,15 @@
const static char *background_color = "#3e3e3e";
const static char *border_color = "#ececec";
const static char *font_style = "Inconsolata:style=Medium:size=15";
const static char *font_color = "#ececec";
const static unsigned short text_padding = 10;
const static char *font_pattern = "Inconsolata:style=Medium:size=15";
const static unsigned short padding = 20;
const static unsigned short width = 300;
const static unsigned short border_size = 2;
const static unsigned short pos_x = 40;
const static unsigned short pos_y = 50;
enum corners { top_left, top_right, down_right, down_left };
enum corners corner = top_right;
enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT };
enum corners corner = TOP_RIGHT;
const static unsigned short duration = 5;
const static unsigned short duration = 5; /* in seconds */