From 8d51ad567fb2968d4df582bbe71ebd157dde1d85 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Mon, 13 Apr 2020 16:40:04 +0200 Subject: Review UWP project -WIP- --- projects/VS2017.UWP/raylib.App.UWP/App.cpp | 2 +- projects/VS2017.UWP/raylib.App.UWP/App.h | 8 ++--- projects/VS2017.UWP/raylib.App.UWP/BaseApp.h | 2 +- .../raylib.App.UWP/raylib.App.UWP.vcxproj.filters | 40 ++++++++++++++++++++++ 4 files changed, 46 insertions(+), 6 deletions(-) create mode 100644 projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj.filters (limited to 'projects') diff --git a/projects/VS2017.UWP/raylib.App.UWP/App.cpp b/projects/VS2017.UWP/raylib.App.UWP/App.cpp index dd1156a4..ad3fdb28 100644 --- a/projects/VS2017.UWP/raylib.App.UWP/App.cpp +++ b/projects/VS2017.UWP/raylib.App.UWP/App.cpp @@ -5,7 +5,7 @@ using namespace raylibUWP; -// The main function creates an IFrameworkViewSource for our app, and runs the app. +// The main function creates an IFrameworkViewSource for our app, and runs the app [Platform::MTAThread] int main(Platform::Array^) { diff --git a/projects/VS2017.UWP/raylib.App.UWP/App.h b/projects/VS2017.UWP/raylib.App.UWP/App.h index fa33237d..7b96d16e 100644 --- a/projects/VS2017.UWP/raylib.App.UWP/App.h +++ b/projects/VS2017.UWP/raylib.App.UWP/App.h @@ -16,10 +16,10 @@ namespace raylibUWP { ref class App sealed : public BaseApp { - public: - App(); + public: - // IFrameworkView Methods. - void Update() override; + App(); + + void Update() override; }; } diff --git a/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h b/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h index 7f59c3de..87b952e5 100644 --- a/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h +++ b/projects/VS2017.UWP/raylib.App.UWP/BaseApp.h @@ -119,7 +119,7 @@ public: handle = (EGLNativeWindowType)window; - InitWindow(width, height, NULL); + InitWindow(width, height, "raylib game example"); } virtual void Load(Platform::String^ entryPoint) {} diff --git a/projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj.filters b/projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj.filters new file mode 100644 index 00000000..1e0fe362 --- /dev/null +++ b/projects/VS2017.UWP/raylib.App.UWP/raylib.App.UWP.vcxproj.filters @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + Logo + + + Logo + + + Logo + + + Logo + + + Logo + + + + + + + + + + + {cdf72d55-f249-4ad6-9a91-f8a084e64933} + + + \ No newline at end of file -- cgit v1.2.3