diff --git a/TODO b/TODO index 81fe333..9c74024 100644 --- a/TODO +++ b/TODO @@ -5,6 +5,7 @@ ; General +* add option to create new instrument defintion. * per phrase tempo setting? Perhaps a percentage of global tempo? * add channel field to event list widget (but channel bits in pattern event lists are currently meaningless.) diff --git a/gui/ui.fl b/gui/ui.fl index d970c0c..3077dd3 100644 --- a/gui/ui.fl +++ b/gui/ui.fl @@ -1335,7 +1335,7 @@ class O_Canvas {open : {public Fl_Double_Window} decl {Canvas *_c;} {} decl {bool _border_drawn;} {} decl {uint _flags;} {} - Function {O_Canvas( int X, int Y, int W, int H, const char*L=0) : Fl_Double_Window(X,Y,W,H,L)} {open selected + Function {O_Canvas( int X, int Y, int W, int H, const char*L=0) : Fl_Double_Window(X,Y,W,H,L)} {open } { code {_c = NULL; _border_drawn = false; @@ -1379,7 +1379,7 @@ return p;} {} } Function {resize( int x, int y, int w, int h )} {open } { - code {Fl_Window::resize( x, y, w, h ); + code {Fl_Double_Window::resize( x, y, w, h ); if ( _c ) { @@ -1388,7 +1388,8 @@ if ( _c ) } -// Fl_Window::resize( x, y, w, h );} {} +// Fl_Window::resize( x, y, w, h );} {selected + } } Function {draw()} {open return_type void } {