From e81270d74e5f7c4b3105edad3b0b5f71c9cf16eb Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 6 Mar 2012 00:42:51 -0800 Subject: [PATCH] Timeline: Workaround bug in FLTK 1.3 that prevented Control Sequences from displaying. --- timeline/src/Track.C | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/timeline/src/Track.C b/timeline/src/Track.C index 04f2f29..a53e9b8 100644 --- a/timeline/src/Track.C +++ b/timeline/src/Track.C @@ -205,24 +205,27 @@ Track::init ( void ) } { Fl_Pack *o = pack = new Fl_Pack( width(), 0, 1006, 115 ); + o->type( Fl_Pack::VERTICAL ); o->labeltype( FL_NO_LABEL ); o->resize( x() + width(), y(), w() - width(), h() ); 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 ); + o->type( Fl_Pack::VERTICAL ); 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(); } { - 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->hide(); }