|
@ -32,10 +32,7 @@ extern double ring_width; |
|
|
#define BUTTON_RADIUS (circle_radius) |
|
|
#define BUTTON_RADIUS (circle_radius) |
|
|
#define RING_WIDTH (ring_width) |
|
|
#define RING_WIDTH (ring_width) |
|
|
#define BUTTON_SPACE (BUTTON_RADIUS + (RING_WIDTH / 2)) |
|
|
#define BUTTON_SPACE (BUTTON_RADIUS + (RING_WIDTH / 2)) |
|
|
#define BUTTON_CENTER (BUTTON_RADIUS + (RING_WIDTH / 2)) |
|
|
|
|
|
#define BUTTON_DIAMETER (2 * BUTTON_SPACE) |
|
|
#define BUTTON_DIAMETER (2 * BUTTON_SPACE) |
|
|
#define CLOCK_WIDTH 400 |
|
|
|
|
|
#define CLOCK_HEIGHT 200 |
|
|
|
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
/*******************************************************************************
|
|
|
* Variables defined in i3lock.c. |
|
|
* Variables defined in i3lock.c. |
|
@ -606,8 +603,6 @@ void init_colors_once(void) { |
|
|
colorgen_rgb(&tmp_rgb, color, &rgb16); |
|
|
colorgen_rgb(&tmp_rgb, color, &rgb16); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// init_fonts_once() ?
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
/*
|
|
|
* Draws global image with fill color onto a pixmap with the given |
|
|
* Draws global image with fill color onto a pixmap with the given |
|
|
* resolution and returns it. |
|
|
* resolution and returns it. |
|
|