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
3fd83d6a
Commit
3fd83d6a
authored
Apr 20, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Added support of wheel with win32
parent
e9c0cc59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/gui/skins/win32/win32_window.cpp
modules/gui/skins/win32/win32_window.cpp
+8
-1
No files found.
modules/gui/skins/win32/win32_window.cpp
View file @
3fd83d6a
...
...
@@ -2,7 +2,7 @@
* win32_window.cpp: Win32 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: win32_window.cpp,v 1.
7 2003/04/16 21:40:07 ipkiss
Exp $
* $Id: win32_window.cpp,v 1.
8 2003/04/20 15:06:07 karibu
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -201,6 +201,13 @@ bool Win32Window::ProcessOSEvent( Event *evt )
OSAPI_PostMessage
(
this
,
WINDOW_LEAVE
,
0
,
0
);
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
);
return
true
;
default:
return
false
;
}
...
...
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