| 114 | } |
| 115 | |
| 116 | df::TouchEvent GetTouchEvent(Framework & framework, double x, double y, int mods, df::TouchEvent::ETouchType type) |
| 117 | { |
| 118 | df::TouchEvent event; |
| 119 | event.SetTouchType(type); |
| 120 | event.SetFirstTouch(GetTouch(x, y)); |
| 121 | if (mods & GLFW_MOD_SUPER) |
| 122 | event.SetSecondTouch(GetSymmetricalTouch(framework, event.GetFirstTouch())); |
| 123 | return event; |
| 124 | } |
| 125 | |
| 126 | void FormatMapSize(uint64_t sizeInBytes, std::string & units, size_t & sizeToDownload) |
| 127 | { |
no test coverage detected