Fixed the calculations for BUTTON_CENTER and BUTTON_SPACE.

This commit is contained in:
Matthew Fry 2017-10-09 09:18:16 -06:00
parent 5365016db3
commit 554bb5f53d
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ extern double ring_width;
#define BUTTON_RADIUS (circle_radius)
#define RING_WIDTH (ring_width)
#define BUTTON_SPACE (BUTTON_RADIUS + RING_WIDTH)
#define BUTTON_CENTER (BUTTON_RADIUS + RING_WIDTH)
#define BUTTON_SPACE (BUTTON_RADIUS + (RING_WIDTH / 2))
#define BUTTON_CENTER (BUTTON_RADIUS + (RING_WIDTH / 2))
#define BUTTON_DIAMETER (2 * BUTTON_SPACE)
#define CLOCK_WIDTH 400
#define CLOCK_HEIGHT 200