| 285 | } |
| 286 | |
| 287 | void imguiBeginFrame(int mx, int my, unsigned char mbut, int scroll) |
| 288 | { |
| 289 | updateInput(mx,my,mbut,scroll); |
| 290 | |
| 291 | g_state.hot = g_state.hotToBe; |
| 292 | g_state.hotToBe = 0; |
| 293 | |
| 294 | g_state.wentActive = false; |
| 295 | g_state.isActive = false; |
| 296 | g_state.isHot = false; |
| 297 | |
| 298 | g_state.widgetX = 0; |
| 299 | g_state.widgetY = 0; |
| 300 | g_state.widgetW = 0; |
| 301 | |
| 302 | g_state.areaId = 1; |
| 303 | g_state.widgetId = 1; |
| 304 | |
| 305 | resetGfxCmdQueue(); |
| 306 | } |
| 307 | |
| 308 | void imguiEndFrame() |
| 309 | { |
no test coverage detected