1 | /* |
---|
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, |
---|
18 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | |
---|
21 | ### File Specific: |
---|
22 | main-programmer: Benjamin Grauer |
---|
23 | |
---|
24 | */ |
---|
25 | |
---|
26 | #include "orxonox_gui_update.h" |
---|
27 | #include <iostream> |
---|
28 | #include <string> |
---|
29 | |
---|
30 | #include "orxonox_gui.h" |
---|
31 | #include <stdio.h> |
---|
32 | using namespace std; |
---|
33 | |
---|
34 | /** |
---|
35 | \brief Creates an Audio-Frame |
---|
36 | */ |
---|
37 | OrxonoxGuiUpdate::OrxonoxGuiUpdate () |
---|
38 | { |
---|
39 | updateFrame = new Frame ("Update-Options:"); |
---|
40 | updateBox = new Box ('v'); |
---|
41 | |
---|
42 | updateButton = new Button ("update"); |
---|
43 | updateBox->fill(updateButton); |
---|
44 | |
---|
45 | updateFrame->fill(updateBox); |
---|
46 | } |
---|
47 | |
---|
48 | /** |
---|
49 | \brief Return the Frame |
---|
50 | \return Returns the Audio-frame |
---|
51 | */ |
---|
52 | Widget* OrxonoxGuiUpdate::getWidget () |
---|
53 | { |
---|
54 | return updateFrame; |
---|
55 | } |
---|