Changeset 9869 in orxonox.OLD for trunk/src/lib/gui/gl/glmenu
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- Location:
- trunk/src/lib/gui/gl/glmenu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glmenu/glmenu_imagescreen.cc
r9406 r9869 24 24 #include "util/loading/factory.h" 25 25 #include "util/loading/load_param.h" 26 27 CREATE_FACTORY(GLMenuImageScreen, CL_GLMENU_IMAGE_SCREEN); 28 26 #include "debug.h" 27 28 #include "class_id_DEPRECATED.h" 29 ObjectListDefinitionID(GLMenuImageScreen, CL_GLMENU_IMAGE_SCREEN); 30 CREATE_FACTORY(GLMenuImageScreen); 29 31 30 32 /** … … 33 35 GLMenuImageScreen::GLMenuImageScreen(const TiXmlElement* root) 34 36 { 35 this-> setClassID(CL_GLMENU_IMAGE_SCREEN, "GLMenuImageScreen");37 this->registerObject(this, GLMenuImageScreen::_objectList); 36 38 this->setName("GLMenuLoadScreen"); 37 39 // Select Our VU Meter Background Texture … … 58 60 { 59 61 LoadParam(root, "BackgroundImage", this, GLMenuImageScreen, setBackgroundImage) 60 62 .describe("sets the image to load onto the loadscreen"); 61 63 62 64 LoadParam(root, "BackgroundPS", this, GLMenuImageScreen, setPosScale) 63 65 .describe("The Position and Scale of the Background Image in %(0-1.0). PosX, PosY, SizeX, SizeY"); 64 66 65 67 LoadParam(root, "BarImage", this, GLMenuImageScreen, setBarImage) 66 68 .describe("sets the image of the LoadingBar"); 67 69 68 70 LoadParam(root, "BarPS", this, GLMenuImageScreen, setBarPosScale) 69 71 .describe("The Position and Scale of the Loading Bar in %(0-1.0). PosX, PosY, SizeX, SizeY"); 70 72 71 73 LoadParam(root, "ElementCount", this, GLMenuImageScreen, setMaximum) 72 74 .describe("The Count of elements to load into the bar (this is only a maximum value)"); 73 75 } 74 76 -
trunk/src/lib/gui/gl/glmenu/glmenu_imagescreen.h
r8145 r9869 15 15 class GLMenuImageScreen : public BaseObject 16 16 { 17 17 ObjectListDeclaration(GLMenuImageScreen); 18 18 public: 19 19 GLMenuImageScreen (const TiXmlElement* root = NULL); … … 33 33 void setMaximum (int maxValue); 34 34 /** @returns the maximum of countable steps*/ 35 inline int GLMenuImageScreen::getMaximum() const { return this->maxValue; };35 inline int getMaximum() const { return this->maxValue; }; 36 36 37 37 void setValue (int currentValue);
Note: See TracChangeset
for help on using the changeset viewer.