|
Last change
on this file since 1978 was
1978,
checked in by bensch, 21 years ago
|
|
orxonox/branches/gui/guicc: added video and audio frames. made default signal connection to slider and checkbutton
|
|
File size:
500 bytes
|
| Line | |
|---|
| 1 | #include "orxonox_gui_audio.h" |
|---|
| 2 | |
|---|
| 3 | OrxonoxGuiAudio::OrxonoxGuiAudio () |
|---|
| 4 | { |
|---|
| 5 | audioFrame = new Frame ("Audio-Options:"); |
|---|
| 6 | audioBox = new Box ('v'); |
|---|
| 7 | |
|---|
| 8 | enableSound = new CheckButton ("Enable Sound"); |
|---|
| 9 | audioBox->fill (enableSound); |
|---|
| 10 | musicVolume = new Slider ("Music Volume", 0, 100); |
|---|
| 11 | audioBox->fill (musicVolume); |
|---|
| 12 | effectsVolume = new Slider ("Effects Volume", 0, 100); |
|---|
| 13 | audioBox->fill (effectsVolume); |
|---|
| 14 | |
|---|
| 15 | audioFrame->fill (audioBox); |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | Frame* OrxonoxGuiAudio::getFrame () |
|---|
| 19 | { |
|---|
| 20 | return audioFrame; |
|---|
| 21 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.