Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

gui: load-params

Location:
branches/gui/src/lib
Files:
3 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
  • branches/gui/src/lib/gui/gl/glgui_style.h

    r8554 r8555  
    77#define _GLGUI_STYLE_H
    88
     9#include "base_object.h"
     10
    911#include "glgui_defs.h"
    1012
     
    1315#include "color.h"
    1416
    15 class TiXmlElement;
    16 
    1717namespace OrxGui
    1818{
    1919  //! A class for Defining Styles to the opengl-gui.
    20   class GLGuiStyle
     20  class GLGuiStyle : public BaseObject
    2121  {
    2222  public:
  • branches/gui/src/lib/util/executor/functor_list.h

    r8048 r8555  
    144144  FUNCTOR_LIST(3)(l_STRING, l_UINT, l_UINT);
    145145
     146  FUNCTOR_LIST(5)(l_FLOAT, l_FLOAT, l_FLOAT, l_FLOAT, l_STRING);
     147
    146148#endif /* FUNCTOR_LIST */
Note: See TracChangeset for help on using the changeset viewer.