diff options
author | Thomas White <taw@physics.org> | 2022-06-03 22:36:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-06-03 22:36:39 +0200 |
commit | 066cd46f297ffbf32b02de11c132f092b6abb10a (patch) | |
tree | 5e43777d2ddc4cbce44101b3ac33435557131290 /src | |
parent | 746778dfba2fb52bf74dd28a006153746d512891 (diff) |
Fixture display: Define constant for status area height
Diffstat (limited to 'src')
-rw-r--r-- | src/starlet-fixture-display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/starlet-fixture-display.c b/src/starlet-fixture-display.c index 60efed6..22ee6cb 100644 --- a/src/starlet-fixture-display.c +++ b/src/starlet-fixture-display.c @@ -37,6 +37,7 @@ #define OVERALL_BORDER (20.0) +#define STATUS_HEIGHT (35.0) #define FIXTURE_BORDER (5.0) @@ -245,7 +246,7 @@ static gboolean draw_sig(GtkWidget *widget, cairo_t *cr, struct fixture_display /* Fixtures */ x = 0.0; - y = 40.0; + y = STATUS_HEIGHT; for ( i=0; i<fixd->n_fixtures; i++ ) { double fw, fh; cairo_save(cr); |