Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
36fda079
Commit
36fda079
authored
Jul 07, 2010
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skin2(Win32): add support for mouse wheel in fullscreen mode
fix #3862
parent
2dee046f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
modules/gui/skins2/src/vout_manager.hpp
modules/gui/skins2/src/vout_manager.hpp
+13
-0
No files found.
modules/gui/skins2/src/vout_manager.hpp
View file @
36fda079
...
@@ -28,10 +28,12 @@
...
@@ -28,10 +28,12 @@
#include <vlc_vout.h>
#include <vlc_vout.h>
#include <vlc_vout_window.h>
#include <vlc_vout_window.h>
#include <vlc_keys.h>
#include "../utils/position.hpp"
#include "../utils/position.hpp"
#include "../commands/cmd_generic.hpp"
#include "../commands/cmd_generic.hpp"
#include "../controls/ctrl_video.hpp"
#include "../controls/ctrl_video.hpp"
#include "../events/evt_key.hpp"
#include "../events/evt_key.hpp"
#include "../events/evt_scroll.hpp"
class
VarBool
;
class
VarBool
;
class
GenericWindow
;
class
GenericWindow
;
...
@@ -74,6 +76,17 @@ public:
...
@@ -74,6 +76,17 @@ public:
var_SetInteger
(
getIntf
()
->
p_libvlc
,
"key-pressed"
,
var_SetInteger
(
getIntf
()
->
p_libvlc
,
"key-pressed"
,
rEvtKey
.
getModKey
()
);
rEvtKey
.
getModKey
()
);
}
}
virtual
void
processEvent
(
EvtScroll
&
rEvtScroll
)
{
// scroll events sent to core as hotkeys
int
i_vlck
=
0
;
i_vlck
|=
rEvtScroll
.
getMod
();
i_vlck
|=
(
rEvtScroll
.
getDirection
()
==
EvtScroll
::
kUp
)
?
KEY_MOUSEWHEELUP
:
KEY_MOUSEWHEELDOWN
;
var_SetInteger
(
getIntf
()
->
p_libvlc
,
"key-pressed"
,
i_vlck
);
}
};
};
...
...
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