Changeset 7892 in orxonox.OLD for branches/gui/src/lib/graphics
- Timestamp:
- May 27, 2006, 3:47:27 AM (18 years ago)
- Location:
- branches/gui/src/lib/graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/render2D/element_2d.h
r7874 r7892 126 126 127 127 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; }; 128 130 void setSizeSoft2D(float x, float y, float bias = 1.0); 129 131 inline void setSizeX2D(float x) { this->size.x = x; }; -
branches/gui/src/lib/graphics/text_engine/text.cc
r7889 r7892 136 136 return this->text; 137 137 } 138 139 /** 140 * @brief removes char characters from the Text. 141 */ 142 void Text::removeCharacters(unsigned int chars) 143 { 144 this->text.resize(this->text.size()-chars); 145 } 146 138 147 139 148 /** -
branches/gui/src/lib/graphics/text_engine/text.h
r7753 r7892 38 38 void append(const std::string& appendText); 39 39 const std::string& operator<<(const std::string& appendText); 40 void removeCharacters(unsigned int chars); 40 41 41 42 /// SETUP
Note: See TracChangeset
for help on using the changeset viewer.