summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index a9f1c10256..d4e5d501db 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -43,6 +43,8 @@
#include "llfloater.h"
#include "llfloaterreg.h"
#include "llfocusmgr.h"
+#include "llfontgl.h"
+#include "llfontvertexbuffer.h"
#include "llwindow.h"
#include "llnotificationsutil.h"
#include "llrender.h"
@@ -438,18 +440,6 @@ void LLButton::reshape(S32 width, S32 height, bool called_from_parent)
}
}
-void LLButton::translate(S32 x, S32 y)
-{
- LLUICtrl::translate(x, y);
- mFontBuffer.reset();
-}
-
-void LLButton::setRect(const LLRect& rect)
-{
- LLUICtrl::setRect(rect);
- mFontBuffer.reset();
-}
-
void LLButton::dirtyRect()
{
LLUICtrl::dirtyRect();