Loading screen base set up.

This commit is contained in:
2018-09-15 14:05:14 -05:00
parent 3779f220ff
commit 7735445888
16 changed files with 99 additions and 57 deletions

View File

@@ -21,16 +21,16 @@ namespace RhythmBullet.Zer01HD.UI.Book
public virtual void ApplySize(int width, int height)
{
X = pageX * width;
Y = pageY * height;
Position.X = pageX * width;
Position.Y = pageY * height;
this.Width = width;
this.Height = height;
}
public void DisplayWithViewport(Viewport viewport)
{
viewport.X = X;
viewport.Y = Y;
viewport.X = (int) Position.X;
viewport.Y = (int) Position.Y;
}
}
}