Timeline/Track: Avoid unnecessary drawing of occluded track box.
This commit is contained in:
parent
f769375a7a
commit
5aff30fef6
|
@ -127,10 +127,12 @@ Track::init ( void )
|
|||
Fl_Group::size( timeline->w(), height() );
|
||||
|
||||
Track *o = this;
|
||||
o->box( FL_THIN_UP_BOX );
|
||||
o->box( FL_NO_BOX );
|
||||
|
||||
{
|
||||
Fl_Group *o = new Fl_Group( 0, 0, 149, 70 );
|
||||
o->color( ( Fl_Color ) 53 );
|
||||
o->box( FL_THIN_UP_BOX );
|
||||
|
||||
{
|
||||
Fl_Input *o = name_field = new Fl_Sometimes_Input( 2, 2, 144, 24 );
|
||||
|
|
|
@ -74,6 +74,9 @@ public:
|
|||
Audio_Region *region;
|
||||
};
|
||||
|
||||
Fl_Color color ( void ) const { return child(0)->color(); }
|
||||
void color ( Fl_Color c ) { child(0)->color( c ); }
|
||||
|
||||
private:
|
||||
|
||||
static int _soloing;
|
||||
|
|
Loading…
Reference in New Issue