From f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 01:45:57 +0300 Subject: Add palette inheritance to textfield class. --- src/gui/widgets/inttextfield.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/inttextfield.h') 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) -- cgit v1.2.3-60-g2f50