diff options
| author | oy <Tom_Adams@web.de> | 2011-03-28 23:51:46 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-28 23:51:46 +0200 |
| commit | 0307138950b844604d314cdcc1228166008083bd (patch) | |
| tree | 316cd03d4efb075b0da27b86ade503be7bbae760 /src | |
| parent | f9288eb5b15d3ed1dba4856e4a70a55f899c00a0 (diff) | |
| download | zcatch-0307138950b844604d314cdcc1228166008083bd.tar.gz zcatch-0307138950b844604d314cdcc1228166008083bd.zip | |
added better headlines for tabs in vote menu
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/client/components/menus_ingame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/menus_ingame.cpp b/src/game/client/components/menus_ingame.cpp index 9c03e870..3d2a8906 100644 --- a/src/game/client/components/menus_ingame.cpp +++ b/src/game/client/components/menus_ingame.cpp @@ -339,7 +339,7 @@ void CMenus::RenderServerControlServer(CUIRect MainView) static int s_VoteList = 0; static float s_ScrollValue = 0; CUIRect List = MainView; - UiDoListboxStart(&s_VoteList, &List, 24.0f, Localize("Settings"), "", m_pClient->m_pVoting->m_NumVoteOptions, 1, m_CallvoteSelectedOption, s_ScrollValue); + UiDoListboxStart(&s_VoteList, &List, 24.0f, Localize("Change settings"), "", m_pClient->m_pVoting->m_NumVoteOptions, 1, m_CallvoteSelectedOption, s_ScrollValue); for(CVoteOptionClient *pOption = m_pClient->m_pVoting->m_pFirst; pOption; pOption = pOption->m_pNext) { @@ -371,7 +371,7 @@ void CMenus::RenderServerControlKick(CUIRect MainView, bool FilterSpectators) static int s_VoteList = 0; static float s_ScrollValue = 0; CUIRect List = MainView; - UiDoListboxStart(&s_VoteList, &List, 24.0f, Localize("Players"), "", NumOptions, 1, Selected, s_ScrollValue); + UiDoListboxStart(&s_VoteList, &List, 24.0f, FilterSpectators?Localize("Make player a spectator"):Localize("Kick player"), "", NumOptions, 1, Selected, s_ScrollValue); for(int i = 0; i < NumOptions; i++) { |