Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8555 in orxonox.OLD for branches/gui/src/lib/gui/gl/glgui_style.cc


Ignore:
Timestamp:
Jun 17, 2006, 10:00:10 AM (18 years ago)
Author:
bensch
Message:

gui: load-params

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl/glgui_style.cc

    r8554 r8555  
    6666
    6767  void GLGuiStyle::loadParams(const TiXmlElement* root)
    68   {}
     68  {
     69    LoadParam(root, "border-left", this, GLGuiStyle, setBorderLeft);
     70    LoadParam(root, "border-right", this, GLGuiStyle, setBorderRight);
     71    LoadParam(root, "border-top", this, GLGuiStyle, setBorderTop);
     72    LoadParam(root, "border-bottom", this, GLGuiStyle, setBorderBottom);
     73
     74    LoadParam(root, "text-size", this, GLGuiStyle, setTextSize);
     75    LoadParam(root, "background-color", this, GLGuiStyle, setBackgroundColorS);
     76    LoadParam(root, "foreground-color", this, GLGuiStyle, setForegroundColorS);
     77
     78    LoadParam(root, "feature-position", this, GLGuiStyle, setFeaturePosition);
     79    LoadParam(root, "Font", this, GLGuiStyle, setFont);
     80
     81    LoadParam(root, "animated", this, GLGuiStyle, setAnimated);
     82    LoadParam(root, "animated-state-changes", this, GLGuiStyle, setAnimatedStateChanges);
     83  }
    6984
    7085
Note: See TracChangeset for help on using the changeset viewer.