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); 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;