Add an option to specify 'corner'

This commit is contained in:
Samuel Dudik 2020-07-29 15:09:34 +02:00
parent 45c030065a
commit ba24eb9d58
2 changed files with 37 additions and 17 deletions

View file

@ -1,13 +1,16 @@
unsigned long background_color = 0xFFFFFF;
unsigned long border_color = 0xFF0000;
const static char *background_color = "#FFFFFF";
const static char *border_color = "#FF0000";
const static char *font_style = "Inconsolata:style=Medium:size=13";
const static char *font_color = "#000000";
const static char *font_color = "#00FF00";
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;
const static unsigned short width = 325;
const static unsigned short height = 50;
const static unsigned short border_size = 5;
const static unsigned short pos_x = 50;
const static unsigned short pos_y = 50;
const static int duration = 5;
enum corners { top_left, top_right, down_right, down_left };
enum corners corner = top_right;
const static short duration = 5;