Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 7, 2005, 12:30:14 AM (19 years ago)
Author:
patrick
Message:

orxonox/branches/parenting: extended functionality to implement progress bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/glmenu_imagescreen.h

    r3358 r3363  
    2525 
    2626  void setBackImageName (char* backImageName);
    27   void setPosition(float offsetX, float offsetY);
    28   void setSize(float height, float width);
     27  void setPosition (float offsetX, float offsetY);
     28  void setSize (float height, float width);
     29 
     30  void setMaximum (int maxStep);
     31  int getMaximum ();
     32  void setValue (int currentValue);
     33  int getValue ();
     34  void step ();
    2935
    3036 private:
    31   char* backImageName;  //! the name of the file of the background image
    32   float height, width;
    33   float offsetX, offsetY;
    34   Texture* backTex;
    35  
     37  char* backImageName;       //! the name of the file of the background image
     38  float height, width;       //! hight and width of the image
     39  float offsetX, offsetY;    //! offset of the image from left and up
     40  Texture* backTex;          //! background texture
     41  int currentValue;          //! the current count of step() calls fired yet
     42  int maxStep;               //! total count of steps
     43
    3644};
    3745
Note: See TracChangeset for help on using the changeset viewer.