Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
cf88959b
Commit
cf88959b
authored
Apr 20, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed mouse wheel
parent
380d793a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/gui/skins/win32/win32_window.cpp
modules/gui/skins/win32/win32_window.cpp
+7
-5
No files found.
modules/gui/skins/win32/win32_window.cpp
View file @
cf88959b
...
...
@@ -2,7 +2,7 @@
* win32_window.cpp: Win32 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: win32_window.cpp,v 1.
8 2003/04/20 15:06:07
karibu Exp $
* $Id: win32_window.cpp,v 1.
9 2003/04/20 16:45:44
karibu Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -202,10 +202,12 @@ bool Win32Window::ProcessOSEvent( Event *evt )
return
true
;
case
WM_MOUSEWHEEL
:
if
(
HIWORD
(
p1
)
>
0
)
MouseScroll
(
LOWORD
(
p2
),
HIWORD
(
p2
),
MOUSE_SCROLL_UP
);
else
if
(
HIWORD
(
p1
)
<
0
)
MouseScroll
(
LOWORD
(
p2
),
HIWORD
(
p2
),
MOUSE_SCROLL_DOWN
);
if
(
GET_WHEEL_DELTA_WPARAM
(
p1
)
>
0
)
MouseScroll
(
LOWORD
(
p2
)
-
Left
,
HIWORD
(
p2
)
-
Top
,
MOUSE_SCROLL_UP
);
else
if
(
GET_WHEEL_DELTA_WPARAM
(
p1
)
<
0
)
MouseScroll
(
LOWORD
(
p2
)
-
Left
,
HIWORD
(
p2
)
-
Top
,
MOUSE_SCROLL_DOWN
);
return
true
;
default:
...
...
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