[4777] | 1 | /* |
---|
[2581] | 2 | orxonox - the future of 3D-vertical-scrollers |
---|
| 3 | |
---|
| 4 | Copyright (C) 2004 orx |
---|
| 5 | |
---|
| 6 | This program is free software; you can redistribute it and/or modify |
---|
| 7 | it under the terms of the GNU General Public License as published by |
---|
| 8 | the Free Software Foundation; either version 2, or (at your option) |
---|
| 9 | any later version. |
---|
| 10 | |
---|
| 11 | This program is distributed in the hope that it will be useful, |
---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 14 | GNU General Public License for more details. |
---|
| 15 | |
---|
| 16 | You should have received a copy of the GNU General Public License |
---|
| 17 | along with this program; if not, write to the Free Software Foundation, |
---|
[4777] | 18 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
[2581] | 19 | |
---|
| 20 | |
---|
| 21 | ### File Specific: |
---|
| 22 | main-programmer: Benjamin Grauer |
---|
| 23 | |
---|
| 24 | */ |
---|
| 25 | |
---|
| 26 | |
---|
[7495] | 27 | #include "gui_audio.h" |
---|
[7484] | 28 | |
---|
[7534] | 29 | #include <QtGui/QLayout> |
---|
[4381] | 30 | #include "sdlincl.h" |
---|
[7481] | 31 | #include "debug.h" |
---|
[3624] | 32 | |
---|
[7534] | 33 | #include <QtGui/QPushButton> |
---|
| 34 | #include <QtGui/QCheckBox> |
---|
| 35 | #include <QtGui/QComboBox> |
---|
[7484] | 36 | |
---|
[7481] | 37 | namespace OrxGui |
---|
[2018] | 38 | { |
---|
[7481] | 39 | /** |
---|
[7495] | 40 | * Creates the Audio-Option-Frame |
---|
[7481] | 41 | */ |
---|
[7495] | 42 | GuiAudio::GuiAudio(QWidget* parent) |
---|
| 43 | : Element("Audio"), QGroupBox(parent) |
---|
[4064] | 44 | { |
---|
[7484] | 45 | QGridLayout* layout = new QGridLayout(this); |
---|
[7493] | 46 | |
---|
[7484] | 47 | { |
---|
[7534] | 48 | QCheckBox* fullscreen = new QCheckBox(QString("Enabled")); |
---|
[7484] | 49 | //fullscreen->setName(); |
---|
[7493] | 50 | layout->addWidget(fullscreen, 0, 0); |
---|
[7484] | 51 | |
---|
[7534] | 52 | QCheckBox* wireframe = new QCheckBox("Test"); |
---|
[7493] | 53 | layout->addWidget(wireframe, 1, 0); |
---|
| 54 | |
---|
[7534] | 55 | QComboBox* resolution = new QComboBox(); |
---|
[7493] | 56 | layout->addWidget(resolution, 2, 0); |
---|
| 57 | |
---|
| 58 | |
---|
[7484] | 59 | } |
---|
| 60 | |
---|
| 61 | |
---|
[4064] | 62 | } |
---|
[2018] | 63 | |
---|
[7481] | 64 | /** |
---|
[7495] | 65 | * Destructs the Audio-stuff |
---|
[7481] | 66 | */ |
---|
[7495] | 67 | GuiAudio::~GuiAudio() |
---|
[7481] | 68 | { |
---|
| 69 | // nothing to do here. |
---|
| 70 | } |
---|
[3423] | 71 | |
---|
| 72 | |
---|
[3624] | 73 | } |
---|