Call Fl_Double_Window::resize in canvas widget resize method.. Apparently it matters.

pull/3/head
Jonathan Moore Liles 2008-02-12 16:25:14 -06:00
parent bb014f4a09
commit d301578e54
2 changed files with 5 additions and 3 deletions

1
TODO
View File

@ -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.)

View File

@ -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
} {