Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
4a43cfdd
Commit
4a43cfdd
authored
6 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
window: deinline window/fullscreen event callbacks
parent
13a2c905
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/vlc_vout_window.h
+2
-11
2 additions, 11 deletions
include/vlc_vout_window.h
src/libvlccore.sym
+2
-0
2 additions, 0 deletions
src/libvlccore.sym
src/video_output/window.c
+12
-0
12 additions, 0 deletions
src/video_output/window.c
with
16 additions
and
11 deletions
include/vlc_vout_window.h
+
2
−
11
View file @
4a43cfdd
...
...
@@ -575,23 +575,14 @@ static inline void vout_window_ReportState(vout_window_t *window,
* This notifies the owner of the window that the window is windowed, i.e. not
* in full screen mode.
*/
static
inline
void
vout_window_ReportWindowed
(
vout_window_t
*
window
)
{
if
(
window
->
owner
.
cbs
->
windowed
!=
NULL
)
window
->
owner
.
cbs
->
windowed
(
window
);
}
VLC_API
void
vout_window_ReportWindowed
(
vout_window_t
*
wnd
);
/**
* Reports that the window is in full screen.
*
* \param id fullscreen output nul-terminated identifier, NULL for default
*/
static
inline
void
vout_window_ReportFullscreen
(
vout_window_t
*
window
,
const
char
*
id
)
{
if
(
window
->
owner
.
cbs
->
fullscreened
!=
NULL
)
window
->
owner
.
cbs
->
fullscreened
(
window
,
id
);
}
VLC_API
void
vout_window_ReportFullscreen
(
vout_window_t
*
wnd
,
const
char
*
id
);
static
inline
void
vout_window_SendMouseEvent
(
vout_window_t
*
window
,
const
vout_window_mouse_event_t
*
mouse
)
...
...
This diff is collapsed.
Click to expand it.
src/libvlccore.sym
+
2
−
0
View file @
4a43cfdd
...
...
@@ -765,6 +765,8 @@ vout_window_New
vout_window_Delete
vout_window_Enable
vout_window_Disable
vout_window_ReportWindowed
vout_window_ReportFullscreen
vout_display_GetDefaultDisplaySize
vout_display_PlacePicture
vout_display_SendEventPicturesInvalid
...
...
This diff is collapsed.
Click to expand it.
src/video_output/window.c
+
12
−
0
View file @
4a43cfdd
...
...
@@ -127,6 +127,18 @@ void vout_window_SetInhibition(vout_window_t *window, bool enabled)
vlc_inhibit_Set
(
w
->
inhibit
,
flags
);
}
void
vout_window_ReportWindowed
(
vout_window_t
*
window
)
{
if
(
window
->
owner
.
cbs
->
windowed
!=
NULL
)
window
->
owner
.
cbs
->
windowed
(
window
);
}
void
vout_window_ReportFullscreen
(
vout_window_t
*
window
,
const
char
*
id
)
{
if
(
window
->
owner
.
cbs
->
fullscreened
!=
NULL
)
window
->
owner
.
cbs
->
fullscreened
(
window
,
id
);
}
/* Video output display integration */
#include
<vlc_vout.h>
#include
<vlc_vout_display.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment