Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2005, 11:22:18 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: docu for the image_screen

File:
1 edited

Legend:

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

    r4451 r4453  
    11/*!
    2     \file glmenu_imagescreen
    3     \brief class to display a image
     2    \file glmenu_imagescreen.h
     3    \brief class to display a LoadScreen
    44*/
    5 
    65
    76#ifndef _GLMENU_IMAGESCREEN_H
     
    1312class TiXmlElement;
    1413
     14//! A class to display a loadScreen
    1515class GLMenuImageScreen : public BaseObject {
    1616
     
    3434
    3535  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
    3739  void setValue (int currentValue);
    3840  int getValue ();
     
    4143
    4244 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
    4959
    5060  /* progress bar values */
    51   int currentValue;          //!< the current count of step() calls fired yet
    52   int maxValue;              //!< total count of steps
     61  int           currentValue;        //!< the current count of step() calls fired yet
     62  int           maxValue;            //!< total count of steps
    5363
    5464};
Note: See TracChangeset for help on using the changeset viewer.