summaryrefslogtreecommitdiff
path: root/src/gui/widgets/inttextfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commitf5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (patch)
tree8ab383dce47ed689137addbac041ef1f9e300faf /src/gui/widgets/inttextfield.h
parent5d02ab43ff6d3e328a3b02479c033609023edec2 (diff)
downloadmanaplus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.gz
manaplus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.bz2
manaplus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.xz
manaplus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.zip
Add palette inheritance to textfield class.
Diffstat (limited to 'src/gui/widgets/inttextfield.h')
-rw-r--r--src/gui/widgets/inttextfield.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/inttextfield.h b/src/gui/widgets/inttextfield.h
index d2191433e..1435fcccd 100644
--- a/src/gui/widgets/inttextfield.h
+++ b/src/gui/widgets/inttextfield.h
@@ -34,7 +34,8 @@ class IntTextField final : public TextField
/**
* Constructor, sets default value.
*/
- IntTextField(const int def = 0, const int min = 0, const int max = 0,
+ IntTextField(const Widget2 *const widget, const int def = 0,
+ const int min = 0, const int max = 0,
const bool enabled = true, const int width = 0);
A_DELETE_COPY(IntTextField)