Last change
on this file since 10767 was
10317,
checked in by patrick, 18 years ago
|
merged branche data-fix back to trunk. this breaks compatibility with the old data/trunk data repository! be sure to update your data trunk
|
File size:
1.1 KB
|
Line | |
---|
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 | ### File Specific: |
---|
12 | main-programmer: Benjamin Grauer |
---|
13 | co-programmer: ... |
---|
14 | */ |
---|
15 | |
---|
16 | #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI |
---|
17 | |
---|
18 | #include "glgui_container.h" |
---|
19 | |
---|
20 | namespace OrxGui |
---|
21 | { |
---|
22 | ObjectListDefinition(GLGuiContainer); |
---|
23 | /** |
---|
24 | * standard constructor |
---|
25 | */ |
---|
26 | GLGuiContainer::GLGuiContainer () |
---|
27 | { |
---|
28 | this->init(); |
---|
29 | } |
---|
30 | |
---|
31 | |
---|
32 | /** |
---|
33 | * standard deconstructor |
---|
34 | */ |
---|
35 | GLGuiContainer::~GLGuiContainer() |
---|
36 | {} |
---|
37 | |
---|
38 | /** |
---|
39 | * initializes the GUI-element |
---|
40 | */ |
---|
41 | void GLGuiContainer::init() |
---|
42 | { |
---|
43 | this->registerObject(this, GLGuiContainer::_objectList); |
---|
44 | |
---|
45 | this->setBackgroundTexture("textures/gui/gui_container_background.png"); |
---|
46 | |
---|
47 | } |
---|
48 | |
---|
49 | |
---|
50 | void GLGuiContainer::removeChildWidget(GLGuiWidget* widget) |
---|
51 | { |
---|
52 | this->unpack(widget); |
---|
53 | } |
---|
54 | |
---|
55 | |
---|
56 | /** |
---|
57 | * draws the GLGuiContainer |
---|
58 | */ |
---|
59 | void GLGuiContainer::draw() |
---|
60 | { |
---|
61 | } |
---|
62 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.