| 1930 | } |
| 1931 | |
| 1932 | void FrontendRenderer::RefreshBgColor() |
| 1933 | { |
| 1934 | auto const scale = std::min(df::GetDrawTileScale(m_userEventStream.GetCurrentScreen()), scales::GetUpperStyleScale()); |
| 1935 | auto const c = dp::Color(drule::rules().GetBgColor(scale), 255); |
| 1936 | |
| 1937 | CHECK(m_context != nullptr, ()); |
| 1938 | m_context->SetClearColor(c); |
| 1939 | } |
| 1940 | |
| 1941 | void FrontendRenderer::DisablePerspective() |
| 1942 | { |
nothing calls this directly
no test coverage detected