| 93 | TEN::Renderer::RendererHudBar* g_SFXVolumeBar = nullptr; |
| 94 | |
| 95 | void Renderer::InitializeMenuBars(int y) |
| 96 | { |
| 97 | static const auto soundSettingColors = std::array<Vector4, RendererHudBar::COLOR_COUNT> |
| 98 | { |
| 99 | // Top |
| 100 | Vector4(0.18f, 0.3f, 0.72f, 1.0f), |
| 101 | Vector4(0.18f, 0.3f, 0.72f, 1.0f), |
| 102 | |
| 103 | // Center |
| 104 | Vector4(0.18f, 0.3f, 0.72f, 1.0f), |
| 105 | |
| 106 | // Bottom |
| 107 | Vector4(0.18f, 0.3f, 0.72f, 1.0f), |
| 108 | Vector4(0.18f, 0.3f, 0.72f, 1.0f) |
| 109 | }; |
| 110 | |
| 111 | int shift = MenuVerticalLineSpacing / 2; |
| 112 | |
| 113 | g_MusicVolumeBar = new RendererHudBar(_device.Get(), Vector2(MenuRightSideEntry, y + shift), RendererHudBar::SIZE_DEFAULT, 1, soundSettingColors); |
| 114 | GetNextLinePosition(&y); |
| 115 | g_SFXVolumeBar = new RendererHudBar(_device.Get(), Vector2(MenuRightSideEntry, y + shift), RendererHudBar::SIZE_DEFAULT, 1, soundSettingColors); |
| 116 | } |
| 117 | |
| 118 | void Renderer::RenderOptionsMenu(Menu menu, int initialY) |
| 119 | { |
nothing calls this directly
no test coverage detected