summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 23:17:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 23:17:09 +0300
commit4672d4cbf51156d3225110aa9bf47703df68fe49 (patch)
tree6ba466e3af83c56c832c1b08e37af54e94fe487f /src/gui/widgets/textfield.cpp
parente452560778b5b5966986cbdf16983f7defa8f2ab (diff)
downloadplus-4672d4cbf51156d3225110aa9bf47703df68fe49.tar.gz
plus-4672d4cbf51156d3225110aa9bf47703df68fe49.tar.bz2
plus-4672d4cbf51156d3225110aa9bf47703df68fe49.tar.xz
plus-4672d4cbf51156d3225110aa9bf47703df68fe49.zip
move bools in textfield.
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r--src/gui/widgets/textfield.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index b4aace3cf..bc2d9c946 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -56,15 +56,15 @@ TextField::TextField(const Widget2 *const widget,
gcn::FocusListener(),
Widget2(widget),
mSendAlwaysEvents(sendAlwaysEvents),
- mNumeric(false),
+ mCaretColor(&getThemeColor(Theme::CARET)),
+ mForegroundColor2(getThemeColor(Theme::TEXTFIELD_OUTLINE)),
+ mPopupMenu(nullptr),
mMinimum(0),
mMaximum(0),
- mLoseFocusOnTab(loseFocusOnTab),
mLastEventPaste(false),
mPadding(1),
- mCaretColor(&getThemeColor(Theme::CARET)),
- mForegroundColor2(getThemeColor(Theme::TEXTFIELD_OUTLINE)),
- mPopupMenu(nullptr)
+ mNumeric(false),
+ mLoseFocusOnTab(loseFocusOnTab)
{
setFrameSize(2);
mForegroundColor = getThemeColor(Theme::TEXTFIELD);