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