|
Last change
on this file since 2745 was
2058,
checked in by chris, 21 years ago
|
|
orxonox/branches/chris: Trunk remerged into my branch started on SDL reconfiguration
|
|
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.