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.
| 1725 | // This is not a real event, the data is latched in order to be stored in actual Mouse events. |
| 1726 | // This is so that duplicate events (e.g. Windows sending extraneous WM_MOUSEMOVE) gets filtered and are not leading to actual source changes. |
| 1727 | void ImGuiIO::AddMouseSourceEvent(ImGuiMouseSource source) |
| 1728 | { |
| 1729 | IM_ASSERT(Ctx != NULL); |
| 1730 | ImGuiContext& g = *Ctx; |
| 1731 | g.InputEventsNextMouseSource = source; |
| 1732 | } |
| 1733 | |
| 1734 | void ImGuiIO::AddFocusEvent(bool focused) |
| 1735 | { |
no outgoing calls
no test coverage detected