| 1958 | } |
| 1959 | |
| 1960 | int32_t GetHeightMarkerOffset() |
| 1961 | { |
| 1962 | // Height labels in units |
| 1963 | if (Config::Get().general.showHeightAsUnits) |
| 1964 | return 0; |
| 1965 | |
| 1966 | // Height labels in feet |
| 1967 | if (Config::Get().general.measurementFormat == MeasurementFormat::imperial) |
| 1968 | return 1 * 256; |
| 1969 | |
| 1970 | // Height labels in metres |
| 1971 | return 2 * 256; |
| 1972 | } |
| 1973 | |
| 1974 | void ViewportSetSavedView() |
| 1975 | { |
no outgoing calls
no test coverage detected