From 871649f7ffd327d317e96cb9f5b83d4bfc145ac9 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Sat, 1 Jul 2023 14:19:11 -0400 Subject: add window --- src/main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index b18b7c6..cf70271 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,8 +1,21 @@ #include +#include + +#include "window.hpp" + +PKEWindowProperties windowProps{}; int main() { printf("PKE ENTERING\n"); + try { + CreateWindow(&windowProps); + } catch (const std::exception &exc) { + printf("EXCEPTION: %s\n", exc.what()); + } catch (...) { + printf("UNHANDLED EXCEPTION\n"); + } + DestroyWindow(); printf("PKE EXITING\n"); return 0; } -- cgit v1.2.3