Last change
on this file since 1993 was
1983,
checked in by bensch, 21 years ago
|
orxonox/branches/gui/guicc: added setFlagName
|
File size:
796 bytes
|
Line | |
---|
1 | #include "orxonox_gui_exec.h" |
---|
2 | |
---|
3 | OrxonoxGuiExec::OrxonoxGuiExec (Window* orxonoxGUI) |
---|
4 | { |
---|
5 | execFrame = new Frame ("Execute-Tags:"); |
---|
6 | execBox = new Box ('v'); |
---|
7 | |
---|
8 | start = new Button ("Start"); |
---|
9 | execBox->fill (start); |
---|
10 | saveSettings = new CheckButton ("Save Settings"); |
---|
11 | execBox->fill (saveSettings); |
---|
12 | verboseMode = new Menu ("verbose mode", "no output", "verbose", "debug", "lastItem"); |
---|
13 | verboseMode->setFlagName ("verbose"); |
---|
14 | execBox->fill (verboseMode); |
---|
15 | alwaysShow = new CheckButton ("Always Show this Menu"); |
---|
16 | alwaysShow->setFlagName ("verbose"); |
---|
17 | execBox->fill (alwaysShow); |
---|
18 | quit = new Button ("Quit"); |
---|
19 | quit->connectSignal ("clicked", orxonoxGUI->orxonox_gui_quit); |
---|
20 | execBox->fill (quit); |
---|
21 | |
---|
22 | execFrame->fill (execBox); |
---|
23 | } |
---|
24 | |
---|
25 | Frame* OrxonoxGuiExec::getFrame () |
---|
26 | { |
---|
27 | return execFrame; |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.