mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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
This commit is contained in:
parent
7e5dea02fb
commit
eb1d3e48c8
3 changed files with 89 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue