Timeline/Track: Avoid unnecessary drawing of occluded track box.

pull/3/head
Jonathan Moore Liles 2012-02-23 21:59:50 -08:00
parent f769375a7a
commit 5aff30fef6
2 changed files with 6 additions and 1 deletions

View File

@ -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 );

View File

@ -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;