summaryrefslogtreecommitdiff
path: root/src/gui/textfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textfield.cpp')
-rw-r--r--src/gui/textfield.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/textfield.cpp b/src/gui/textfield.cpp
index 5b875da3..8db720cf 100644
--- a/src/gui/textfield.cpp
+++ b/src/gui/textfield.cpp
@@ -40,7 +40,7 @@ ImageRect TextField::skin;
TextField::TextField(const std::string& text):
gcn::TextField(text)
{
- setBorderSize(2);
+ setFrameSize(2);
if (instances == 0)
{
@@ -93,10 +93,10 @@ void TextField::draw(gcn::Graphics *graphics)
graphics->drawText(mText, 1 - mXScroll, 1);
}
-void TextField::drawBorder(gcn::Graphics *graphics)
+void TextField::drawFrame(gcn::Graphics *graphics)
{
int w, h, bs;
- bs = getBorderSize();
+ bs = getFrameSize();
w = getWidth() + bs * 2;
h = getHeight() + bs * 2;