mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
Move "Regular background color" setting to background
Fixed capitalization (only captialize first letter)
This commit is contained in:
parent
d6aa18e5b4
commit
88e1988d96
|
@ -3136,9 +3136,13 @@ void CMenus::RenderSettingsDDNet(CUIRect MainView)
|
|||
Background.HSplitTop(5.0f, nullptr, &Background);
|
||||
UI()->DoLabel(&Label, Localize("Background"), 20.0f, TEXTALIGN_ML);
|
||||
|
||||
static CButtonContainer s_ResetID2;
|
||||
ColorRGBA GreyDefault(0.5f, 0.5f, 0.5f, 1);
|
||||
DoLine_ColorPicker(&s_ResetID2, 25.0f, 13.0f, 5.0f, &Background, Localize("Entities Background color"), &g_Config.m_ClBackgroundEntitiesColor, GreyDefault, false);
|
||||
|
||||
static CButtonContainer s_ResetID1;
|
||||
DoLine_ColorPicker(&s_ResetID1, 25.0f, 13.0f, 5.0f, &Background, Localize("Regular background color"), &g_Config.m_ClBackgroundColor, GreyDefault, false);
|
||||
|
||||
static CButtonContainer s_ResetID2;
|
||||
DoLine_ColorPicker(&s_ResetID2, 25.0f, 13.0f, 5.0f, &Background, Localize("Entities background color"), &g_Config.m_ClBackgroundEntitiesColor, GreyDefault, false);
|
||||
|
||||
CUIRect EditBox;
|
||||
Background.HSplitTop(20.0f, &Label, &Background);
|
||||
|
@ -3181,12 +3185,7 @@ void CMenus::RenderSettingsDDNet(CUIRect MainView)
|
|||
|
||||
UI()->DoLabel(&Label, Localize("Miscellaneous"), 20.0f, TEXTALIGN_ML);
|
||||
|
||||
static CButtonContainer s_ResetID1;
|
||||
Miscellaneous.HSplitTop(25.0f, &Button, &Miscellaneous);
|
||||
DoLine_ColorPicker(&s_ResetID1, 25.0f, 13.0f, 5.0f, &Button, Localize("Regular Background Color"), &g_Config.m_ClBackgroundColor, GreyDefault, false);
|
||||
|
||||
static CButtonContainer s_ButtonTimeout;
|
||||
Miscellaneous.HSplitTop(10.0f, nullptr, &Miscellaneous);
|
||||
Miscellaneous.HSplitTop(20.0f, &Button, &Miscellaneous);
|
||||
if(DoButton_Menu(&s_ButtonTimeout, Localize("New random timeout code"), 0, &Button))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue