Changeset 4453 in orxonox.OLD for orxonox/trunk/src/glmenu/glmenu_imagescreen.cc
- Timestamp:
- Jun 1, 2005, 11:22:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/glmenu/glmenu_imagescreen.cc
r4357 r4453 47 47 \brief Loads a GLMenu from an inputElement 48 48 \param root The Element to load the GLMenu from 49 50 Tags are:51 \li BackgroundImage STRING: the background Image52 \li BarImage: STRING: the Image on the Bar53 \li BackgroundPS: FLOAT FLOAT FLOAT FLOAT: posX posY scaleX scaleY54 \li BarPS: FLOAT FLOAT FLOAT FLOAT: posX posY scaleX scaleY55 \li ElementCount: INT: how many elements will be loaded56 49 */ 57 50 void GLMenuImageScreen::loadParams(const TiXmlElement* root) … … 103 96 /** 104 97 \brief sets the background image name 105 \param file name of the backgroun-image98 \param backImageName name of the backgroun-image 106 99 */ 107 100 void GLMenuImageScreen::setBackgroundImage (const char* backImageName) … … 110 103 } 111 104 112 113 105 /** 114 106 \brief sets position of the ImageScreen 115 \param xoffset from the top left corner in percent(0-1) of the screensize116 \param yoffset from the top left corner in percent(0-1) of the screensize107 \param offsetX offset from the top left corner in percent(0-1) of the screensize 108 \param offsetY offset from the top left corner in percent(0-1) of the screensize 117 109 */ 118 110 void GLMenuImageScreen::setPosition(float offsetX, float offsetY) … … 122 114 } 123 115 124 125 /* 116 /** 126 117 \brief sets size of the ImageScreen 127 118 \param scaleX the scaleing of the image into the x-direction (in percent (0-1)) … … 134 125 } 135 126 136 /* 127 /** 137 128 \brief sets position and size of the ImageScreen 138 \param xoffset from the top left corner in percent(0-1) of the screensize139 \param yoffset from the top left corner in percent(0-1) of the screensize129 \param offsetX offset from the top left corner in percent(0-1) of the screensize 130 \param offsetY offset from the top left corner in percent(0-1) of the screensize 140 131 \param scaleX the scaleing of the image into the x-direction (in percent (0-1)) 141 132 \param scaleY the scaleing of the image into the y-direction (in percent (0-1)) … … 173 164 /** 174 165 \brief set the maximum of countable steps 175 \param max imumof steps166 \param maxValue of steps 176 167 */ 177 168 void GLMenuImageScreen::setMaximum(int maxValue) … … 180 171 } 181 172 182 183 /**184 \brief gets the maximum of countable steps185 */186 int GLMenuImageScreen::getMaximum()187 {188 return this->maxValue;189 }190 191 192 173 /** 193 174 \brief set current value 194 \param current value175 \param currentValue value to set 195 176 */ 196 177 void GLMenuImageScreen::setValue(int currentValue)
Note: See TracChangeset
for help on using the changeset viewer.