1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #9445 from adishavit:master

* Adds cv::resizeWindow() overload taking a single cv::Size argument.

* Replaces copied documentaion with Doxygen @overload command.
This commit is contained in:
Adi Shavit
2017-08-25 14:37:50 +03:00
committed by Alexander Alekhin
parent bee5cb504b
commit 8a094a5f54
3 changed files with 13 additions and 1 deletions
+6
View File
@@ -190,6 +190,12 @@ void cv::resizeWindow( const String& winname, int width, int height )
cvResizeWindow( winname.c_str(), width, height );
}
void cv::resizeWindow(const String& winname, const cv::Size& size)
{
CV_TRACE_FUNCTION();
cvResizeWindow(winname.c_str(), size.width, size.height);
}
void cv::moveWindow( const String& winname, int x, int y )
{
CV_TRACE_FUNCTION();