mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
commit
2e41a1d45b
|
@ -892,8 +892,8 @@ void CMenus::RenderDemoList(CUIRect MainView)
|
|||
|
||||
static CColumn s_aCols[] = {
|
||||
{COL_ICON, -1, " ", -1, 14.0f, 0, {0}, {0}},
|
||||
{COL_DEMONAME, SORT_DEMONAME, "Demo", 0, 0.0f, 0, {0}, {0}},
|
||||
{COL_DATE, SORT_DATE, "Date", 1, 300.0f, 0, {0}, {0}},
|
||||
{COL_DEMONAME, SORT_DEMONAME, Localize("Demo"), 0, 0.0f, 0, {0}, {0}},
|
||||
{COL_DATE, SORT_DATE, Localize("Date"), 1, 300.0f, 0, {0}, {0}},
|
||||
};
|
||||
|
||||
RenderTools()->DrawUIRect(&Headers, vec4(0.0f,0,0,0.15f), 0, 0);
|
||||
|
|
|
@ -1687,10 +1687,10 @@ void CMenus::RenderSettingsHUD(CUIRect MainView)
|
|||
char aBuf[64];
|
||||
Right.HSplitTop(20.0f, &Label, &Right);
|
||||
Label.VSplitRight(50.0f, &Label, &Button);
|
||||
float twh = TextRender()->TextWidth(0, 16.0f, "Friend message", -1) ;
|
||||
float twh = TextRender()->TextWidth(0, 16.0f, Localize("Friend message"), -1) ;
|
||||
Label.VSplitLeft(twh + 5.0f, &Label, &Enable);
|
||||
Enable.VSplitLeft(20.0f, &Enable, 0);
|
||||
UI()->DoLabelScaled(&Label, "Friend message", 16.0f, -1);
|
||||
UI()->DoLabelScaled(&Label, Localize("Friend message"), 16.0f, -1);
|
||||
{
|
||||
static int s_DefaultButton = 0;
|
||||
if (DoButton_Menu(&s_DefaultButton, Localize("Reset"), 0, &Button))
|
||||
|
|
Loading…
Reference in a new issue