Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 908 vs 909 for /trunk/Source Code/GUI/GUIText.cpp

Diff revisions: vs.
  @@ -13,8 +13,7 @@
13 13 U32 fontSize)
14 14 : GUIElement(guiID, parent, GUIType::GUI_TEXT),
15 15 TextLabel(text, font, colour, fontSize),
16 - _position(relativePosition),
17 - _heightCache(0.0f)
16 + _position(relativePosition)
18 17 {
19 18 }
20 19
  @@ -29,11 +28,7 @@
29 28 }
30 29
31 30 vec2<F32> GUIText::getPosition() const {
32 - return vec2<F32>(_position.width, _heightCache - _position.height);
33 - }
34 -
35 - void GUIText::onChangeResolution(U16 w, U16 h) {
36 - _heightCache = h;
31 + return vec2<F32>(_position.width, _position.height);
37 32 }
38 33
39 34 // Return true if input was consumed