Adding some extra comment to the config file
This commit is contained in:
parent
310dff2387
commit
ff4cdc0c25
23
config.h
23
config.h
@ -1,12 +1,21 @@
|
|||||||
#define REFRESH_TIME 30
|
#define REFRESH_TIME 30 // Refresh rate in seconds
|
||||||
#define STARTPOS_Y 12
|
|
||||||
#define STARTPOS_X 0
|
#define STARTPOS_Y 12 // y coordinate of the top-left
|
||||||
#define LEFT_OFFSET 0
|
// corner of the background window
|
||||||
|
|
||||||
|
#define STARTPOS_X 0 // x coordinate of the top-left
|
||||||
|
// corner of the background window
|
||||||
|
|
||||||
|
#define BOX_HEIGHT_RATE 0.9 // The box height and screen height ratio
|
||||||
|
#define GAP_SIZE 3 // The gap size between the boxes
|
||||||
|
|
||||||
|
/* The clock well be centered inside of the defined box.
|
||||||
|
The block bellow is for some slite modification.
|
||||||
|
*/
|
||||||
|
#define LEFT_OFFSET 0
|
||||||
#define TOP_OFFSET 12
|
#define TOP_OFFSET 12
|
||||||
#define RIGHT_OFFSET 0
|
#define RIGHT_OFFSET 0
|
||||||
#define BOTTOM_OFFSET 0
|
#define BOTTOM_OFFSET 0
|
||||||
#define BOX_HEIGHT_RATE 0.9
|
|
||||||
#define GAP_SIZE 3
|
|
||||||
|
|
||||||
// +--------+---+-------------------
|
// +--------+---+-------------------
|
||||||
// + + + +
|
// + + + +
|
||||||
@ -27,7 +36,7 @@ typedef struct _color {
|
|||||||
float blue;
|
float blue;
|
||||||
} color;
|
} color;
|
||||||
|
|
||||||
|
// TIME COLORS
|
||||||
color colors[4]={
|
color colors[4]={
|
||||||
//base
|
//base
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user