...
 
Commits (2)
......@@ -19,7 +19,7 @@ void ImInputFloat::setValue( const float &v ) {
void ImInputFloat::draw() {
float v = _value;
ImGui::InputFloat( name.data(), ( _pValue ? _pValue : &_value ), step, fastStep, flags, decPrecis );
ImGui::InputFloat( name.data(), ( _pValue ? _pValue : &_value ), step, fastStep, decPrecis, flags );
if ( ( _pValue ? *_pValue : _value ) <= min ) ( _pValue ? *_pValue : _value ) = min;
if ( ( _pValue ? *_pValue : _value ) >= max ) ( _pValue ? *_pValue : _value ) = max;
if ( _pValue ) _value = *_pValue;
......
......@@ -142,7 +142,7 @@ void SREvents::setGameKeyState( SRKeys::GameKeys id, uint16_t state ) {
newKeyState[id.onFoot] = state;
}
const std::deque<MODULEENTRY32> &SREvents::modules() {
std::deque<MODULEENTRY32> SREvents::modules() {
return moduleList;
}
......
......@@ -125,7 +125,7 @@ public:
SRSignal<SRKeys::GameKeys, uint16_t> onGameKeyState;
SRSignal<SRKeys::GameKeys, uint16_t> onGameKeyStateChanged;
const std::deque<MODULEENTRY32> &modules();
std::deque<MODULEENTRY32> modules();
protected:
bool eventHook;
......