Why do Buttons not work?
Posted: Tue Jun 27, 2017 2:50 pm
I added polling for button events to the MastEventController, basically like that:
It wont enter the if block though, couldnt figure out why, do I miss something?
Code: Select all
if (event.EventType == EET_GUI_EVENT)
{
s32 id = event.GUIEvent.Caller->getID();
switch (event.GUIEvent.EventType)
{
case EGET_BUTTON_CLICKED:
if (id == 1)
{
}
break;
}
}