Final commit
This commit is contained in:
parent
0b503f4c98
commit
55ce36c531
2 changed files with 11 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ App::App()
|
|||
{
|
||||
//This does not work... need to fix this.
|
||||
SetConfigFlags(0);
|
||||
|
||||
Setup(640, 480, "Hi");
|
||||
}
|
||||
|
||||
static int posX = 100;
|
||||
|
|
|
|||
|
|
@ -123,6 +123,13 @@ public:
|
|||
|
||||
virtual void Load(Platform::String^ entryPoint) {}
|
||||
|
||||
void Setup(int width, int height)
|
||||
{
|
||||
//Set dimensions
|
||||
this->width = width;
|
||||
this->height = height;
|
||||
}
|
||||
|
||||
virtual void Run()
|
||||
{
|
||||
//Get display dimensions
|
||||
|
|
|
|||
Loading…
Reference in a new issue