diff options
author | chai <chaifix@163.com> | 2020-11-13 19:18:49 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-13 19:18:49 +0800 |
commit | 6f326b50d86fab5955a37fe317f14888662b055a (patch) | |
tree | 0b4853085d92c2e7ae10917c466cde4f68f21a2b /Editor/main.cpp | |
parent | 59e6235113a4d933811aa2cf6fdc8282ce394b9d (diff) |
+misc
Diffstat (limited to 'Editor/main.cpp')
-rw-r--r-- | Editor/main.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Editor/main.cpp b/Editor/main.cpp deleted file mode 100644 index 193a52a..0000000 --- a/Editor/main.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include <windows.h>
-#include "GUI/EditorWindows.h"
-
-int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw) -{
- RegisterWindowClasses();
-
- ContainnerWindow* wnd = new ContainnerWindow();
-
- Vector2f min = Vector2f(100, 100);
- Vector2f max = Vector2f(700, 700);
- wnd->Init(Rectf(400, 400, 500, 500), ContainnerWindow::ShowMode::kShowMainWindow, min, max);
-
- while (1)
- {
- MSG msg; - //if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) - //{
- // if (msg.message == WM_QUIT) return 0; - // TranslateMessage(&msg); - //}
- if (GetMessage(&msg, NULL, 0U, 0U) != 0) - { - //ResetGfxDeviceIfNeeded(); - TranslateMessage(&msg); - DispatchMessage(&msg); - } -
- }
-
-
- return 0;
-}
|