Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8142 in orxonox.OLD for branches/gui/src/lib/gui/gl/glgui_style.h


Ignore:
Timestamp:
Jun 4, 2006, 1:26:04 AM (18 years ago)
Author:
bensch
Message:

gui: nice docu, now implement it :)

File:
1 edited

Legend:

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

    r8141 r8142  
    1515namespace OrxGui
    1616{
    17 
    1817  //! A class for Defining Styles to the opengl-gui.
    1918  class GLGuiStyle
     
    3433  private:
    3534
    36     float             _borderLeft;
    37     float             _borderRight;
    38     float             _borderTop;
    39     float             _borderBottom;
     35    float             _borderLeft;           //!< The Distance to the left Border of the widget, before any internal Element starts.
     36    float             _borderRight;          //!< The Distance to the right Border of the widget, before any internal Element starts.
     37    float             _borderTop;            //!< The Distance to the top Border of the widget, before any internal Element starts
     38    float             _borderBottom;         //!< The Distance to the bottom Border of the widget, before any internal Element starts
    4039
    41     Font*             _font;
    42     float             _textSize;
    43     float             _textColor;
     40    Font*             _font;                 //!< The Font used in the current Widget.
     41    float             _textSize;             //!< The TextSize of the Widget.
     42    float             _textColor;            //!< The TextColor of the Widget.
    4443
    45     float             _backgroundColor;
    46     Texture           _backgorundTexture;
     44    float             _backgroundColor;      //!< The BackgroundColor of the Widget.
     45    Texture           _backgorundTexture;    //!< The BackgroundTexture of the Widget.
    4746
    48     float             _foregroundColor;
    49     Texture           _foregorundTexture;
     47    float             _foregroundColor;      //!< The foregroundColor of the Widget.
     48    Texture           _foregorundTexture;    //!< The ForegroundTexture of the Widget
    5049
    51     bool              _animated;
    52     bool              _animatedStateChanges;
     50    bool              _animated;             //!< If the Widget is animated (Texture might be an AnimatedTexture.)
     51    bool              _animatedStateChanges; //!< If the Transitions between States are Animated automatically.
    5352  };
    5453}
Note: See TracChangeset for help on using the changeset viewer.