Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
f9a731d5
Commit
f9a731d5
authored
Nov 10, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed whitespace
parent
795a68e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
SDL_windowswindow.c
src/video/windows/SDL_windowswindow.c
+10
-10
No files found.
src/video/windows/SDL_windowswindow.c
View file @
f9a731d5
...
@@ -55,18 +55,18 @@ GetWindowStyle(SDL_Window * window)
...
@@ -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)
...
@@ -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)
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment