mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Partially back-port #25075 to 4.x
This commit is contained in:
@@ -1097,17 +1097,17 @@ void cv::imshow(const String& winname, const ogl::Texture2D& _tex)
|
||||
|
||||
CV_IMPL void cvSetOpenGlDrawCallback(const char*, CvOpenGlDrawCallback, void*)
|
||||
{
|
||||
CV_Error(CV_OpenGlNotSupported, "The library is compiled without OpenGL support");
|
||||
CV_Error(cv::Error::OpenGlNotSupported, "The library is compiled without OpenGL support");
|
||||
}
|
||||
|
||||
CV_IMPL void cvSetOpenGlContext(const char*)
|
||||
{
|
||||
CV_Error(CV_OpenGlNotSupported, "The library is compiled without OpenGL support");
|
||||
CV_Error(cv::Error::OpenGlNotSupported, "The library is compiled without OpenGL support");
|
||||
}
|
||||
|
||||
CV_IMPL void cvUpdateWindow(const char*)
|
||||
{
|
||||
CV_Error(CV_OpenGlNotSupported, "The library is compiled without OpenGL support");
|
||||
CV_Error(cv::Error::OpenGlNotSupported, "The library is compiled without OpenGL support");
|
||||
}
|
||||
|
||||
#endif // !HAVE_OPENGL
|
||||
@@ -1176,52 +1176,52 @@ static const char* NO_QT_ERR_MSG = "The library is compiled without QT support";
|
||||
|
||||
cv::QtFont cv::fontQt(const String&, int, Scalar, int, int, int)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
void cv::addText( const Mat&, const String&, Point, const QtFont&)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
void cv::addText(const Mat&, const String&, Point, const String&, int, Scalar, int, int, int)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
void cv::displayStatusBar(const String&, const String&, int)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
void cv::displayOverlay(const String&, const String&, int )
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
int cv::startLoop(int (*)(int argc, char *argv[]), int , char**)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
void cv::stopLoop()
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
void cv::saveWindowParameters(const String&)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
void cv::loadWindowParameters(const String&)
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
int cv::createButton(const String&, ButtonCallback, void*, int , bool )
|
||||
{
|
||||
CV_Error(CV_StsNotImplemented, NO_QT_ERR_MSG);
|
||||
CV_Error(cv::Error::StsNotImplemented, NO_QT_ERR_MSG);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user