began main page with reorganization.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user