Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8bf2fad6
Commit
8bf2fad6
authored
Oct 01, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaned up a bit (msw).
parent
e005a2be
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+1
-1
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+8
-0
modules/video_output/msw/events.h
modules/video_output/msw/events.h
+1
-0
modules/video_output/msw/vout.h
modules/video_output/msw/vout.h
+0
-3
No files found.
modules/video_output/msw/common.c
View file @
8bf2fad6
...
...
@@ -701,7 +701,7 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
}
/* Make sure the mouse cursor is displayed */
PostMessage
(
p_vout
->
p_sys
->
hwnd
,
WM_VLC_SHOW_MOUSE
,
0
,
0
);
EventThreadMouseShow
(
p_vout
->
p_sys
->
p_event
);
}
/* Update the object variable and trigger callback */
...
...
modules/video_output/msw/events.c
View file @
8bf2fad6
...
...
@@ -76,6 +76,10 @@
/*****************************************************************************
* Local prototypes.
*****************************************************************************/
#define WM_VLC_HIDE_MOUSE (WM_APP + 0)
#define WM_VLC_SHOW_MOUSE (WM_APP + 1)
#define WM_VLC_CHANGE_TEXT (WM_APP + 2)
struct
event_thread_t
{
vout_thread_t
*
p_vout
;
...
...
@@ -933,6 +937,10 @@ void EventThreadMouseAutoHide( event_thread_t *p_event )
}
}
}
void
EventThreadMouseShow
(
event_thread_t
*
p_event
)
{
PostMessage
(
p_event
->
hwnd
,
WM_VLC_SHOW_MOUSE
,
0
,
0
);
}
void
EventThreadUpdateTitle
(
event_thread_t
*
p_event
,
const
char
*
psz_fallback
)
{
char
*
psz_title
=
var_GetNonEmptyString
(
p_event
->
p_vout
,
"video-title"
);
...
...
modules/video_output/msw/events.h
View file @
8bf2fad6
...
...
@@ -48,6 +48,7 @@ int EventThreadStart( event_thread_t *, event_hwnd_t *, const event_
void
EventThreadStop
(
event_thread_t
*
);
void
EventThreadMouseAutoHide
(
event_thread_t
*
);
void
EventThreadMouseShow
(
event_thread_t
*
);
void
EventThreadUpdateTitle
(
event_thread_t
*
,
const
char
*
psz_fallback
);
unsigned
EventThreadRetreiveChanges
(
event_thread_t
*
);
int
EventThreadGetWindowStyle
(
event_thread_t
*
);
...
...
modules/video_output/msw/vout.h
View file @
8bf2fad6
...
...
@@ -250,9 +250,6 @@ void RestoreScreensaver ( vout_thread_t *p_vout );
/*****************************************************************************
* Constants
*****************************************************************************/
#define WM_VLC_HIDE_MOUSE WM_APP
#define WM_VLC_SHOW_MOUSE WM_APP + 1
#define WM_VLC_CHANGE_TEXT WM_APP + 2
#define IDM_TOGGLE_ON_TOP WM_USER + 1
#define DX_POSITION_CHANGE 0x1000
#define DX_WALLPAPER_CHANGE 0x2000
...
...
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