Changeset 8469 in orxonox.OLD for branches/gui
- Timestamp:
- Jun 15, 2006, 2:59:17 PM (18 years ago)
- Location:
- branches/gui/src/lib/gui/gl
- Files:
-
- 2 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; -
branches/gui/src/lib/gui/gl/glgui_style.h
r8448 r8469 43 43 44 44 /// SETUP 45 void reset(); 45 46 void loadParams(const TiXmlElement* root); 46 47 … … 85 86 86 87 void setAnimated(bool animated); 87 void animatedStateChanges(bool animated);88 void setAnimatedStateChanges(bool animated); 88 89 89 90 private:
Note: See TracChangeset
for help on using the changeset viewer.