Changeset 4099 in orxonox.OLD for orxonox/trunk/src/glmenu/glmenu_imagescreen.h
- Timestamp:
- May 7, 2005, 2:55:23 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/glmenu/glmenu_imagescreen.h
r3675 r4099 15 15 16 16 private: 17 GLMenuImageScreen ();18 17 19 18 public: 19 GLMenuImageScreen (); 20 20 virtual ~GLMenuImageScreen (); 21 22 static GLMenuImageScreen* getInstance();23 24 static GLMenuImageScreen* singletonRef;25 21 26 22 void init (); 27 void init (char* backImageName, float height, float width,28 float offsetX, float offsetY);29 23 30 24 void draw (); 31 25 32 void setBackImageName (char* backImageName); 33 void setPosition (float offsetX, float offsetY); 34 void setSize (float height, float width); 35 26 void setBackgroundImage(const char* backImageName); 27 void setPosition(float offsetX, float offsetY); 28 void setScale (float scaleX, float scaleY); 29 30 void setBarImage(const char* barImage); 31 void setBarPosScale(float barX, float barY, float barW, float barH); 32 36 33 void setMaximum (int maxValue); 37 34 int getMaximum (); … … 42 39 private: 43 40 char* backImageName; //!< the name of the file of the background image 44 float height, width;//!< hight and width of the image41 float scaleX, scaleY; //!< hight and width of the image 45 42 float offsetX, offsetY; //!< offset of the image from left and up 46 43 Material* backMat; //!< Background Material. 44 float barX, barY, barW, barH; //!< Position and Scale of the bar. 45 Material* barMat; //!< A Material for the Loading-Bar 47 46 48 47 /* progress bar values */
Note: See TracChangeset
for help on using the changeset viewer.