Problem about onMouseDoubleClicked
Posted: Sat Sep 25, 2010 08:25
Hi,
I have two problem about onMouseDoubleClicked.
1).If d_generateMouseClickEvents is true, onMouseDoubleClicked is not handled by CEGUI, so the game app recieved the event.(onMouseTripleClicked also)
2).Whether onMouseButtonDown will be fired before onMouseDoubleClicked or onMouseTripleClicked?
Thanks
I have two problem about onMouseDoubleClicked.
Code: Select all
if (d_generateMouseClickEvents && ma.window->wantsMultiClickEvents())
{
switch (tkr.d_click_count)
{
case 1:
ma.window->onMouseButtonDown(ma);
break;
case 2:
ma.window->onMouseDoubleClicked(ma);
break;
case 3:
ma.window->onMouseTripleClicked(ma);
break;
}
}
1).If d_generateMouseClickEvents is true, onMouseDoubleClicked is not handled by CEGUI, so the game app recieved the event.(onMouseTripleClicked also)
2).Whether onMouseButtonDown will be fired before onMouseDoubleClicked or onMouseTripleClicked?
Thanks
