added missing cv::moveWindow & cv::resizeWindow
This commit is contained in:
parent
6abb46254d
commit
df5c60c50a
@ -60,6 +60,8 @@ CV_EXPORTS_W void namedWindow( const string& winname, int flags=WINDOW_AUTOSIZE
|
|||||||
CV_EXPORTS_W void destroyWindow( const string& winname );
|
CV_EXPORTS_W void destroyWindow( const string& winname );
|
||||||
CV_EXPORTS_W void destroyAllWindows();
|
CV_EXPORTS_W void destroyAllWindows();
|
||||||
CV_EXPORTS_W int startWindowThread();
|
CV_EXPORTS_W int startWindowThread();
|
||||||
|
CV_EXPORTS_W void resizeWindow( const string& name, int width, int height );
|
||||||
|
CV_EXPORTS_W void moveWindow( const string& name, int x, int y );
|
||||||
|
|
||||||
CV_EXPORTS_W void setWindowProperty(const string& winname, int prop_id, double prop_value);//YV
|
CV_EXPORTS_W void setWindowProperty(const string& winname, int prop_id, double prop_value);//YV
|
||||||
CV_EXPORTS_W double getWindowProperty(const string& winname, int prop_id);//YV
|
CV_EXPORTS_W double getWindowProperty(const string& winname, int prop_id);//YV
|
||||||
|
@ -141,6 +141,16 @@ void cv::destroyAllWindows()
|
|||||||
cvDestroyAllWindows();
|
cvDestroyAllWindows();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cv::resizeWindow( const string& winname, int width, int height )
|
||||||
|
{
|
||||||
|
cvResizeWindow( winname.c_str(), width, height );
|
||||||
|
}
|
||||||
|
|
||||||
|
void cv::moveWindow( const string& winname, int x, int y )
|
||||||
|
{
|
||||||
|
cvMoveWindow( winname.c_str(), x, y );
|
||||||
|
}
|
||||||
|
|
||||||
void cv::setWindowProperty(const string& winname, int prop_id, double prop_value)
|
void cv::setWindowProperty(const string& winname, int prop_id, double prop_value)
|
||||||
{
|
{
|
||||||
cvSetWindowProperty( winname.c_str(),prop_id,prop_value);
|
cvSetWindowProperty( winname.c_str(),prop_id,prop_value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user