| 128 | } |
| 129 | |
| 130 | bool CUIDialogWnd::IR_OnMouseWheel(int direction) |
| 131 | { |
| 132 | if (!IR_process()) |
| 133 | return false; |
| 134 | Fvector2 pos = GetUICursor()->GetCursorPosition(); |
| 135 | |
| 136 | if (direction > 0) |
| 137 | OnMouse(pos.x, pos.y, WINDOW_MOUSE_WHEEL_UP); |
| 138 | else |
| 139 | OnMouse(pos.x, pos.y, WINDOW_MOUSE_WHEEL_DOWN); |
| 140 | |
| 141 | return true; |
| 142 | } |
| 143 | |
| 144 | bool CUIDialogWnd::IR_OnMouseMove(int dx, int dy) |
| 145 | { |
nothing calls this directly
no test coverage detected