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
f861d0d6
Commit
f861d0d6
authored
Jun 21, 2016
by
Matthew Skolaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge #ifs in highgui bindings
parent
7284a77c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
cv2.cpp
modules/python/src2/cv2.cpp
+0
-4
No files found.
modules/python/src2/cv2.cpp
View file @
f861d0d6
...
...
@@ -1251,7 +1251,6 @@ static void OnChange(int pos, void *param)
}
#ifdef HAVE_OPENCV_HIGHGUI
static
PyObject
*
pycvCreateTrackbar
(
PyObject
*
,
PyObject
*
args
)
{
PyObject
*
on_change
;
...
...
@@ -1269,7 +1268,6 @@ static PyObject *pycvCreateTrackbar(PyObject*, PyObject *args)
ERRWRAP2
(
createTrackbar
(
trackbar_name
,
window_name
,
value
,
count
,
OnChange
,
Py_BuildValue
(
"OO"
,
on_change
,
Py_None
)));
Py_RETURN_NONE
;
}
#endif
static
void
OnButtonChange
(
int
state
,
void
*
param
)
{
...
...
@@ -1294,8 +1292,6 @@ static void OnButtonChange(int state, void *param)
PyGILState_Release
(
gstate
);
}
#ifdef HAVE_OPENCV_HIGHGUI
static
PyObject
*
pycvCreateButton
(
PyObject
*
,
PyObject
*
args
,
PyObject
*
kw
)
{
const
char
*
keywords
[]
=
{
"buttonName"
,
"onChange"
,
"userData"
,
"buttonType"
,
"initialButtonState"
,
NULL
};
...
...
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