Browse Source

Fixed the calculations for BUTTON_CENTER and BUTTON_SPACE.

master
Matthew Fry 7 years ago
parent
commit
554bb5f53d
  1. 4
      unlock_indicator.c

4
unlock_indicator.c

@ -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…
Cancel
Save