Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2005, 2:55:23 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: glmis-refitted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/glmenu/glmenu_imagescreen.h

    r3675 r4099  
    1515
    1616 private:
    17   GLMenuImageScreen ();
    1817
    1918 public:
     19  GLMenuImageScreen ();
    2020  virtual ~GLMenuImageScreen ();
    21  
    22   static GLMenuImageScreen* getInstance();
    23 
    24   static GLMenuImageScreen* singletonRef;
    2521
    2622  void init ();
    27   void init (char* backImageName, float height, float width,
    28              float offsetX, float offsetY);
    2923
    3024  void draw ();
    3125 
    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
    3633  void setMaximum (int maxValue);
    3734  int getMaximum ();
     
    4239 private:
    4340  char* backImageName;       //!< the name of the file of the background image
    44   float height, width;       //!< hight and width of the image
     41  float scaleX, scaleY;      //!< hight and width of the image
    4542  float offsetX, offsetY;    //!< offset of the image from left and up
    4643  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
    4746
    4847  /* progress bar values */
Note: See TracChangeset for help on using the changeset viewer.