Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7892 in orxonox.OLD for branches/gui/src/lib/graphics/render2D


Ignore:
Timestamp:
May 27, 2006, 3:47:27 AM (19 years ago)
Author:
bensch
Message:

gui: introduce inputline

File:
1 edited

Legend:

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

    r7874 r7892  
    126126
    127127    inline void setSize2D(float x, float y) { this->size = Vector2D(x, y); };
     128    inline void setSize2D(const Vector2D& size) { this->size = size; };
     129    inline const Vector2D& getSize2D() const { return this->size; };
    128130    void setSizeSoft2D(float x, float y, float bias = 1.0);
    129131    inline void setSizeX2D(float x) { this->size.x = x; };
Note: See TracChangeset for help on using the changeset viewer.