Changeset 4453 in orxonox.OLD for orxonox/trunk/src/glmenu/glmenu_imagescreen.h
- Timestamp:
- Jun 1, 2005, 11:22:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/glmenu/glmenu_imagescreen.h
r4451 r4453 1 1 /*! 2 \file glmenu_imagescreen 3 \brief class to display a image2 \file glmenu_imagescreen.h 3 \brief class to display a LoadScreen 4 4 */ 5 6 5 7 6 #ifndef _GLMENU_IMAGESCREEN_H … … 13 12 class TiXmlElement; 14 13 14 //! A class to display a loadScreen 15 15 class GLMenuImageScreen : public BaseObject { 16 16 … … 34 34 35 35 void setMaximum (int maxValue); 36 int getMaximum (); 36 /** \returns the maximum of countable steps*/ 37 inline int GLMenuImageScreen::getMaximum(void) const { return this->maxValue; }; 38 37 39 void setValue (int currentValue); 38 40 int getValue (); … … 41 43 42 44 private: 43 char* backImageName; //!< the name of the file of the background image 44 float scaleX, scaleY; //!< hight and width of the image 45 float offsetX, offsetY; //!< offset of the image from left and up 46 Material* backMat; //!< Background Material. 47 float barX, barY, barW, barH; //!< Position and Scale of the bar. 48 Material* barMat; //!< A Material for the Loading-Bar 45 // background image 46 char* backImageName; //!< the name of the file of the background image 47 float offsetX; //!< X-offset of the the image from the left 48 float offsetY; //!< Y-offset of the image from the top 49 float scaleX; //!< width of the image 50 float scaleY; //!< height of the image 51 Material* backMat; //!< Background Material. 52 53 // Load-Bar 54 float barX; //!< X-position of the Bar 55 float barY; //!< Y-position of the Bar 56 float barW; //!< Width of the Bat 57 float barH; //!< Height of the Bar. 58 Material* barMat; //!< A Material for the Loading-Bar 49 59 50 60 /* progress bar values */ 51 int currentValue;//!< the current count of step() calls fired yet52 int maxValue;//!< total count of steps61 int currentValue; //!< the current count of step() calls fired yet 62 int maxValue; //!< total count of steps 53 63 54 64 };
Note: See TracChangeset
for help on using the changeset viewer.