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.
| 1575 | // This is not a real event, the data is latched in order to be stored in actual Mouse events. |
| 1576 | // This is so that duplicate events (e.g. Windows sending extraneous WM_MOUSEMOVE) gets filtered and are not leading to actual source changes. |
| 1577 | void ImGuiIO::AddMouseSourceEvent(ImGuiMouseSource source) |
| 1578 | { |
| 1579 | IM_ASSERT(Ctx != NULL); |
| 1580 | ImGuiContext& g = *Ctx; |
| 1581 | g.InputEventsNextMouseSource = source; |
| 1582 | } |
| 1583 | |
| 1584 | void ImGuiIO::AddFocusEvent(bool focused) |
| 1585 | { |
no outgoing calls
no test coverage detected