Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
29d478ff
Commit
29d478ff
authored
Jun 15, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSW: fix WinCE compilation after Cursors modification
parent
61b3abff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+6
-0
No files found.
modules/video_output/msw/events.c
View file @
29d478ff
...
@@ -170,6 +170,7 @@ static void UpdateCursor( event_thread_t *p_event, bool b_show )
...
@@ -170,6 +170,7 @@ static void UpdateCursor( event_thread_t *p_event, bool b_show )
}
}
}
}
#ifndef UNDER_CE
static
HCURSOR
EmptyCursor
(
HINSTANCE
instance
)
static
HCURSOR
EmptyCursor
(
HINSTANCE
instance
)
{
{
const
int
cw
=
GetSystemMetrics
(
SM_CXCURSOR
);
const
int
cw
=
GetSystemMetrics
(
SM_CXCURSOR
);
...
@@ -189,6 +190,7 @@ static HCURSOR EmptyCursor( HINSTANCE instance )
...
@@ -189,6 +190,7 @@ static HCURSOR EmptyCursor( HINSTANCE instance )
return
cursor
;
return
cursor
;
}
}
#endif
static
void
MousePressed
(
event_thread_t
*
p_event
,
HWND
hwnd
,
unsigned
button
)
static
void
MousePressed
(
event_thread_t
*
p_event
,
HWND
hwnd
,
unsigned
button
)
{
{
...
@@ -530,7 +532,9 @@ static int DirectXCreateWindow( event_thread_t *p_event )
...
@@ -530,7 +532,9 @@ static int DirectXCreateWindow( event_thread_t *p_event )
}
}
#endif
#endif
p_event
->
cursor_arrow
=
LoadCursor
(
NULL
,
IDC_ARROW
);
p_event
->
cursor_arrow
=
LoadCursor
(
NULL
,
IDC_ARROW
);
#ifndef UNDER_CE
p_event
->
cursor_empty
=
EmptyCursor
(
hInstance
);
p_event
->
cursor_empty
=
EmptyCursor
(
hInstance
);
#endif
/* Get the Icon from the main app */
/* Get the Icon from the main app */
vlc_icon
=
NULL
;
vlc_icon
=
NULL
;
...
@@ -711,7 +715,9 @@ static void DirectXCloseWindow( event_thread_t *p_event )
...
@@ -711,7 +715,9 @@ static void DirectXCloseWindow( event_thread_t *p_event )
UnregisterClass
(
p_event
->
class_video
,
hInstance
);
UnregisterClass
(
p_event
->
class_video
,
hInstance
);
UnregisterClass
(
p_event
->
class_main
,
hInstance
);
UnregisterClass
(
p_event
->
class_main
,
hInstance
);
#ifndef UNDER_CE
DestroyCursor
(
p_event
->
cursor_empty
);
DestroyCursor
(
p_event
->
cursor_empty
);
#endif
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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