summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-19 14:27:05 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-19 14:27:05 +0000
commiteb1d3e48c822b4235e8dbf58e645ea733e4523b0 (patch)
treede2142c9bc722bffe48d81ca76fd26090e9c9d6d /gtk2_ardour/audio_clock.h
parent7e5dea02fb0b67828097a0378ffc31bc47302edd (diff)
fix up big clock aspect ratio; fix color handling in audio clocks
git-svn-id: svn://localhost/ardour2/branches/3.0@10704 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r--gtk2_ardour/audio_clock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h
index f4681c279c..a5705da022 100644
--- a/gtk2_ardour/audio_clock.h
+++ b/gtk2_ardour/audio_clock.h
@@ -59,6 +59,7 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
void set_widget_name (const std::string& name);
void set_active_state (Gtkmm2ext::ActiveState s);
void set_editable (bool yn);
+ void set_corner_radius (double);
void focus ();
@@ -108,11 +109,14 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
Pango::AttrList editing_attributes;
Pango::AttrList info_attributes;
+ int first_height;
+ int first_width;
int layout_height;
int layout_width;
int info_height;
int upper_height;
double mode_based_info_ratio;
+ double corner_radius;
static const double info_font_scale_factor;
static const double separator_height;