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
a4e97120
Commit
a4e97120
authored
8 years ago
by
Alexandr Kondratev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilate switch-case with GTK_SCROLL_SMOOTH since GTK>=3.4
parent
fd78e2cc
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
window_gtk.cpp
modules/highgui/src/window_gtk.cpp
+2
-0
No files found.
modules/highgui/src/window_gtk.cpp
View file @
a4e97120
...
...
@@ -1993,8 +1993,10 @@ static gboolean icvOnMouse( GtkWidget *widget, GdkEvent *event, gpointer user_da
case
GDK_SCROLL_LEFT
:
orient
=
CV_EVENT_MOUSEHWHEEL
;
case
GDK_SCROLL_DOWN
:
flags
|=
((
-
1
<<
16
)
|
orient
);
break
;
#if (GTK_MAJOR_VERSION > 3 or (GTK_MAJOR_VERSION == 3 and GTK_MINOR_VERSION >= 4))
case
GDK_SCROLL_SMOOTH
:
// to prevent make warning; TODO
;
#endif //GTK_MAJOR_VERSION > 3 or (GTK_MAJOR_VERSION == 3 and GTK_MINOR_VERSION >= 4)
};
};
flags
=
flags
|
...
...
This diff is collapsed.
Click to expand it.
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