mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Merge pull request #7663 from eghwand/pr_sameclancolor_setting
Add ui setting cl_same_clan_color
This commit is contained in:
commit
66262971f9
|
@ -2980,7 +2980,9 @@ void CMenus::RenderSettingsAppearance(CUIRect MainView)
|
||||||
Section.HSplitTop(LineSize, &Button, &Section);
|
Section.HSplitTop(LineSize, &Button, &Section);
|
||||||
ColorRGBA GreenDefault(0.78f, 1.0f, 0.8f, 1.0f);
|
ColorRGBA GreenDefault(0.78f, 1.0f, 0.8f, 1.0f);
|
||||||
static CButtonContainer s_AuthedColor;
|
static CButtonContainer s_AuthedColor;
|
||||||
|
static CButtonContainer s_SameClanColor;
|
||||||
DoLine_ColorPicker(&s_AuthedColor, 25.0f, 13.0f, 5.0f, &Button, Localize("Authed name color in scoreboard"), &g_Config.m_ClAuthedPlayerColor, GreenDefault, false);
|
DoLine_ColorPicker(&s_AuthedColor, 25.0f, 13.0f, 5.0f, &Button, Localize("Authed name color in scoreboard"), &g_Config.m_ClAuthedPlayerColor, GreenDefault, false);
|
||||||
|
DoLine_ColorPicker(&s_SameClanColor, 25.0f, 13.0f, 5.0f, &Button, Localize("Same clan color in scoreboard"), &g_Config.m_ClSameClanColor, GreenDefault, false);
|
||||||
}
|
}
|
||||||
else if(s_CurTab == APPEARANCE_TAB_HOOK_COLLISION)
|
else if(s_CurTab == APPEARANCE_TAB_HOOK_COLLISION)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue