Code Sample |
4c4 < w = fltk:Fl_Double_Window(205, 175, "DSL Exit Options") --- > w = fltk:Fl_Double_Window(205, 185, "DSL Exit Options") 30c30,39 < promptBtn = fltk:Fl_Round_Button(55, 55, 115, 25, "Exit to Prompt"); --- > promptBtn = fltk:Fl_Round_Button(55, 55, 105, 25, "Switch User"); > promptBtn:type(fltk.FL_RADIO_BUTTON) > promptBtn:value(0) > promptBtn:callback( > function(promptBtn) > backupBtn:value(0) > backupBtn:hide() > end) > > promptBtn = fltk:Fl_Round_Button(55, 75, 125, 25, "Exit to Prompt"); 41c50 < backupBtn = fltk:Fl_Check_Button(70, 85, 80, 30, "Backup") --- > backupBtn = fltk:Fl_Check_Button(70, 105, 80, 30, "Backup") 54c63 < okBtn = fltk:Fl_Return_Button(25, 130, 60, 25, "OK") --- > okBtn = fltk:Fl_Return_Button(25, 140, 60, 25, "OK") 77c86 < cancelBtn = fltk:Fl_Button(115, 130, 60, 25, "Cancel") --- > cancelBtn = fltk:Fl_Button(115, 140, 60, 25, "Cancel") |