Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
5ea3ecdc
Commit
5ea3ecdc
authored
Jan 19, 2014
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
horisontal mwhell support
parent
4e20e06e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
window_w32.cpp
modules/highgui/src/window_w32.cpp
+4
-2
No files found.
modules/highgui/src/window_w32.cpp
View file @
5ea3ecdc
...
...
@@ -90,6 +90,10 @@ static const char* trackbar_text =
#endif
#ifndef WM_MOUSEHWHEEL
#define WM_MOUSEHWHEEL 0x020E
#endif
static
void
FillBitmapInfo
(
BITMAPINFO
*
bmi
,
int
width
,
int
height
,
int
bpp
,
int
origin
)
{
assert
(
bmi
&&
width
>=
0
&&
height
>=
0
&&
(
bpp
==
8
||
bpp
==
24
||
bpp
==
32
));
...
...
@@ -1363,9 +1367,7 @@ MainWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
break
;
case
WM_MOUSEWHEEL
:
#if defined WM_MOUSEHWHEEL
case
WM_MOUSEHWHEEL
:
#endif
if
(
window
->
on_mouse
)
{
int
flags
=
(
wParam
&
MK_LBUTTON
?
CV_EVENT_FLAG_LBUTTON
:
0
)
|
...
...
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