| 37 | }; |
| 38 | |
| 39 | bool MacroConditionCursor::CheckClick() |
| 40 | { |
| 41 | switch (_button) { |
| 42 | case MacroConditionCursor::Button::LEFT: |
| 43 | return _lastCheckTime < GetLastMouseLeftClickTime(); |
| 44 | case MacroConditionCursor::Button::MIDDLE: |
| 45 | return _lastCheckTime < GetLastMouseMiddleClickTime(); |
| 46 | case MacroConditionCursor::Button::RIGHT: |
| 47 | return _lastCheckTime < GetLastMouseRightClickTime(); |
| 48 | } |
| 49 | return false; |
| 50 | } |
| 51 | |
| 52 | bool MacroConditionCursor::CheckCondition() |
| 53 | { |
nothing calls this directly
no test coverage detected