Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7031 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.h


Ignore:
Timestamp:
Feb 4, 2006, 4:42:28 AM (18 years ago)
Author:
bensch
Message:

softed stuff

File:
1 edited

Legend:

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

    r6848 r7031  
    1010
    1111#include "vector.h"
     12#include "vector2D.h"
    1213#include <list>
    1314
     
    124125
    125126    inline void setSize2D(float x, float y) { this->sizeX = x, this->sizeY = y; };
     127    void setSizeSoft2D(float x, float y, float bias = 1.0);
    126128    inline void setSizeX2D(float x) { this->sizeX = x; };
    127129    inline void setSizeY2D(float y) { this->sizeY = y; };
     
    234236    float                   sizeX;              //!< The size of the rendered item in x-direction
    235237    float                   sizeY;              //!< The size of the rendered Item in y-direction
     238    Vector2D*               toSize;             //!< The Size to iterate to.
    236239
    237240    E2D_ALIGNMENT           alignment;          //!< How the Element is aligned around its Position
Note: See TracChangeset for help on using the changeset viewer.