began main page with reorganization.

This commit is contained in:
2018-11-12 18:50:00 -06:00
parent b1e2721850
commit 51f13b1578
5 changed files with 27 additions and 5 deletions

View File

@@ -12,12 +12,14 @@ namespace RhythmBullet.Zer01HD.UI.Book
class Page : UIModuleGroup
{
private readonly int pageX, pageY;
private GraphicsDevice graphicsDevice;
public Page(int pageX, int pageY, int width, int height)
public Page(int pageX, int pageY, GraphicsDevice graphicsDevice)
{
this.graphicsDevice = graphicsDevice;
this.pageX = pageX;
this.pageY = pageY;
ApplySize(width, height);
ApplySize(graphicsDevice.Viewport.Width, graphicsDevice.Viewport.Height);
}
public virtual void ApplySize(int width, int height)