Changeset 4861 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Jul 14, 2005, 2:08:39 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/graphics/render2D
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/render2D/element_2d.cc
r4860 r4861 54 54 this->setClassID(CL_ELEMENT_2D, "Element2D"); 55 55 56 this->setVisibility(true); 56 57 this->setPosition2D(0,0); 57 this->setAlignment(E2D_ALIGN_CENTER); 58 this->setAlignment(E2D_ALIGN_NONE); 59 this->setLayer(E2D_TOP); 58 60 59 61 Render2D::getInstance()->registerElement2D(this); … … 132 134 void Element2D::positioning() 133 135 { 134 135 136 // setting the Position of this 2D-Element. 136 137 if (this->alignment == E2D_ALIGN_SCREEN_CENTER) -
orxonox/trunk/src/lib/graphics/render2D/element_2d.h
r4858 r4861 87 87 bool visible; 88 88 E2DLayer layer; 89 90 89 }; 91 90
Note: See TracChangeset
for help on using the changeset viewer.