-------------------------------------------------- EVENTS ------------------------------------------------- --------------------- EVENT ---------------------
| 437 | // -------------------------------------------------- EVENTS ------------------------------------------------- |
| 438 | // --------------------- EVENT --------------------- |
| 439 | bool dialog::doEvent(u16 wEvtNum, u32 dwUser, u16 wSelect, u16 wVirtKey) |
| 440 | { |
| 441 | if ( !this || !this->pfcnInteract ) |
| 442 | return false; |
| 443 | |
| 444 | dlgEvent evt; |
| 445 | evt.cursor.x = static_cast<u16>(BW::BWDATA::Mouse.x); |
| 446 | evt.cursor.y = static_cast<u16>(BW::BWDATA::Mouse.y); |
| 447 | evt.wVirtKey = wVirtKey; |
| 448 | evt.wSelection = wSelect; |
| 449 | evt.wNo = wEvtNum; |
| 450 | evt.dwUser = dwUser; |
| 451 | return this->pfcnInteract(this, &evt); |
| 452 | } |
| 453 | // ----------------- DEFAULT INTERACT -------------- |
| 454 | /*bool dialog::defaultInteract(BW::dlgEvent *pEvent) |
| 455 | { |
no outgoing calls
no test coverage detected