diff options
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;
-}
|