Fix hight of Track_Widget box.
This commit is contained in:
parent
045bb504c3
commit
1246944a95
|
@ -101,7 +101,7 @@ public:
|
|||
virtual void
|
||||
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
|
||||
|
|
4
main.C
4
main.C
|
@ -112,9 +112,9 @@ main ( int argc, char **argv )
|
|||
// 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( 56000, 250 ) );
|
||||
|
|
Loading…
Reference in New Issue