Final commit
This commit is contained in:
parent
0b503f4c98
commit
55ce36c531
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -808,6 +808,7 @@ void SetWindowIcon(Image image)
|
|||
// Set title for window (only PLATFORM_DESKTOP)
|
||||
void SetWindowTitle(const char *title)
|
||||
{
|
||||
windowTitle = title;
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
glfwSetWindowTitle(window, title);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ UWPMessage* CreateUWPMessage(void)
|
|||
msg->Int0 = 0;
|
||||
msg->Int1 = 0;
|
||||
msg->Char0 = 0;
|
||||
msg->Str0 = "";
|
||||
msg->Float0 = 0;
|
||||
msg->Bool0 = false;
|
||||
return msg;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user