| 1361 | } |
| 1362 | |
| 1363 | S32 zUIPortalEventCB(xBase* from, xBase* to, U32 toEvent, const F32* toParam, xBase* toParamWidget) |
| 1364 | { |
| 1365 | S32 result; |
| 1366 | |
| 1367 | result = zUIFontEventCB(from, to, toEvent, toParam, toParamWidget); |
| 1368 | |
| 1369 | if (toEvent == eEventUISelect) |
| 1370 | { |
| 1371 | zEntEvent(to, toEvent, sWorld[sCurrWorld].uiSelected, eEventUIFocusOn_Select, NULL, NULL, |
| 1372 | 0); |
| 1373 | zEntEvent(to, toEvent, sWorld[sCurrWorld].task[sCurrTask].uiSelected, |
| 1374 | eEventUIFocusOn_Select, NULL, NULL, 0); |
| 1375 | } |
| 1376 | |
| 1377 | return result; |
| 1378 | } |
| 1379 | |
| 1380 | void zUI_ScenePortalSetToCurrentLevel(zScene* zsc) |
| 1381 | { |
nothing calls this directly
no test coverage detected