| 516 | } |
| 517 | |
| 518 | ScreenCoordsXY WindowGetViewportSoundIconPos(WindowBase& w) |
| 519 | { |
| 520 | const uint8_t buttonOffset = (Config::Get().interface.windowButtonsOnTheLeft) ? kCloseButtonSize + 2 : 0; |
| 521 | return w.windowPos + ScreenCoordsXY{ 2 + buttonOffset, 2 }; |
| 522 | } |
| 523 | } // namespace OpenRCT2::Ui |
| 524 | |
| 525 | namespace OpenRCT2::Ui::Windows |
no outgoing calls
no test coverage detected