Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/gui/guicc/orxonox_gui_exec.cc @ 2003

Last change on this file since 2003 was 1996, checked in by bensch, 20 years ago

orxonox/branches/gui/guicc: added flags-frame, and an Option to rewrite it.

File size: 808 bytes
Line 
1#include "orxonox_gui_exec.h"
2
3OrxonoxGuiExec::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", "v", 0);
14  execBox->fill (verboseMode);
15  alwaysShow = new CheckButton ("Always Show this Menu");
16  alwaysShow->setFlagName ("gui", "g", 0);
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
25Frame* OrxonoxGuiExec::getFrame ()
26{
27  return execFrame;
28}
Note: See TracBrowser for help on using the repository browser.