--------------------------------- InputManager::SetCursorShape Request changing the cursor shape
| 145 | // Request changing the cursor shape |
| 146 | // |
| 147 | void InputManager::SetCursorShape(E_CursorShape const shape) |
| 148 | { |
| 149 | if (shape != m_CurrentCursorShape) |
| 150 | { |
| 151 | m_CurrentCursorShape = shape; |
| 152 | |
| 153 | ET_ASSERT(m_CursorShapeManager != nullptr, "Attempted changing the cursor shape but no I_CursorShapeManager was registered!"); |
| 154 | if (!(m_CursorShapeManager->OnCursorResize(shape))) |
| 155 | { |
| 156 | LOG("InputManager::SetCursorShape > Failed to change the cursor shape!", LogLevel::Warning); |
| 157 | } |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | //--------------------------------- |
| 162 | // InputManager::CycleKeyState |
nothing calls this directly
no test coverage detected