(svn r24746) -Cleanup: Remove weird lowering of editboxes.

pull/155/head
frosch 12 years ago
parent 11f5889521
commit 44d79aa9e5

@ -855,7 +855,6 @@ struct QueryStringWindow : public Window
this->parent = parent; this->parent = parent;
this->SetFocusedWidget(WID_QS_TEXT); this->SetFocusedWidget(WID_QS_TEXT);
this->LowerWidget(WID_QS_TEXT);
} }
virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize) virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize)

@ -85,7 +85,6 @@ struct OskWindow : public Window {
} }
this->SetWidgetDisabledState(WID_OSK_SPACE, !IsValidChar(' ', this->qs->afilter)); this->SetWidgetDisabledState(WID_OSK_SPACE, !IsValidChar(' ', this->qs->afilter));
this->LowerWidget(WID_OSK_TEXT);
this->SetWidgetLoweredState(WID_OSK_SHIFT, HasBit(_keystate, KEYS_SHIFT)); this->SetWidgetLoweredState(WID_OSK_SHIFT, HasBit(_keystate, KEYS_SHIFT));
this->SetWidgetLoweredState(WID_OSK_CAPS, HasBit(_keystate, KEYS_CAPS)); this->SetWidgetLoweredState(WID_OSK_CAPS, HasBit(_keystate, KEYS_CAPS));
} }

@ -444,7 +444,6 @@ struct SignWindow : Window, SignList {
this->InitNested(desc, WN_QUERY_STRING_SIGN); this->InitNested(desc, WN_QUERY_STRING_SIGN);
this->LowerWidget(WID_QES_TEXT);
UpdateSignEditWindow(si); UpdateSignEditWindow(si);
this->SetFocusedWidget(WID_QES_TEXT); this->SetFocusedWidget(WID_QES_TEXT);
} }

Loading…
Cancel
Save