Fix text centering
This commit is contained in:
parent
ba24eb9d58
commit
792444a331
2 changed files with 13 additions and 10 deletions
12
config.h
12
config.h
|
@ -1,16 +1,16 @@
|
|||
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_style = "Inconsolata:style=Medium:size=15";
|
||||
const static char *font_color = "#00FF00";
|
||||
const static unsigned short text_padding = 10;
|
||||
|
||||
const static unsigned short width = 325;
|
||||
const static unsigned short height = 50;
|
||||
const static unsigned short width = 300;
|
||||
const static unsigned short border_size = 5;
|
||||
const static unsigned short pos_x = 50;
|
||||
const static unsigned short pos_y = 50;
|
||||
const static unsigned short pos_x = 30;
|
||||
const static unsigned short pos_y = 30;
|
||||
|
||||
enum corners { top_left, top_right, down_right, down_left };
|
||||
enum corners corner = top_right;
|
||||
|
||||
const static short duration = 5;
|
||||
const static unsigned short duration = 5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue