Fixed keyboard navigation in fl_choice() (STR #2591)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2011-04-20 15:41:09 +00:00
parent 0e8f5810b6
commit 386db67c73
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,6 @@
CHANGES IN FLTK 1.1.11
- Fixed keyboard navigation in fl_choice() (STR #2591)
- Fixed alpha blending under X11 when line data size != 0 (STR #2606)
- Update libpng access for libpng 1.5 and higher (STR #2542)
- Fixed linker issue (missing -lfontconfig) when configured with

View File

@ -81,6 +81,8 @@ static Fl_Window *makeform() {
o->color(FL_WHITE);
o->labelcolor(FL_BLUE);
}
w->end(); // don't add the buttons automatically
// create the buttons (right to left)
button[0] = new Fl_Button(310, 70, 90, 23);
button[0]->shortcut(FL_Escape);
button[0]->align(FL_ALIGN_INSIDE|FL_ALIGN_WRAP);
@ -88,6 +90,10 @@ static Fl_Window *makeform() {
button[1]->align(FL_ALIGN_INSIDE|FL_ALIGN_WRAP);
button[2] = new Fl_Button(110, 70, 90, 23);
button[2]->align(FL_ALIGN_INSIDE|FL_ALIGN_WRAP);
// add the buttons (left to right)
for (int b=2; b>=0; b--)
w->add(button[b]);
w->begin();
w->resizable(new Fl_Box(60,10,110-60,27));
w->end();
w->set_modal();