Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8442 in orxonox.OLD


Ignore:
Timestamp:
Jun 15, 2006, 10:37:56 AM (18 years ago)
Author:
bensch
Message:

gui: defs with names

Location:
branches/gui/src/lib/gui/gl
Files:
2 edited

Legend:

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

    r8441 r8442  
    77#define _GLGUI_DEFS_H
    88
     9#include <string>
     10
    911/// TODO MOVE TO ORXGUI_TYPES
    1012namespace OrxGui
    1113{
     14  //! if the Element should be visible by default.
     15#define GLGUI_WIDGET_DEFAULT_VISIBLE       false
     16
     17
    1218  //! An enumeration for the Orientation of an Element.
    1319  typedef enum {
    14     Horizontal,    //!< Horizontal Orientation.
    15     Vertical       //!< Vertical Orientation.
     20    Horizontal,       //!< Horizontal Orientation.
     21    Vertical          //!< Vertical Orientation.
    1622  } Orientation;
     23
     24  const std::string OrientationString[2] = {
     25    "Horizontal",
     26    "Vertical"
     27  };
    1728
    1829  //! An enumerator that defines the different states Widgets may be in.
     
    2334    Insensitive       //!< If the Widget is insensitive.
    2435  } State;
     36  //! The count of States a GUI-Element can be in.
    2537#define GLGUI_STATE_COUNT   4
     38
     39  const std::string StateString[] =
     40    {
     41      "Normal",
     42      "Active",
     43      "Selected",
     44      "Insensitive"
     45    };
     46
     47
    2648
    2749
  • branches/gui/src/lib/gui/gl/glgui_widget.h

    r8441 r8442  
    2121  class GLGuiCursor;
    2222
    23   //! if the Element should be visible by default.
    24 #define GLGUI_WIDGET_DEFAULT_VISIBLE       false
    2523
    2624  //! This is widget part of the openglGUI class
Note: See TracChangeset for help on using the changeset viewer.