Browse Source

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

tags/non-sequencer-v1.9.4
Jonathan Moore Liles 17 years ago
parent
commit
d301578e54
2 changed files with 5 additions and 3 deletions
  1. +1
    -0
      TODO
  2. +4
    -3
      gui/ui.fl

+ 1
- 0
TODO View File

@@ -5,6 +5,7 @@


; General ; General


* add option to create new instrument defintion.
* per phrase tempo setting? Perhaps a percentage of global tempo? * per phrase tempo setting? Perhaps a percentage of global tempo?
* add channel field to event list widget (but channel bits in pattern * add channel field to event list widget (but channel bits in pattern
event lists are currently meaningless.) event lists are currently meaningless.)


+ 4
- 3
gui/ui.fl View File

@@ -1335,7 +1335,7 @@ class O_Canvas {open : {public Fl_Double_Window}
decl {Canvas *_c;} {} decl {Canvas *_c;} {}
decl {bool _border_drawn;} {} decl {bool _border_drawn;} {}
decl {uint _flags;} {} 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; code {_c = NULL;
_border_drawn = false; _border_drawn = false;
@@ -1379,7 +1379,7 @@ return p;} {}
} }
Function {resize( int x, int y, int w, int h )} {open 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 ) 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 Function {draw()} {open return_type void
} { } {


Loading…
Cancel
Save