Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 13, 2005, 6:36:22 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more 2D-definitions, better draw function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/render2D/element_2d.h

    r4847 r4848  
    1818  E2D_MEDIUM,                          //!< Will be rendered on the medium Layer.
    1919  E2D_BOTTOM,                          //!< Will be rendered on the bottom Layer
    20   E2D_BELOW_ALL                        //!< Will be rendered below the 3D-scene. @todo make this work.
     20  E2D_BELOW_ALL,                       //!< Will be rendered below the 3D-scene. @todo make this work.
     21
     22  E2D_LAYER_COUNT                      //!< The count of Layers.
    2123} E2DLayer;
    2224
     
    2426typedef enum
    2527{
    26   ELEM2D_ALIGN_NONE,
    27   ELEM2D_ALIGN_LEFT,
    28   ELEM2D_ALIGN_RIGHT,
    29   ELEM2D_ALIGN_CENTER,
    30   ELEM2D_ALIGN_SCREEN_CENTER
    31 } ELEM2D_ALIGNMENT;
     28  E2D_ALIGN_NONE,
     29  E2D_ALIGN_LEFT,
     30  E2D_ALIGN_RIGHT,
     31  E2D_ALIGN_CENTER,
     32  E2D_ALIGN_SCREEN_CENTER
     33} E2D_ALIGNMENT;
    3234
    3335//! A Struct defining the Position of an Element in 2D-space
     
    7072   E2DLayer                layer;
    7173
    72    ELEM2D_ALIGNMENT        alignment;        //!< How the Element is aligned around its Position
     74   E2D_ALIGNMENT           alignment;        //!< How the Element is aligned around its Position
    7375   const PNode*            bindNode;         //!< a node over which to display this 2D-element
    7476};
Note: See TracChangeset for help on using the changeset viewer.