Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 15, 2006, 2:12:06 AM (18 years ago)
Author:
bensch
Message:

gui_style: go on with the work… this will be heavy

File:
1 edited

Legend:

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

    r8276 r8440  
    3535
    3636  private:
    37     float             _borderLeft;           //!< The Distance to the left Border of the widget, before any internal Element starts.
    38     float             _borderRight;          //!< The Distance to the right Border of the widget, before any internal Element starts.
    39     float             _borderTop;            //!< The Distance to the top Border of the widget, before any internal Element starts
    40     float             _borderBottom;         //!< The Distance to the bottom Border of the widget, before any internal Element starts
     37    typedef struct
     38    {
     39      float             _borderLeft;           //!< The Distance to the left Border of the widget, before any internal Element starts.
     40      float             _borderRight;          //!< The Distance to the right Border of the widget, before any internal Element starts.
     41      float             _borderTop;            //!< The Distance to the top Border of the widget, before any internal Element starts
     42      float             _borderBottom;         //!< The Distance to the bottom Border of the widget, before any internal Element starts
    4143
    42     Font*             _font;                 //!< The Font used in the current Widget.
    43     float             _textSize;             //!< The TextSize of the Widget.
    44     float             _textColor;            //!< The TextColor of the Widget.
     44      float             _textSize;             //!< The TextSize of the Widget.
    4545
    46     float             _backgroundColor;      //!< The BackgroundColor of the Widget.
    47     Texture           _backgorundTexture;    //!< The BackgroundTexture of the Widget.
     46      Color             _backgroundColor;      //!< The BackgroundColor of the Widget.
     47      Texture           _backgorundTexture;    //!< The BackgroundTexture of the Widget.
    4848
    49     float             _foregroundColor;      //!< The foregroundColor of the Widget.
    50     Texture           _foregorundTexture;    //!< The ForegroundTexture of the Widget
     49      Color             _foregroundColor;      //!< The foregroundColor of the Widget.
     50    }
     51    StatedStyle;
     52
     53    StatedStyle      _style[4];
    5154
    5255    FeaturePosition   _featurePosition;      //!< The Position a Feature will be layed at (checkbox(box), slider(text),...)
     56    Font*             _font;                 //!< The Font used in the current Widget.
     57
    5358
    5459    bool              _animated;             //!< If the Widget is animated (Texture might be an AnimatedTexture.)
Note: See TracChangeset for help on using the changeset viewer.