refactored field names, organized classes, text ui module now can scale and wrap.
This commit is contained in:
@@ -18,8 +18,8 @@ namespace RhythmBullet.Zer01HD.Screens.MainMenu
|
||||
public override void ApplySize(int width, int height)
|
||||
{
|
||||
title.Scale = (width - 40) / title.Texture.Width;
|
||||
title.Bounds.X = (int)((width - title.Bounds.Width) / 2f);
|
||||
title.Bounds.Y = (int)((height - title.Bounds.Height) / 2f);
|
||||
title.bounds.X = (int)((width - title.bounds.Width) / 2f);
|
||||
title.bounds.Y = (int)((height - title.bounds.Height) / 2f);
|
||||
base.ApplySize(width, height);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user