Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/lib/gui/gl/glmenu


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

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  
    2424#include "util/loading/factory.h"
    2525#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"
     29ObjectListDefinitionID(GLMenuImageScreen, CL_GLMENU_IMAGE_SCREEN);
     30CREATE_FACTORY(GLMenuImageScreen);
    2931
    3032/**
     
    3335GLMenuImageScreen::GLMenuImageScreen(const TiXmlElement* root)
    3436{
    35   this->setClassID(CL_GLMENU_IMAGE_SCREEN, "GLMenuImageScreen");
     37  this->registerObject(this, GLMenuImageScreen::_objectList);
    3638  this->setName("GLMenuLoadScreen");
    3739  // Select Our VU Meter Background Texture
     
    5860{
    5961  LoadParam(root, "BackgroundImage", this, GLMenuImageScreen, setBackgroundImage)
    60     .describe("sets the image to load onto the loadscreen");
     62  .describe("sets the image to load onto the loadscreen");
    6163
    6264  LoadParam(root, "BackgroundPS", this, GLMenuImageScreen, setPosScale)
    63     .describe("The Position and Scale of the Background Image in %(0-1.0). PosX, PosY, SizeX, SizeY");
     65  .describe("The Position and Scale of the Background Image in %(0-1.0). PosX, PosY, SizeX, SizeY");
    6466
    6567  LoadParam(root, "BarImage", this, GLMenuImageScreen, setBarImage)
    66     .describe("sets the image of the LoadingBar");
     68  .describe("sets the image of the LoadingBar");
    6769
    6870  LoadParam(root, "BarPS", this, GLMenuImageScreen, setBarPosScale)
    69     .describe("The Position and Scale of the Loading Bar in %(0-1.0). PosX, PosY, SizeX, SizeY");
     71  .describe("The Position and Scale of the Loading Bar in %(0-1.0). PosX, PosY, SizeX, SizeY");
    7072
    7173  LoadParam(root, "ElementCount", this, GLMenuImageScreen, setMaximum)
    72     .describe("The Count of elements to load into the bar (this is only a maximum value)");
     74  .describe("The Count of elements to load into the bar (this is only a maximum value)");
    7375}
    7476
  • trunk/src/lib/gui/gl/glmenu/glmenu_imagescreen.h

    r8145 r9869  
    1515class GLMenuImageScreen : public BaseObject
    1616{
    17 
     17  ObjectListDeclaration(GLMenuImageScreen);
    1818public:
    1919  GLMenuImageScreen (const TiXmlElement* root = NULL);
     
    3333  void setMaximum (int maxValue);
    3434  /** @returns the maximum of countable steps*/
    35   inline int GLMenuImageScreen::getMaximum() const { return this->maxValue; };
     35  inline int getMaximum() const { return this->maxValue; };
    3636
    3737  void setValue (int currentValue);
Note: See TracChangeset for help on using the changeset viewer.