Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4861 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Jul 14, 2005, 2:08:39 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: all elements visible

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  
    5454  this->setClassID(CL_ELEMENT_2D, "Element2D");
    5555
     56  this->setVisibility(true);
    5657  this->setPosition2D(0,0);
    57   this->setAlignment(E2D_ALIGN_CENTER);
     58  this->setAlignment(E2D_ALIGN_NONE);
     59  this->setLayer(E2D_TOP);
    5860
    5961  Render2D::getInstance()->registerElement2D(this);
     
    132134void Element2D::positioning()
    133135{
    134 
    135136  // setting the Position of this 2D-Element.
    136137  if (this->alignment == E2D_ALIGN_SCREEN_CENTER)
  • orxonox/trunk/src/lib/graphics/render2D/element_2d.h

    r4858 r4861  
    8787    bool                    visible;
    8888    E2DLayer                layer;
    89 
    9089};
    9190
Note: See TracChangeset for help on using the changeset viewer.