password icon

This commit is contained in:
GenZmeY 2022-09-12 17:37:04 +03:00
parent c6e17f2b71
commit 7842e4f060

View File

@ -13,7 +13,7 @@ const ListItemsDefault = 12;
const FontScalarModCompact = 1.0f; const FontScalarModCompact = 1.0f;
const FontScalarModDefault = 1.25f; const FontScalarModDefault = 1.25f;
//const IconRanked = Texture2D'YAS.IconRanked'; //const IconRanked = Texture2D'YAS.IconRanked';
const IconCustom = Texture2D'UI_Menus.ServerBrowserMenu_SWF_I26'; const IconCustom = Texture2D'UI_Menus.ServerBrowserMenu_SWF_I26';
const IconUnranked = Texture2D'UI_Menus.ServerBrowserMenu_SWF_I28'; const IconUnranked = Texture2D'UI_Menus.ServerBrowserMenu_SWF_I28';
const IconPassword = Texture2D'UI_Menus.ServerBrowserMenu_SWF_I20'; const IconPassword = Texture2D'UI_Menus.ServerBrowserMenu_SWF_I20';
@ -340,18 +340,18 @@ function DrawMenu()
DrawTextShadowHVCenter(S, BoxX, YPos, BoxW, BoxH, FontScalar); DrawTextShadowHVCenter(S, BoxX, YPos, BoxW, BoxH, FontScalar);
// icons // icons
/* ColorTMP = Settings.Style.ServerNameTextColor;
IconIndent = BoxH * 0.1; ColorTMP.A = 200;
Canvas.SetDrawColorStruct(ColorTMP);
if (PasswordRequired) if (PasswordRequired)
{ {
Owner.CurrentStyle.DrawTexture(IconPassword, Owner.CurrentStyle.DrawTexture(
BoxX + IconIndent, IconPassword,
YPos + IconIndent, BoxX + BorderSize*2,
BoxH - IconIndent*2, YPos + BorderSize*2,
BoxH - IconIndent*2, BoxH - BorderSize*4,
MakeColor(250,250,250,250)); BoxH - BorderSize*4);
} }
*/
YPos += BoxH; YPos += BoxH;