Changeset 4843 in orxonox.OLD for orxonox/trunk/src/lib/graphics/render2D/element_2d.h
- Timestamp:
- Jul 12, 2005, 11:00:48 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/render2D/element_2d.h
r4840 r4843 10 10 11 11 // FORWARD DECLARATION 12 class PNode; 12 13 13 14 //!< An enumerator defining the Depth of a 2D-element. … … 19 20 E2D_BELOW_ALL //!< Will be rendered below the 3D-scene. @todo make this work. 20 21 } E2DLayer; 22 23 24 typedef enum 25 { 26 ELEM2D_ALIGN_LEFT, 27 ELEM2D_ALIGN_RIGHT, 28 ELEM2D_ALIGN_CENTER, 29 ELEM2D_ALIGN_SCREEN_CENTER 30 } ELEM2D_ALIGNMENT; 31 21 32 22 33 //! A class for ... … … 32 43 33 44 45 void positioning(); 34 46 virtual void draw() const = NULL; 35 47 … … 39 51 E2DLayer layer; 40 52 53 ELEM2D_ALIGNMENT alignment; 54 PNode* bindNode; //!< a node over which to display this 2D-element 41 55 }; 42 56
Note: See TracChangeset
for help on using the changeset viewer.