UI menu now accepts mouse input from absolutes.

This commit is contained in:
2023-03-08 16:39:24 -08:00
parent 592978dc3a
commit 6d5d48a5f5
20 changed files with 864 additions and 549 deletions

View File

@ -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;
}