| 262 | } |
| 263 | |
| 264 | void PiuApplicationSetFocus(PiuApplication* self, void* it) |
| 265 | { |
| 266 | if (!it) it = self; |
| 267 | if ((*self)->focus != it) { |
| 268 | if ((*self)->focus) { |
| 269 | PiuBehaviorOnDefaultID((*self)->focus, xsID_onUnfocused); |
| 270 | } |
| 271 | (*self)->focus = it; |
| 272 | if ((*self)->focus) { |
| 273 | PiuBehaviorOnDefaultID((*self)->focus, xsID_onFocused); |
| 274 | } |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | void PiuApplicationStartContent(PiuApplication* self, void* it) |
| 279 | { |
no test coverage detected