Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/gui/guicc/orxonox_gui_audio.cc @ 1993

Last change on this file since 1993 was 1983, checked in by bensch, 20 years ago

orxonox/branches/gui/guicc: added setFlagName

File size: 638 bytes
Line 
1#include "orxonox_gui_audio.h"
2
3OrxonoxGuiAudio::OrxonoxGuiAudio ()
4{
5  audioFrame = new Frame ("Audio-Options:");
6  audioBox = new Box ('v');
7 
8  enableSound = new CheckButton ("Enable Sound");
9  enableSound->setFlagName ("enablesound");
10  audioBox->fill (enableSound);
11  musicVolume = new Slider ("Music Volume", 0, 100);
12  musicVolume->setFlagName ("music-volume");
13  audioBox->fill (musicVolume);
14  effectsVolume = new Slider ("Effects Volume", 0, 100);
15  effectsVolume->setFlagName ("effects-volume");
16  audioBox->fill (effectsVolume);
17
18  audioFrame->fill (audioBox);
19}
20
21Frame* OrxonoxGuiAudio::getFrame ()
22{
23  return audioFrame;
24}
Note: See TracBrowser for help on using the repository browser.