Last change
on this file since 2011 was
1997,
checked in by bensch, 20 years ago
|
orxonox/branches/gui/guicc: flags now have the ability to update. (Main-Variables maid global to orxonox_gui)
|
File size:
503 bytes
|
Line | |
---|
1 | #include "orxonox_gui_video.h" |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | OrxonoxGuiVideo::OrxonoxGuiVideo () |
---|
6 | { |
---|
7 | videoFrame = new Frame ("Video-Options:"); |
---|
8 | videoBox = new Box ('v'); |
---|
9 | |
---|
10 | fullscreen = new CheckButton ("Fullscreen-mode"); |
---|
11 | fullscreen->setFlagName ("windowed", "q", 1); |
---|
12 | videoBox->fill (fullscreen); |
---|
13 | wireframe = new CheckButton ("WireFrame-mode"); |
---|
14 | wireframe->setFlagName ("wireframe", "w", 0); |
---|
15 | videoBox->fill (wireframe); |
---|
16 | |
---|
17 | videoFrame->fill (videoBox); |
---|
18 | } |
---|
19 | |
---|
20 | Frame* OrxonoxGuiVideo::getFrame () |
---|
21 | { |
---|
22 | return videoFrame; |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.