cvui
A (very) simple UI lib built on top of OpenCV drawing primitives
multiple-windows-complex-dynamic/main.cpp File Reference
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "cvui.h"
Include dependency graph for multiple-windows-complex-dynamic/main.cpp:

Macros

#define CVUI_IMPLEMENTATION
 
#define ERROR_WINDOW_NAME   "Error window"
 
#define GUI_WINDOW1_NAME   "Window 1"
 
#define GUI_WINDOW2_NAME   "Window 2"
 

Functions

void closeWindow (const cv::String &name)
 
int isWindowOpen (const cv::String &name)
 
int main (int argc, const char *argv[])
 
void openWindow (const cv::String &name)
 

Macro Definition Documentation

◆ CVUI_IMPLEMENTATION

#define CVUI_IMPLEMENTATION

◆ ERROR_WINDOW_NAME

#define ERROR_WINDOW_NAME   "Error window"

◆ GUI_WINDOW1_NAME

#define GUI_WINDOW1_NAME   "Window 1"

◆ GUI_WINDOW2_NAME

#define GUI_WINDOW2_NAME   "Window 2"

Function Documentation

◆ closeWindow()

void closeWindow ( const cv::String &  name)

◆ isWindowOpen()

int isWindowOpen ( const cv::String &  name)

◆ main()

int main ( int  argc,
const char *  argv[] 
)

◆ openWindow()

void openWindow ( const cv::String &  name)

References cvui::watch().