summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 22:23:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:06 +0300
commit2dfa705d9957a24eb2fe70382795f74325e372f2 (patch)
treecfaac337bbed9da4bf004c8f16dadf880db7d08b /src/gui/widgets/textbox.h
parent8714a174353529061c8c8d088d7246c4bd81000d (diff)
downloadmanaplus-2dfa705d9957a24eb2fe70382795f74325e372f2.tar.gz
manaplus-2dfa705d9957a24eb2fe70382795f74325e372f2.tar.bz2
manaplus-2dfa705d9957a24eb2fe70382795f74325e372f2.tar.xz
manaplus-2dfa705d9957a24eb2fe70382795f74325e372f2.zip
Add outlining support to textbox control.
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 5271f742e..8b4ec9f7f 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -62,6 +62,11 @@ class TextBox final : public gcn::TextBox,
void draw(gcn::Graphics* graphics);
+ void setForegroundColor(const gcn::Color &color);
+
+ void setForegroundColorAll(const gcn::Color &color1,
+ const gcn::Color &color2);
+
private:
int mMinWidth;
};