Fixed the calculations for BUTTON_CENTER and BUTTON_SPACE.
This commit is contained in:
parent
5365016db3
commit
554bb5f53d
|
@ -30,8 +30,8 @@ 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)
|
#define BUTTON_SPACE (BUTTON_RADIUS + (RING_WIDTH / 2))
|
||||||
#define BUTTON_CENTER (BUTTON_RADIUS + RING_WIDTH)
|
#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_WIDTH 400
|
||||||
#define CLOCK_HEIGHT 200
|
#define CLOCK_HEIGHT 200
|
||||||
|
|
Loading…
Reference in New Issue