diff --git a/config.h b/config.h index 7bfcc44..0f02d04 100644 --- a/config.h +++ b/config.h @@ -1,12 +1,21 @@ -#define REFRESH_TIME 30 -#define STARTPOS_Y 12 -#define STARTPOS_X 0 -#define LEFT_OFFSET 0 +#define REFRESH_TIME 30 // Refresh rate in seconds + +#define STARTPOS_Y 12 // y coordinate of the top-left + // 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 RIGHT_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; } color; - +// TIME COLORS color colors[4]={ //base {