mirror of
https://github.com/opencv/opencv.git
synced 2024-12-01 06:49:50 +08:00
Merge pull request #20980 from alalek:highgui_fix_cvGetWindowImageRect_3.4
This commit is contained in:
commit
bce76a7977
@ -135,11 +135,6 @@ CVAPI(int) cvNamedWindow( const char* name, int flags CV_DEFAULT(CV_WINDOW_AUTOS
|
|||||||
CVAPI(void) cvSetWindowProperty(const char* name, int prop_id, double prop_value);
|
CVAPI(void) cvSetWindowProperty(const char* name, int prop_id, double prop_value);
|
||||||
CVAPI(double) cvGetWindowProperty(const char* name, int prop_id);
|
CVAPI(double) cvGetWindowProperty(const char* name, int prop_id);
|
||||||
|
|
||||||
#ifdef __cplusplus // FIXIT remove in OpenCV 4.0
|
|
||||||
/* Get window image rectangle coordinates, width and height */
|
|
||||||
CVAPI(cv::Rect)cvGetWindowImageRect(const char* name);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* display image within window (highgui windows remember their content) */
|
/* display image within window (highgui windows remember their content) */
|
||||||
CVAPI(void) cvShowImage( const char* name, const CvArr* image );
|
CVAPI(void) cvShowImage( const char* name, const CvArr* image );
|
||||||
|
|
||||||
|
@ -191,6 +191,7 @@ CV_IMPL double cvGetWindowProperty(const char* name, int prop_id)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static
|
||||||
cv::Rect cvGetWindowImageRect(const char* name)
|
cv::Rect cvGetWindowImageRect(const char* name)
|
||||||
{
|
{
|
||||||
if (!name)
|
if (!name)
|
||||||
|
Loading…
Reference in New Issue
Block a user