Changeset 8469 in orxonox.OLD for branches/gui/src/lib/gui/gl/glgui_style.cc
- Timestamp:
- Jun 15, 2006, 2:59:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_style.cc
r8460 r8469 29 29 GLGuiStyle::GLGuiStyle (const TiXmlElement* root) 30 30 { 31 _font = NULL; 32 33 31 34 if (root != NULL) 32 35 this->loadParams(root); … … 43 46 } 44 47 48 void GLGuiStyle::reset() 49 { 50 this->setBorderLeft(1.0); 51 this->setBorderRight(1.0); 52 this->setBorderTop(1.0); 53 this->setBorderBottom(1.0); 54 55 this->setTextSize(20.0); 56 this->setBackgroundColor(1.0); 57 this->setForegroundColor(1.0); 58 59 this->setFeaturePosition(FeatureLeft); 60 this->setFont(NULL); 61 62 this->setAnimated(true); 63 this->setAnimatedStateChanges(true); 64 } 65 45 66 void GLGuiStyle::loadParams(const TiXmlElement* root) 46 67 { … … 196 217 } 197 218 198 void GLGuiStyle:: animatedStateChanges(bool animated)219 void GLGuiStyle::setAnimatedStateChanges(bool animated) 199 220 { 200 221 this->_animatedStateChanges = animated;
Note: See TracChangeset
for help on using the changeset viewer.