* Get index of the current screen resolution. * @return Index of the current screen resolution if it is a known resolution, _resolutions.size() otherwise. */
| 89 | * @return Index of the current screen resolution if it is a known resolution, _resolutions.size() otherwise. |
| 90 | */ |
| 91 | static uint GetCurrentResolutionIndex() |
| 92 | { |
| 93 | auto it = std::ranges::find(_resolutions, Dimension(_screen.width, _screen.height)); |
| 94 | return std::distance(_resolutions.begin(), it); |
| 95 | } |
| 96 | |
| 97 | static void ShowCustCurrency(); |
| 98 |
no test coverage detected