@@ -237,8 +237,28 @@ void CMenus::RenderSettingsPulse(CUIRect MainView)
237237 }
238238 else if (s_CurTab == PULSE_TAB_CONSOLE)
239239 {
240- MainView.HSplitTop (10 .0f , nullptr , &MainView);
241- RenderConsoleImages (MainView);
240+ CUIRect Left, Right;
241+ MainView.VSplitMid (&Left, &Right);
242+ Left.HSplitTop (20 .0f , &Button, &Left);
243+
244+
245+ if (DoButton_CheckBox (&g_Config.m_ClCustomConsole , Localize (" Toggle Custom Console" ), g_Config.m_ClCustomConsole , &Button))
246+ g_Config.m_ClCustomConsole ^= 1 ;
247+
248+ if (g_Config.m_ClCustomConsole )
249+ {
250+ Right.Draw (ColorRGBA (0 .0f , 0 .0f , 0 .0f , 0 .3f ), IGraphics::CORNER_ALL, 5 .0f );
251+ RenderConsoleImages (Right);
252+ CUIRect Title;
253+ Left.HSplitTop (40 .0f , &Title, &Left);
254+ Ui ()->DoLabel (&Title, Localize (" Console Settings" ), 20 .0f , TEXTALIGN_BC);
255+
256+ Left.HSplitTop (20 .0f , &Button, &Left);
257+ Ui ()->DoScrollbarOption (&g_Config.m_ClCustomConsoleAlpha , &g_Config.m_ClCustomConsoleAlpha , &Button, Localize (" Console Alpha" ), 0 , 100 );
258+
259+ Left.HSplitTop (20 .0f , &Button, &Left);
260+ Ui ()->DoScrollbarOption (&g_Config.m_ClCustomConsoleFading , &g_Config.m_ClCustomConsoleFading , &Button, Localize (" Console Brightness" ), 100 , 0 );
261+ }
242262 }
243263}
244264
0 commit comments