mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
removed localize for search symbol
This commit is contained in:
parent
438720959b
commit
94f3da4a47
|
@ -487,7 +487,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
|
||||||
QuickExclude.VSplitLeft(5.0f, 0, &QuickExclude);
|
QuickExclude.VSplitLeft(5.0f, 0, &QuickExclude);
|
||||||
// render quick search
|
// render quick search
|
||||||
{
|
{
|
||||||
const char *pLabel = Localize("⚲");
|
const char *pLabel = "⚲";
|
||||||
UI()->DoLabelScaled(&QuickSearch, pLabel, 12.0f, -1);
|
UI()->DoLabelScaled(&QuickSearch, pLabel, 12.0f, -1);
|
||||||
float w = TextRender()->TextWidth(0, 12.0f, pLabel, -1);
|
float w = TextRender()->TextWidth(0, 12.0f, pLabel, -1);
|
||||||
QuickSearch.VSplitLeft(w, 0, &QuickSearch);
|
QuickSearch.VSplitLeft(w, 0, &QuickSearch);
|
||||||
|
|
|
@ -609,7 +609,7 @@ void CMenus::RenderServerControl(CUIRect MainView)
|
||||||
{
|
{
|
||||||
Bottom.VSplitLeft(240.0f, &QuickSearch, &Bottom);
|
Bottom.VSplitLeft(240.0f, &QuickSearch, &Bottom);
|
||||||
QuickSearch.HSplitTop(5.0f, 0, &QuickSearch);
|
QuickSearch.HSplitTop(5.0f, 0, &QuickSearch);
|
||||||
const char *pSearchLabel = Localize("⚲");
|
const char *pSearchLabel = "⚲";
|
||||||
UI()->DoLabelScaled(&QuickSearch, pSearchLabel, 14.0f, -1);
|
UI()->DoLabelScaled(&QuickSearch, pSearchLabel, 14.0f, -1);
|
||||||
float wSearch = TextRender()->TextWidth(0, 14.0f, pSearchLabel, -1);
|
float wSearch = TextRender()->TextWidth(0, 14.0f, pSearchLabel, -1);
|
||||||
QuickSearch.VSplitLeft(wSearch, 0, &QuickSearch);
|
QuickSearch.VSplitLeft(wSearch, 0, &QuickSearch);
|
||||||
|
|
|
@ -568,7 +568,7 @@ void CMenus::RenderSettingsTee(CUIRect MainView)
|
||||||
MainView.HSplitBottom(ms_ButtonHeight, &MainView, &QuickSearch);
|
MainView.HSplitBottom(ms_ButtonHeight, &MainView, &QuickSearch);
|
||||||
QuickSearch.VSplitLeft(240.0f, &QuickSearch, 0);
|
QuickSearch.VSplitLeft(240.0f, &QuickSearch, 0);
|
||||||
QuickSearch.HSplitTop(5.0f, 0, &QuickSearch);
|
QuickSearch.HSplitTop(5.0f, 0, &QuickSearch);
|
||||||
const char *pSearchLabel = Localize("⚲");
|
const char *pSearchLabel = "⚲";
|
||||||
UI()->DoLabelScaled(&QuickSearch, pSearchLabel, 14.0f, -1);
|
UI()->DoLabelScaled(&QuickSearch, pSearchLabel, 14.0f, -1);
|
||||||
float wSearch = TextRender()->TextWidth(0, 14.0f, pSearchLabel, -1);
|
float wSearch = TextRender()->TextWidth(0, 14.0f, pSearchLabel, -1);
|
||||||
QuickSearch.VSplitLeft(wSearch, 0, &QuickSearch);
|
QuickSearch.VSplitLeft(wSearch, 0, &QuickSearch);
|
||||||
|
|
Loading…
Reference in a new issue