Timeline: Workaround bug in FLTK 1.3 that prevented Control Sequences from displaying.

This commit is contained in:
Jonathan Moore Liles 2012-03-06 00:42:51 -08:00
parent 6a0b2d2069
commit e81270d74e
1 changed files with 6 additions and 3 deletions

View File

@ -205,24 +205,27 @@ Track::init ( void )
} }
{ {
Fl_Pack *o = pack = new Fl_Pack( width(), 0, 1006, 115 ); Fl_Pack *o = pack = new Fl_Pack( width(), 0, 1006, 115 );
o->type( Fl_Pack::VERTICAL );
o->labeltype( FL_NO_LABEL ); o->labeltype( FL_NO_LABEL );
o->resize( x() + width(), y(), w() - width(), h() ); o->resize( x() + width(), y(), w() - width(), h() );
resizable( o ); resizable( o );
{ {
// Fl_Pack *o = annotation = new Fl_Pack( width(), 0, pack->w(), 0 );
Fl_Pack *o = annotation = new Fl_Pack( width(), 0, pack->w(), 1 ); Fl_Pack *o = annotation = new Fl_Pack( width(), 0, pack->w(), 1 );
o->type( Fl_Pack::VERTICAL );
o->end(); o->end();
} }
{ {
Fl_Pack *o = control = new Fl_Pack( width(), 0, pack->w(), 0 ); Fl_Pack *o = control = new Fl_Pack( width(), 0, pack->w(), 1 );
o->type( Fl_Pack::VERTICAL );
o->end(); o->end();
} }
{ {
Fl_Pack *o = takes = new Fl_Pack( width(), 0, pack->w(), 0 ); Fl_Pack *o = takes = new Fl_Pack( width(), 0, pack->w(), 1 );
o->type( Fl_Pack::VERTICAL );
o->end(); o->end();
o->hide(); o->hide();
} }