source:
orxonox.OLD/trunk/src/lib/gui/gl/glgui_container.cc
@
10355
Last change on this file since 10355 was 10317, checked in by patrick, 18 years ago | |
---|---|
File size: 1.1 KB |
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: | |
[5360] | 12 | main-programmer: Benjamin Grauer |
[1855] | 13 | co-programmer: ... |
[1853] | 14 | */ |
15 | ||
[5360] | 16 | #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI |
[1853] | 17 | |
[5364] | 18 | #include "glgui_container.h" |
[1853] | 19 | |
[7779] | 20 | namespace OrxGui |
[3365] | 21 | { |
[9869] | 22 | ObjectListDefinition(GLGuiContainer); |
[7779] | 23 | /** |
24 | * standard constructor | |
25 | */ | |
26 | GLGuiContainer::GLGuiContainer () | |
27 | { | |
28 | this->init(); | |
29 | } | |
[1853] | 30 | |
[5360] | 31 | |
[7779] | 32 | /** |
33 | * standard deconstructor | |
34 | */ | |
35 | GLGuiContainer::~GLGuiContainer() | |
36 | {} | |
[5360] | 37 | |
[7779] | 38 | /** |
39 | * initializes the GUI-element | |
40 | */ | |
41 | void GLGuiContainer::init() | |
42 | { | |
[9869] | 43 | this->registerObject(this, GLGuiContainer::_objectList); |
[5360] | 44 | |
[10317] | 45 | this->setBackgroundTexture("textures/gui/gui_container_background.png"); |
[8619] | 46 | |
[7779] | 47 | } |
[5364] | 48 | |
[5360] | 49 | |
[9656] | 50 | void GLGuiContainer::removeChildWidget(GLGuiWidget* widget) |
51 | { | |
52 | this->unpack(widget); | |
53 | } | |
54 | ||
55 | ||
[7779] | 56 | /** |
57 | * draws the GLGuiContainer | |
58 | */ | |
59 | void GLGuiContainer::draw() | |
60 | { | |
61 | } | |
[5360] | 62 | } |
Note: See TracBrowser
for help on using the repository browser.