- {
- wchar_t* wstr = wstr_from_str(title);
-
- window->Window.Handle = CreateWindow(
- _T("FREEGLUT"),
- wstr,
- WS_VISIBLE | WS_POPUP,
- 0,0, 240,320,
- NULL,
- NULL,
- fgDisplay.Instance,
- (LPVOID) window
- );
-
- free(wstr);
-
- SHFullScreen(window->Window.Handle, SHFS_HIDESTARTICON);
- SHFullScreen(window->Window.Handle, SHFS_HIDESIPBUTTON);
- SHFullScreen(window->Window.Handle, SHFS_HIDETASKBAR);
- MoveWindow(window->Window.Handle, 0, 0, 240, 320, TRUE);
- ShowWindow(window->Window.Handle, SW_SHOW);
- UpdateWindow(window->Window.Handle);
- }
+ {
+ wchar_t* wstr = wstr_from_str(title);
+
+ window->Window.Handle = CreateWindow(
+ _T("FREEGLUT"),
+ wstr,
+ WS_VISIBLE | WS_POPUP,
+ 0,0, 240,320,
+ NULL,
+ NULL,
+ fgDisplay.Instance,
+ (LPVOID) window
+ );
+
+ free(wstr);
+
+ SHFullScreen(window->Window.Handle, SHFS_HIDESTARTICON);
+ SHFullScreen(window->Window.Handle, SHFS_HIDESIPBUTTON);
+ SHFullScreen(window->Window.Handle, SHFS_HIDETASKBAR);
+ MoveWindow(window->Window.Handle, 0, 0, 240, 320, TRUE);
+ ShowWindow(window->Window.Handle, SW_SHOW);
+ UpdateWindow(window->Window.Handle);
+ }