Fix hight of Track_Widget box.

This commit is contained in:
Jonathan Moore Liles 2008-02-21 04:45:50 -06:00
parent 045bb504c3
commit 1246944a95
2 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ public:
virtual void virtual void
draw_box ( int X, int Y, int W, int H ) draw_box ( int X, int Y, int W, int H )
{ {
fl_draw_box( box(), x(), y(), w(), y(), _box_color ); fl_draw_box( box(), x(), y(), w(), h(), _box_color );
} }
virtual void virtual void

4
main.C
View File

@ -112,9 +112,9 @@ main ( int argc, char **argv )
// Fl_Group *pack = new Fl_Group( 0, 0, 5000, 600 ); // Fl_Group *pack = new Fl_Group( 0, 0, 5000, 600 );
{ {
Tempo_Track *tempo_track = new Tempo_Track( 100, 0, 800, 24 ); Tempo_Track *tempo_track = new Tempo_Track( 0, 0, 800, 24 );
tempo_track->label( "tempo map" ); // tempo_track->label( "tempo map" );
tempo_track->add( new Tempo_Point( 0, 120 ) ); tempo_track->add( new Tempo_Point( 0, 120 ) );
tempo_track->add( new Tempo_Point( 56000, 250 ) ); tempo_track->add( new Tempo_Point( 56000, 250 ) );