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
a1c073d2
Commit
a1c073d2
authored
Nov 21, 2018
by
Tomoaki Teshima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing API cvGetPropVisible_W32
parent
a1fe8f75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
precomp.hpp
modules/highgui/src/precomp.hpp
+2
-0
window.cpp
modules/highgui/src/window.cpp
+2
-0
window_w32.cpp
modules/highgui/src/window_w32.cpp
+18
-0
No files found.
modules/highgui/src/precomp.hpp
View file @
a1c073d2
...
...
@@ -114,6 +114,8 @@ double cvGetRatioWindow_GTK(const char* name);
double
cvGetOpenGlProp_W32
(
const
char
*
name
);
double
cvGetOpenGlProp_GTK
(
const
char
*
name
);
double
cvGetPropVisible_W32
(
const
char
*
name
);
//for QT
#if defined (HAVE_QT)
CvRect
cvGetWindowRect_QT
(
const
char
*
name
);
...
...
modules/highgui/src/window.cpp
View file @
a1c073d2
...
...
@@ -156,6 +156,8 @@ CV_IMPL double cvGetWindowProperty(const char* name, int prop_id)
case
CV_WND_PROP_VISIBLE
:
#if defined (HAVE_QT)
return
cvGetPropVisible_QT
(
name
);
#elif defined(HAVE_WIN32UI)
return
cvGetPropVisible_W32
(
name
);
#else
return
-
1
;
#endif
...
...
modules/highgui/src/window_w32.cpp
View file @
a1c073d2
...
...
@@ -629,6 +629,24 @@ double cvGetOpenGlProp_W32(const char* name)
return
result
;
}
double
cvGetPropVisible_W32
(
const
char
*
name
)
{
double
result
=
-
1
;
CV_FUNCNAME
(
"cvGetPropVisible_W32"
);
__BEGIN__
;
if
(
!
name
)
CV_ERROR
(
CV_StsNullPtr
,
"NULL name string"
);
result
=
(
icvFindWindowByName
(
name
)
!=
NULL
);
__END__
;
return
result
;
}
// OpenGL support
...
...
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