UI menu now accepts mouse input from absolutes.
This commit is contained in:
@ -80,6 +80,28 @@ namespace Dawn {
|
||||
return *this;
|
||||
}
|
||||
|
||||
StateProperty& operator++() {
|
||||
this->setInternal(_realValue + 1);
|
||||
return *this;
|
||||
}
|
||||
|
||||
V operator++(int) {
|
||||
V temp = _realValue;
|
||||
this->setInternal(_realValue + 1);
|
||||
return temp;
|
||||
}
|
||||
|
||||
StateProperty& operator--() {
|
||||
this->setInternal(_realValue - 1);
|
||||
return *this;
|
||||
}
|
||||
|
||||
V operator--(int) {
|
||||
V temp = _realValue;
|
||||
this->setInternal(_realValue - 1);
|
||||
return temp;
|
||||
}
|
||||
|
||||
const V operator->() const {
|
||||
return this->_realValue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user