source:
orxonox.OLD/branches/qt_gui/src/lib/gui/gui.cc
@
7551
Last change on this file since 7551 was 7548, checked in by bensch, 19 years ago | |
---|---|
File size: 850 bytes |
Rev | Line | |
---|---|---|
[4744] | 1 | /* |
[1853] | 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. | |
[1855] | 10 | |
11 | ### File Specific: | |
12 | main-programmer: ... | |
13 | co-programmer: ... | |
[1853] | 14 | */ |
15 | ||
[3955] | 16 | //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ |
[1853] | 17 | |
[7476] | 18 | #include "gui.h" |
[1853] | 19 | |
[7476] | 20 | namespace OrxGui |
[3365] | 21 | { |
[4320] | 22 | |
23 | ||
[7476] | 24 | /** |
25 | * standard constructor | |
26 | */ | |
27 | Gui::Gui () | |
28 | { | |
29 | //this->setClassID(CL_PROTO_ID, "Gui"); | |
[7547] | 30 | this->state = Gui::Null; |
[7476] | 31 | } |
[1853] | 32 | |
33 | ||
[7476] | 34 | /** |
35 | * standard deconstructor | |
36 | */ | |
37 | Gui::~Gui () | |
38 | { | |
39 | // delete what has to be deleted here | |
40 | } | |
[7547] | 41 | |
42 | void Gui::quitEvent() | |
43 | { | |
44 | this->state |= Gui::Quitting; | |
45 | } | |
[7548] | 46 | |
47 | void Gui::startEvent() | |
48 | { | |
49 | this->state |= Gui::Starting; | |
50 | } | |
[3543] | 51 | } |
Note: See TracBrowser
for help on using the repository browser.