Exemple #1
0
 Spinner::Spinner(const String& type, const String& name) :
     Window(type, name),
     d_stepSize(1.0f),
     d_currentValue(1.0f),
     d_maxValue(32767.0f),
     d_minValue(-32768.0f),
     d_inputMode((TextInputMode)-1)
 {
     addSpinnerProperties();
 }
 Spinner::Spinner(const String& type, const String& name) :
     Window(type, name),
     d_increaseButton(0),
     d_decreaseButton(0),
     d_editbox(0),
     d_stepSize(1.0f),
     d_currentValue(1.0f),
     d_maxValue(32767.0f),
     d_minValue(-32768.0f),
     d_inputMode((TextInputMode)-1)
 {
     addSpinnerEvents();
     addSpinnerProperties();
 }