make schemes test window resizable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
4a2e8fa883
commit
f2dc7f90ff
@ -53,11 +53,11 @@ class SchemesTest : public Fl_Group {
|
||||
st->window()->redraw(); // redraw window
|
||||
}
|
||||
}
|
||||
public:
|
||||
public:
|
||||
static Fl_Widget *create() {
|
||||
return new SchemesTest(TESTAREA_X, TESTAREA_Y, TESTAREA_W, TESTAREA_H);
|
||||
}
|
||||
SchemesTest(int X,int Y,int W,int H) : Fl_Group(X,Y,W,H) {
|
||||
SchemesTest(int X,int Y,int W,int H) : Fl_Group(X,Y,W,H) {
|
||||
schemechoice = new Fl_Choice(X+125,Y,140,25,"FLTK Scheme");
|
||||
schemechoice->add("none");
|
||||
schemechoice->add("plastic");
|
||||
@ -261,6 +261,7 @@ public:
|
||||
} // Fl_Text_Editor* o
|
||||
}
|
||||
subwin->end();
|
||||
subwin->resizable(subwin);
|
||||
subwin->show();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user