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() );
|
Fl_Group::size( timeline->w(), height() );
|
||||||
|
|
||||||
Track *o = this;
|
Track *o = this;
|
||||||
o->box( FL_THIN_UP_BOX );
|
o->box( FL_NO_BOX );
|
||||||
|
|
||||||
{
|
{
|
||||||
Fl_Group *o = new Fl_Group( 0, 0, 149, 70 );
|
Fl_Group *o = new Fl_Group( 0, 0, 149, 70 );
|
||||||
o->color( ( Fl_Color ) 53 );
|
o->color( ( Fl_Color ) 53 );
|
||||||
|
o->box( FL_THIN_UP_BOX );
|
||||||
|
|
||||||
{
|
{
|
||||||
Fl_Input *o = name_field = new Fl_Sometimes_Input( 2, 2, 144, 24 );
|
Fl_Input *o = name_field = new Fl_Sometimes_Input( 2, 2, 144, 24 );
|
||||||
|
|
|
@ -74,6 +74,9 @@ public:
|
||||||
Audio_Region *region;
|
Audio_Region *region;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Fl_Color color ( void ) const { return child(0)->color(); }
|
||||||
|
void color ( Fl_Color c ) { child(0)->color( c ); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
static int _soloing;
|
static int _soloing;
|
||||||
|
|
Loading…
Reference in New Issue