fix code style

This commit is contained in:
GenZmeY 2021-06-13 06:00:19 +03:00
parent f63b4a80a3
commit db98f33e40
33 changed files with 236 additions and 239 deletions

View File

@ -241,8 +241,7 @@ function DrawMenu()
YPos += YL; YPos += YL;
BoxH = YL + BorderSize; BoxH = YL + BorderSize;
SetDrawColor(Canvas, Settings.Style.ListHeaderBoxColor); SetDrawColor(Canvas, Settings.Style.ListHeaderBoxColor);
Owner.CurrentStyle.DrawRectBox( Owner.CurrentStyle.DrawRectBox( XPos - BorderSize * 2,
XPos - BorderSize * 2,
YPos, YPos,
Width + BorderSize * 4, Width + BorderSize * 4,
BoxH, BoxH,
@ -408,8 +407,7 @@ function DrawPlayerEntry( Canvas C, int Index, float YOffset, float Height, floa
SetDrawColor(C, Settings.Style.LeftStateBoxColor); SetDrawColor(C, Settings.Style.LeftStateBoxColor);
BoxWidth = Owner.HUDOwner.ScaledBorderSize * 8; BoxWidth = Owner.HUDOwner.ScaledBorderSize * 8;
Owner.CurrentStyle.DrawRectBox( Owner.CurrentStyle.DrawRectBox( XPos,
XPos,
YOffset, YOffset,
BoxWidth, BoxWidth,
Height, Height,
@ -431,8 +429,7 @@ function DrawPlayerEntry( Canvas C, int Index, float YOffset, float Height, floa
// Right stats box // Right stats box
BoxWidth = Width - XPos; BoxWidth = Width - XPos;
SetDrawColor(C, Settings.Style.StatsBoxColor); SetDrawColor(C, Settings.Style.StatsBoxColor);
Owner.CurrentStyle.DrawRectBox( Owner.CurrentStyle.DrawRectBox( XPos,
XPos,
YOffset, YOffset,
BoxWidth, BoxWidth,
Height, Height,