Small refactoring
This commit is contained in:
parent
025055056c
commit
e81696c2d3
3 changed files with 19 additions and 24 deletions
22
config.h
22
config.h
|
@ -1,16 +1,16 @@
|
|||
const static char *background_color = "#3e3e3e";
|
||||
const static char *border_color = "#ececec";
|
||||
const static char *font_color = "#ececec";
|
||||
const static char *font_pattern = "Inconsolata:style=Medium:size=13";
|
||||
const static unsigned line_spacing = 5;
|
||||
const static unsigned int padding = 15;
|
||||
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=13";
|
||||
static const unsigned line_spacing = 5;
|
||||
static const unsigned int padding = 15;
|
||||
|
||||
const static unsigned int width = 400;
|
||||
const static unsigned int border_size = 2;
|
||||
const static unsigned int pos_x = 30;
|
||||
const static unsigned int pos_y = 50;
|
||||
static const unsigned int width = 400;
|
||||
static const unsigned int border_size = 2;
|
||||
static const unsigned int pos_x = 30;
|
||||
static const unsigned int pos_y = 50;
|
||||
|
||||
enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT };
|
||||
enum corners corner = TOP_RIGHT;
|
||||
|
||||
const static unsigned int duration = 5; /* in seconds */
|
||||
static const unsigned int duration = 15; /* in seconds */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue