Fixed whitespace
This commit is contained in:
parent
795a68e8a8
commit
f9a731d576
1 changed files with 10 additions and 10 deletions
|
@ -55,18 +55,18 @@ GetWindowStyle(SDL_Window * window)
|
||||||
{
|
{
|
||||||
DWORD style = 0;
|
DWORD style = 0;
|
||||||
|
|
||||||
if (window->flags & SDL_WINDOW_FULLSCREEN) {
|
if (window->flags & SDL_WINDOW_FULLSCREEN) {
|
||||||
style |= STYLE_FULLSCREEN;
|
style |= STYLE_FULLSCREEN;
|
||||||
} else {
|
} else {
|
||||||
if (window->flags & SDL_WINDOW_BORDERLESS) {
|
if (window->flags & SDL_WINDOW_BORDERLESS) {
|
||||||
style |= STYLE_BORDERLESS;
|
style |= STYLE_BORDERLESS;
|
||||||
} else {
|
} else {
|
||||||
style |= STYLE_NORMAL;
|
style |= STYLE_NORMAL;
|
||||||
}
|
}
|
||||||
if (window->flags & SDL_WINDOW_RESIZABLE) {
|
if (window->flags & SDL_WINDOW_RESIZABLE) {
|
||||||
style |= STYLE_RESIZABLE;
|
style |= STYLE_RESIZABLE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return style;
|
return style;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, SDL_bool created)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enable multi-touch */
|
/* Enable multi-touch */
|
||||||
if (videodata->RegisterTouchWindow) {
|
if (videodata->RegisterTouchWindow) {
|
||||||
videodata->RegisterTouchWindow(hwnd, (TWF_FINETOUCH|TWF_WANTPALM));
|
videodata->RegisterTouchWindow(hwnd, (TWF_FINETOUCH|TWF_WANTPALM));
|
||||||
}
|
}
|
||||||
|
@ -634,7 +634,7 @@ WIN_DestroyWindow(_THIS, SDL_Window * window)
|
||||||
|
|
||||||
if (data) {
|
if (data) {
|
||||||
#ifdef _WIN32_WCE
|
#ifdef _WIN32_WCE
|
||||||
WINCE_ShowWindow(_this, window, 0);
|
WINCE_ShowWindow(_this, window, 0);
|
||||||
#endif
|
#endif
|
||||||
ReleaseDC(data->hwnd, data->hdc);
|
ReleaseDC(data->hwnd, data->hdc);
|
||||||
if (data->created) {
|
if (data->created) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue