mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Add settings option to prefer friends when auto-completing
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
c3805e2552
commit
c51fca261f
|
@ -388,6 +388,9 @@ Show name plates
|
|||
Show only chat messages from friends
|
||||
== Nur Nachrichten von Freunden anzeigen
|
||||
|
||||
Prefer friends when auto-completing in chat
|
||||
== Freunde bei Autovervollständigung im Chat bevorzugen
|
||||
|
||||
Sound
|
||||
== Ton
|
||||
|
||||
|
|
|
@ -2578,6 +2578,7 @@ void CMenus::RenderSettingsAppearance(CUIRect MainView)
|
|||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowChat, Localize("Show chat"), &g_Config.m_ClShowChat, &Section, LineSize);
|
||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClChatTeamColors, Localize("Show names in chat in team colors"), &g_Config.m_ClChatTeamColors, &Section, LineSize);
|
||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowChatFriends, Localize("Show only chat messages from friends"), &g_Config.m_ClShowChatFriends, &Section, LineSize);
|
||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClChatCompleteFriendsFirst, Localize("Prefer friends when auto-completing in chat"), &g_Config.m_ClChatCompleteFriendsFirst, &Section, LineSize);
|
||||
|
||||
if(DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClChatOld, Localize("Use old chat style"), &g_Config.m_ClChatOld, &Section, LineSize))
|
||||
GameClient()->m_Chat.RebuildChat();
|
||||
|
|
Loading…
Reference in a new issue