This is not a real event, the data is latched in order to be stored in actual Mouse events. This is so that duplicate events (e.g. Windows sending extraneous WM_MOUSEMOVE) gets filtered and are not leading to actual source changes.
| 1594 | // This is not a real event, the data is latched in order to be stored in actual Mouse events. |
| 1595 | // This is so that duplicate events (e.g. Windows sending extraneous WM_MOUSEMOVE) gets filtered and are not leading to actual source changes. |
| 1596 | void ImGuiIO::AddMouseSourceEvent(ImGuiMouseSource source) |
| 1597 | { |
| 1598 | IM_ASSERT(Ctx != NULL); |
| 1599 | ImGuiContext& g = *Ctx; |
| 1600 | g.InputEventsNextMouseSource = source; |
| 1601 | } |
| 1602 | |
| 1603 | void ImGuiIO::AddFocusEvent(bool focused) |
| 1604 | { |
no outgoing calls
no test coverage detected