Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 15, 2005, 1:49:17 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: some 2d-adaptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2d-recalc/src/lib/graphics/render2D/element_2d.h

    r5378 r5380  
    100100
    101101    inline void setSize2D(float x, float y) { this->sizeX = x, this->sizeY = y; };
     102    void setSize2Dpx(int x, int y);
    102103    inline void setSizeX2D(float x) { this->sizeX = x; };
     104    void setSizeX2Dpx(int x);
    103105    inline void setSizeY2D(float y) { this->sizeY = y; };
     106    void setSizeY2Dpx(int y);
    104107    inline float getSizeX2D() const { return this->sizeX; };
     108    int getSizeX2Dpx() const;
    105109    inline float getSizeY2D() const { return this->sizeY; };
     110    int getSizeY2Dpx() const;
    106111
    107112    // LIKE PNODE
Note: See TracChangeset for help on using the changeset viewer.