Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2006, 10:52:49 AM (18 years ago)
Author:
bensch
Message:

Saveable integration. Step 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/gui/qt_gui/gui_audio.cc

    r7539 r7549  
    3737   *  Creates the Audio-Option-Frame
    3838  */
    39   GuiAudio::GuiAudio(QWidget* parent)
    40   : Element("Audio"), QGroupBox(parent)
     39  GuiAudio::GuiAudio(OrxGui::Gui* gui)
     40  : Element("Audio", gui), QGroupBox()
    4141  {
    4242    QGridLayout* layout = new QGridLayout(this);
     
    4444    {
    4545      QtGuiCheckBox* fullscreen = new QtGuiCheckBox("Enabled", true);
    46       //fullscreen->setName();
    4746      layout->addWidget(fullscreen, 0, 0);
    4847
     
    5049      layout->addWidget(wireframe, 1, 0);
    5150
    52       QtGuiComboBox* resolution = new QtGuiComboBox("SoundCard");
    53       layout->addWidget(resolution, 2, 0);
     51      QtGuiComboBox* soundCard = new QtGuiComboBox("SoundCard");
     52      layout->addWidget(soundCard, 2, 0);
    5453
     54      QtGuiSlider* channels = new QtGuiSlider("Channels");
     55      layout->addWidget(channels, 3, 0);
    5556
     57      QtGuiSlider* musicVolume = new QtGuiSlider("Music-Volume");
     58      layout->addWidget(musicVolume,0, 1);
     59      QtGuiSlider* effectVolume = new QtGuiSlider("Effects-Volume");
     60      layout->addWidget(effectVolume, 0, 2);
    5661    }
    5762
Note: See TracChangeset for help on using the changeset viewer.