Window-related functions is guarded from calls from application code.
Old implementations with "no-gui" exception are stell compiled and linked to OpenCV library for binary compatibility.
file(GLOB highgui_ext_hdrs "include/opencv2/${name}/*.hpp" "include/opencv2/${name}/*.h")
+add_definitions(-DHAVE_ANDROID_UI)
+
if(HAVE_QT)
if (HAVE_QT_OPENGL)
set(QT_USE_QTOPENGL TRUE)
namespace cv
{
+#if defined(ANDROID) && defined(HAVE_ANDROID_UI)
enum {
// Flags for namedWindow
WINDOW_NORMAL = CV_WINDOW_NORMAL, // the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size
void* userdata=NULL, int type=CV_PUSH_BUTTON,
bool initial_button_state=0);
+#endif
+
//-------------------------
enum