update widgets
This commit is contained in:
parent
c41dcf9efa
commit
eb079e1386
24 changed files with 284 additions and 370 deletions
|
|
@ -35,10 +35,10 @@ bool transitionsReduce[4][4] = {
|
|||
|
||||
void EventHandler::processEvent() {
|
||||
mMutex.lock();
|
||||
auto lastEvent = mEventQueue.last();
|
||||
auto lastEvent = &mEventQueue.last();
|
||||
|
||||
const auto& eventData = lastEvent->data.second;
|
||||
const auto& inputId = lastEvent->data.first;
|
||||
const auto& eventData = lastEvent->second;
|
||||
const auto& inputId = lastEvent->first;
|
||||
|
||||
switch (eventData.type) {
|
||||
case InputEvent::Type::MOUSE_POS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue