password icon

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

View File

@ -340,18 +340,18 @@ function DrawMenu()
DrawTextShadowHVCenter(S, BoxX, YPos, BoxW, BoxH, FontScalar);
// icons
/*
IconIndent = BoxH * 0.1;
ColorTMP = Settings.Style.ServerNameTextColor;
ColorTMP.A = 200;
Canvas.SetDrawColorStruct(ColorTMP);
if (PasswordRequired)
{
Owner.CurrentStyle.DrawTexture(IconPassword,
BoxX + IconIndent,
YPos + IconIndent,
BoxH - IconIndent*2,
BoxH - IconIndent*2,
MakeColor(250,250,250,250));
Owner.CurrentStyle.DrawTexture(
IconPassword,
BoxX + BorderSize*2,
YPos + BorderSize*2,
BoxH - BorderSize*4,
BoxH - BorderSize*4);
}
*/
YPos += BoxH;