Variable initializations in SliderWidget

svn-id: r7786
This commit is contained in:
Torbjörn Andersson 2003-05-21 16:18:41 +00:00
parent 9fb601cd3f
commit 4fb4626ac9

View File

@ -179,7 +179,7 @@ void CheckboxWidget::drawWidget(bool hilite) {
SliderWidget::SliderWidget(Dialog *boss, int x, int y, int w, int h, const String &label, uint32 cmd, uint8 hotkey)
: ButtonWidget(boss, x, y, w, h, label, cmd, hotkey),
_value(0), _valueMin(0), _valueMax(100) {
_value(0), _oldValue(0),_valueMin(0), _valueMax(100), _isDragging(false) {
_flags = WIDGET_ENABLED | WIDGET_TRACK_MOUSE | WIDGET_CLEARBG;
_type = kSliderWidget;
}