cvui
A (very) simple UI lib built on top of OpenCV drawing primitives
|
|
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: trackbar/CMakeLists.txt:8
const int OVER
Definition: cvui.h:1151
#define ERROR_WINDOW_NAME
Definition: multiple-windows-complex-dynamic/main.cpp:18
def end(self)
Definition: EnhancedWindow.py:61
def main()
Definition: mouse.py:15
def main()
Definition: on-image.py:20
__x
Definition: EnhancedWindow.py:19
def width(self)
Definition: EnhancedWindow.py:65
const int DOWN
Definition: cvui.h:1149
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: nested-rows-columns/CMakeLists.txt:8
find_package(OpenCV REQUIRED) include_directories($
Definition: mouse-complex/CMakeLists.txt:1
int main(int argc, const char *argv[])
Definition: mouse-complex-buttons/main.cpp:21
const int LEFT_BUTTON
Definition: cvui.h:1157
include_directories(../../..) set(ApplicationName on-image) add_executable($
Definition: on-image/CMakeLists.txt:3
const unsigned int KEY_HOME
Definition: cvui.h:1181
include_directories(../../..) set(ApplicationName trackbar-sparkline) add_executable($
Definition: trackbar-sparkline/CMakeLists.txt:3
include_directories(../../..) set(ApplicationName multiple-windows) add_executable($
Definition: multiple-windows/CMakeLists.txt:3
void text(cv::Mat &theWhere, int theX, int theY, const cv::String &theText, double theFontScale=0.4, unsigned int theColor=0xCECECE)
Display a piece of text.
const int ROW
Definition: cvui.h:1147
bool button(cv::Mat &theIdle, cv::Mat &theOver, cv::Mat &theDown)
Display a button whose graphics are images (cv::Mat).
int main(int argc, const char *argv[])
Definition: multiple-windows/main.cpp:126
const int OUT
Definition: cvui.h:1152
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: complext-layout/CMakeLists.txt:8
find_package(OpenCV REQUIRED) include_directories($
Definition: complext-layout/CMakeLists.txt:1
Definition: EnhancedWindow.py:1
include_directories(../../..) set(ApplicationName multiple-windows-complex-dynamic) add_executable($
Definition: multiple-windows-complex-dynamic/CMakeLists.txt:3
const int IS_DOWN
Definition: cvui.h:1154
bool hasShortcut
Definition: cvui.h:1201
cvui_mouse_btn_t anyButton
Definition: cvui.h:1217
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: ui-enhanced-window-component/CMakeLists.txt:10
def main()
Definition: main-app.py:14
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: nested-rows-columns/CMakeLists.txt:10
bool justReleased
Definition: cvui.h:1209
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) install(FILES ../../data/lena.jpg DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: canny/CMakeLists.txt:10
int main(int argc, const char *argv[])
Definition: complext-layout/main.cpp:59
include_directories(../../..) set(ApplicationName interaction-area) add_executable($
Definition: interaction-area/CMakeLists.txt:3
int height() const
Definition: EnhancedWindow.h:84
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: multiple-windows-complex/CMakeLists.txt:10
#define WINDOW_NAME
Definition: ui-enhanced-window-component/main.cpp:23
def __init__(self)
Definition: Class1.py:12
bool checked
Definition: Class1.h:14
__y
Definition: EnhancedWindow.py:20
int isWindowOpen(const cv::String &name)
Definition: multiple-windows-complex-dynamic/main.cpp:22
def renderMessage(self, frame)
Definition: Class2.py:12
int main(int argc, const char *argv[])
Definition: multiple-windows-complex-mouse/main.cpp:19
#define WINDOW_NAME
Definition: nested-rows-columns/main.cpp:17
def setHeight(self, h)
Definition: EnhancedWindow.py:74
def height(self)
Definition: EnhancedWindow.py:68
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: trackbar/CMakeLists.txt:10
#define WINDOW_NAME
Definition: input-change-counter/main.cpp:16
int width() const
Definition: EnhancedWindow.h:80
void image(cv::Mat &theImage)
Display an image (cv::Mat) within a begin*() and end*() block.
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) install(FILES ../../data/lena.jpg DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: on-image/CMakeLists.txt:10
def __init__(self, x, y, width, height, title, minimizable=True)
Definition: EnhancedWindow.py:18
int main(int argc, const char *argv[])
Definition: input/main.cpp:17
void end()
Definition: EnhancedWindow.h:75
void endColumn()
End a column.
def main()
Definition: trackbar.py:20
const int RIGHT_BUTTON
Definition: cvui.h:1159
def compact(name)
Definition: multiple-windows.py:97
int main(int argc, const char *argv[])
Definition: button-shortcut/main.cpp:16
void headless(bool theValue)
Enable/disable headless more.
void closeWindow(const cv::String &name)
Definition: multiple-windows-complex-dynamic/main.cpp:33
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: trackbar-sparkline/CMakeLists.txt:8
#define WINDOW_NAME
Definition: headless/main.cpp:15
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: multiple-windows-complex-dynamic/CMakeLists.txt:8
cv::Point mouse(const cv::String &theWindowName="")
Return the last position of the mouse.
int main(int argc, const char *argv[])
Definition: input-detect-key/main.cpp:18
int input(cv::Mat &theWhere, int theX, int theY, int theWidth, const cv::String theName, cv::String &theValue, double theFontScale=0.5)
Display an inputtext.
find_package(OpenCV REQUIRED) include_directories($
Definition: multiple-windows-complex/CMakeLists.txt:1
int main(int argc, const char *argv[])
Definition: on-image/main.cpp:15
find_package(OpenCV REQUIRED) include_directories($
Definition: multiple-windows/CMakeLists.txt:1
int main(int argc, const char *argv[])
Definition: input-change-counter/main.cpp:18
include_directories(../../..) set(ApplicationName trackbar-complex) add_executable($
Definition: trackbar-complex/CMakeLists.txt:3
int main(int argc, const char *argv[])
Definition: interaction-area/main.cpp:19
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: interaction-area/CMakeLists.txt:10
#define WINDOW2_NAME
Definition: multiple-windows/main.cpp:61
#define WINDOW_NAME
Definition: input-react-key/main.cpp:14
def main()
Definition: ui-enhanced-window-component.py:25
void openWindow(const cv::String &name)
Definition: multiple-windows-complex-dynamic/main.cpp:27
int main(int argc, const char *argv[])
Definition: headless/main.cpp:18
#define WINDOW_NAME
Definition: mouse/main.cpp:16
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: row-column/CMakeLists.txt:8
void window(const cv::String &name)
Definition: multiple-windows/main.cpp:66
def main()
Definition: multiple-windows-complex.py:16
std::string textBeforeShortcut
Definition: cvui.h:1203
bool isMinimized()
Definition: EnhancedWindow.h:96
#define WINDOW_NAME
Definition: input-sizes/main.cpp:16
const unsigned int KEY_BACKSPACE
Definition: cvui.h:1177
#define GUI_WINDOW1_NAME
Definition: multiple-windows-complex-dynamic/main.cpp:16
void begin(cv::Mat &frame)
Definition: EnhancedWindow.h:46
void setWidth(int w)
Definition: EnhancedWindow.h:88
def isMinimized(self)
Definition: EnhancedWindow.py:78
#define CVUI_FILLED
Definition: cvui.h:1088
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: hello-world/CMakeLists.txt:8
const unsigned int TRACKBAR_HIDE_STEP_SCALE
Definition: cvui.h:1163
int lastKeyPressed()
Return the last key that was pressed.
#define WINDOW3_NAME
Definition: multiple-windows-complex-mouse/main.cpp:17
include_directories(../../..) set(ApplicationName canny) add_executable($
Definition: canny/CMakeLists.txt:3
int main(int argc, const char *argv[])
Definition: multiple-windows-complex-dynamic/main.cpp:41
#define ROI_WINDOW
Definition: mouse-complex/main.cpp:17
def main()
Definition: mouse-complex.py:16
void renderMessage(cv::Mat &frame)
Definition: Class2.cpp:12
def main()
Definition: multiple-windows.py:121
def openWindow(name)
Definition: multiple-windows-complex-dynamic.py:25
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: trackbar-sparkline/CMakeLists.txt:10
__height
Definition: EnhancedWindow.py:22
void window(int theWidth, int theHeight, const cv::String &theTitle)
Display a window (a block with a title and a body) within a begin*() and end*() block.
Definition: EnhancedWindow.py:17
void sparkline(std::vector< double > &theValues, int theWidth, int theHeight, unsigned int theColor=0x00FF00)
Display the values of a vector as a sparkline within a begin*() and end*() block.
main cpp ui enhanced window component EnhancedWindow h target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: ui-enhanced-canny/CMakeLists.txt:8
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: interaction-area/CMakeLists.txt:8
def main()
Definition: headless.py:14
bool trackbar(int theWidth, num_type *theValue, num_type theMin, num_type theMax, int theSegments, const char *theLabelFormat, unsigned int theOptions, num_type theDiscreteStep)
Definition: cvui.h:1391
include_directories(../../..) set(ApplicationName sparkline) add_executable($
Definition: sparkline/CMakeLists.txt:3
__isMoving
Definition: EnhancedWindow.py:27
void watch(const cv::String &theWindowName, bool theCreateNamedWindow=true)
Track UI interactions of a particular window.
void printf(cv::Mat &theWhere, int theX, int theY, double theFontScale, unsigned int theColor, const char *theFmt,...)
Display a piece of text that can be formated using stdio's printf() style.
Class2()
Definition: Class2.cpp:9
def main()
Definition: interaction-area.py:16
int type
Definition: cvui.h:1191
def main()
Definition: complex-layout.py:56
def renderInfo(self, frame)
Definition: Class1.py:15
void init(const cv::String &theWindowName, int theDelayWaitKey=-1, bool theCreateNamedWindow=true, bool theHeadlessMode=false)
Initializes cvui.
const int CLICK
Definition: cvui.h:1150
main cpp Class1 cpp Class2 cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: multiple-files/CMakeLists.txt:8
include_directories(../../..) set(ApplicationName mouse-complex) add_executable($
Definition: mouse-complex/CMakeLists.txt:3
void beginColumn(cv::Mat &theWhere, int theX, int theY, int theWidth=-1, int theHeight=-1, int thePadding=0)
Start a new column.
find_package(OpenCV REQUIRED) include_directories($
Definition: interaction-area/CMakeLists.txt:1
std::vector< double > load(std::string thePath)
Definition: sparkline/main.cpp:19
def isWindowOpen(name)
Definition: multiple-windows-complex-dynamic.py:21
int main(int argc, const char *argv[])
Definition: main-app/main.cpp:17
void rect(cv::Mat &theWhere, int theX, int theY, int theWidth, int theHeight, unsigned int theBorderColor, unsigned int theFillingColor=0xff000000)
Display a filled rectangle.
bool trackbar(cv::Mat &theWhere, int theX, int theY, int theWidth, T *theValue, T theMin, T theMax, int theSegments=1, const char *theLabelFormat="%.1Lf", unsigned int theOptions=0, T theDiscreteStep=1)
Display a trackbar for numeric values that the user can increase/decrease by clicking and/or dragging...
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: complext-layout/CMakeLists.txt:10
def main()
Definition: sparkline.py:34
const unsigned int INTPUT_CURSOR_BLINK_SLOWNESS
Definition: cvui.h:1168
find_package(OpenCV REQUIRED) include_directories($
Definition: multiple-windows-complex-dynamic/CMakeLists.txt:1
int main(int argc, const char *argv[])
Definition: canny/main.cpp:15
find_package(OpenCV REQUIRED) include_directories($
Definition: ui-enhanced-window-component/CMakeLists.txt:1
const unsigned int KEY_ARROW_UP
Definition: cvui.h:1174
find_package(OpenCV REQUIRED) include_directories($
Definition: trackbar-sparkline/CMakeLists.txt:1
def main()
Definition: multiple-windows-complex-dynamic.py:37
__title
Definition: EnhancedWindow.py:24
const unsigned int KEY_DELETE
Definition: cvui.h:1179
cv::String windowName
Definition: cvui.h:1233
bool mouse(const cv::String &theWindowName, int theButton, int theQuery)
Query the mouse for events in a particular button in a particular window.
#define WINDOW_NAME
Definition: trackbar-complex/main.cpp:13
#define WINDOW2_NAME
Definition: multiple-windows-complex-mouse/main.cpp:16
#define WINDOW_NAME
Definition: input/main.cpp:15
find_package(OpenCV REQUIRED) include_directories($
Definition: mouse/CMakeLists.txt:1
const unsigned int KEY_END
Definition: cvui.h:1180
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: headless/CMakeLists.txt:8
void beginRow(cv::Mat &theWhere, int theX, int theY, int theWidth=-1, int theHeight=-1, int thePadding=0)
Start a new row.
const unsigned int TRACKBAR_HIDE_LABELS
Definition: cvui.h:1167
void renderInfo(cv::Mat &frame)
Definition: Class1.cpp:13
void window(cv::Mat &theWhere, int theX, int theY, int theWidth, int theHeight, const cv::String &theTitle)
Display a window (a block with a title and a body).
int main(int argc, const char *argv[])
Definition: ui-enhanced-canny/main.cpp:29
#define WINDOW_NAME
Definition: sparkline/main.cpp:17
find_package(OpenCV REQUIRED) include_directories($
Definition: trackbar/CMakeLists.txt:1
int main(int argc, const char *argv[])
Definition: ui-enhanced-window-component/main.cpp:25
include_directories(../../..) set(ApplicationName nested-rows-columns) add_executable($
Definition: nested-rows-columns/CMakeLists.txt:3
def main()
Definition: row-column.py:31
def closeWindow(name)
Definition: multiple-windows-complex-dynamic.py:30
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) install(FILES ../../data/sparkline.csv DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: sparkline/CMakeLists.txt:10
find_package(OpenCV REQUIRED) include_directories($
Definition: nested-rows-columns/CMakeLists.txt:1
def main()
Definition: trackbar-complex.py:20
bool justPressed
Definition: cvui.h:1210
cv::Point position
Definition: cvui.h:1218
int padding
Definition: cvui.h:1190
const unsigned int KEY_TAB
Definition: cvui.h:1178
bool checkbox(cv::Mat &theWhere, int theX, int theY, const cv::String &theLabel, bool *theState, unsigned int theColor=0xCECECE)
Display a checkbox.
void space(int theValue=5)
Add an arbitrary amount of space between components within a begin*() and end*() block.
double counter(double *theValue, double theStep=0.5, const char *theFormat="%.2f")
Display a counter for float values that the user can increase/descrease by clicking the up and down a...
int counter(cv::Mat &theWhere, int theX, int theY, int *theValue, int theStep=1, const char *theFormat="%d")
Display a counter for integer values that the user can increase/descrease by clicking the up and down...
int main(int argc, const char *argv[])
Definition: multiple-files/main.cpp:24
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: trackbar-complex/CMakeLists.txt:10
void context(const cv::String &theWindowName)
Inform cvui that all subsequent component calls belong to a window in particular.
#define WINDOW_NAME
Definition: input-detect-key/main.cpp:16
include_directories(../../..) set(ApplicationName multiple-windows-complex-mouse) add_executable($
Definition: multiple-windows-complex-mouse/CMakeLists.txt:3
find_package(OpenCV REQUIRED) include_directories($
Definition: hello-world/CMakeLists.txt:1
#define sprintf_s
Definition: cvui.h:1094
void imshow(const cv::String &theWindowName, cv::InputArray theFrame)
Display an image in the specified window and update the internal structures of cvui.
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: hello-world/CMakeLists.txt:10
include_directories(../../..) set(ApplicationName ui-enhanced-window-component) add_executable($
Definition: ui-enhanced-window-component/CMakeLists.txt:3
void beginRow(int theWidth=-1, int theHeight=-1, int thePadding=0)
Start a row.
#define WINDOW_NAME
Definition: on-image/main.cpp:13
#define WINDOW_NAME
Definition: mouse-complex/main.cpp:16
cv::Point anchor
Definition: cvui.h:1189
#define WINDOW_NAME
Definition: row-column/main.cpp:30
include_directories(../../..) set(ApplicationName main-app) add_executable($
Definition: main-app/CMakeLists.txt:3
int main(int argc, const char *argv[])
Definition: sparkline/main.cpp:35
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: sparkline/CMakeLists.txt:8
int main(int argc, const char *argv[])
Definition: trackbar/main.cpp:17
int main(int argc, const char *argv[])
Definition: input-multiple/main.cpp:18
__minimized
Definition: EnhancedWindow.py:28
bool button(cv::Mat &theWhere, int theX, int theY, const cv::String &theLabel)
Display a button.
void image(cv::Mat &theWhere, int theX, int theY, cv::Mat &theImage)
Display an image (cv::Mat).
void beginColumn(int theWidth=-1, int theHeight=-1, int thePadding=0)
Start a column.
include_directories(../../..) set(ApplicationName trackbar) add_executable($
Definition: trackbar/CMakeLists.txt:3
cv::Rect rect
Definition: cvui.h:1187
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: canny/CMakeLists.txt:8
void init(const cv::String theWindowNames[], size_t theHowManyWindows, int theDelayWaitKey=-1, bool theCreateNamedWindows=true, bool theHeadlessMode=false)
Initialize cvui using a list of names of windows where components will be added.
const unsigned int TRACKBAR_DISCRETE
Definition: cvui.h:1164
char shortcut
Definition: cvui.h:1202
#define WINDOW_NAME
Definition: trackbar/main.cpp:15
void printf(const char *theFmt,...)
Display a piece of text that can be formated using stdio's printf() style.
__minimizable
Definition: EnhancedWindow.py:29
void text(const cv::String &theText, double theFontScale=0.4, unsigned int theColor=0xCECECE)
Display a piece of text within a begin*() and end*() block.
void handleMouse(int theEvent, int theX, int theY, int theFlags, void *theData)
#define WINDOW_NAME
Definition: ui-enhanced-canny/main.cpp:27
#define WINDOW_NAME
Definition: hello-world/main.cpp:15
#define WINDOW4_NAME
Definition: multiple-windows/main.cpp:63
__deltaY
Definition: EnhancedWindow.py:25
const unsigned int KEY_ARROW_RIGHT
Definition: cvui.h:1173
void sparkline(cv::Mat &theWhere, std::vector< double > &theValues, int theX, int theY, int theWidth, int theHeight, unsigned int theColor=0x00FF00)
Display the values of a vector as a sparkline.
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: multiple-windows-complex-mouse/CMakeLists.txt:8
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: main-app/CMakeLists.txt:8
def main()
Definition: hello-world.py:15
cv::Mat where
Definition: cvui.h:1186
include_directories(../../..) set(ApplicationName ui-enhanced-canny) add_executable($
Definition: ui-enhanced-canny/CMakeLists.txt:3
const unsigned int KEY_ENTER
Definition: cvui.h:1176
const unsigned int TRACKBAR_HIDE_VALUE_LABEL
Definition: cvui.h:1166
int main(int argc, const char *argv[])
Definition: hello-world/main.cpp:17
def setWidth(self, w)
Definition: EnhancedWindow.py:71
find_package(OpenCV REQUIRED) include_directories($
Definition: headless/CMakeLists.txt:1
checked
Definition: Class1.py:13
def main()
Definition: nested-rows-columns.py:18
int main(int argc, const char *argv[])
Definition: input-react-key/main.cpp:16
#define ENABLE_HEADLESS
Definition: headless/main.cpp:16
include_directories(../../..) set(ApplicationName multiple-windows-complex) add_executable($
Definition: multiple-windows-complex/CMakeLists.txt:3
Class1()
Definition: Class1.cpp:9
const int COLUMN
Definition: cvui.h:1148
find_package(OpenCV REQUIRED) include_directories($
Definition: main-app/CMakeLists.txt:1
#define GUI_WINDOW2_NAME
Definition: multiple-windows-complex-dynamic/main.cpp:17
__width
Definition: EnhancedWindow.py:21
#define vsprintf_s
Definition: cvui.h:1093
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: main-app/CMakeLists.txt:10
include_directories(../../..) set(ApplicationName multiple-files) add_executable($
Definition: multiple-files/CMakeLists.txt:3
def main()
Definition: trackbar-sparkline.py:20
Definition: sparkline.py:1
#define CVUI_ANTIALISED
Definition: cvui.h:1084
#define WINDOW_NAME
Definition: trackbar-sparkline/main.cpp:13
def load(thePath)
Definition: sparkline.py:16
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: trackbar-complex/CMakeLists.txt:8
#define WINDOW_NAME
Definition: input-multiple/main.cpp:16
#define WINDOW1_NAME
Definition: multiple-windows-complex-mouse/main.cpp:15
int iarea(int theX, int theY, int theWidth, int theHeight)
Create an interaction area that reports activity with the mouse cursor.
cv::Rect fill
Definition: cvui.h:1188
int main(int argc, const char *argv[])
Definition: nested-rows-columns/main.cpp:20
const unsigned int KEY_ARROW_DOWN
Definition: cvui.h:1175
def window(name)
Definition: multiple-windows.py:65
bool checkbox(const cv::String &theLabel, bool *theState, unsigned int theColor=0xCECECE)
Display a checkbox within a begin*() and end*() block.
#define WINDOW_NAME
Definition: mouse-complex-buttons/main.cpp:19
def main()
Definition: canny.py:15
int main(int argc, const char *argv[])
Definition: trackbar-complex/main.cpp:15
std::string textAfterShortcut
Definition: cvui.h:1204
int main(int argc, const char *argv[])
Definition: input-sizes/main.cpp:18
#define WINDOW3_NAME
Definition: multiple-windows/main.cpp:62
Definition: headless.py:1
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: multiple-files/CMakeLists.txt:10
def main()
Definition: multiple-files.py:19
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: multiple-windows/CMakeLists.txt:10
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: mouse-complex/CMakeLists.txt:8
find_package(OpenCV REQUIRED) include_directories($
Definition: multiple-windows-complex-mouse/CMakeLists.txt:1
__deltaX
Definition: EnhancedWindow.py:26
def begin(self, frame)
Definition: EnhancedWindow.py:31
#define WINDOW_NAME
Definition: canny/main.cpp:13
const int MIDDLE_BUTTON
Definition: cvui.h:1158
include_directories(../../..) set(ApplicationName row-column) add_executable($
Definition: row-column/CMakeLists.txt:3
int main(int argc, const char *argv[])
Definition: trackbar-sparkline/main.cpp:15
void rect(int theWidth, int theHeight, unsigned int theBorderColor, unsigned int theFillingColor=0xff000000)
Display a rectangle within a begin*() and end*() block.
find_package(OpenCV REQUIRED) include_directories($
Definition: on-image/CMakeLists.txt:1
find_package(OpenCV REQUIRED) include_directories($
Definition: ui-enhanced-canny/CMakeLists.txt:1
EnhancedWindow(int x, int y, int width, int height, const cv::String &title, bool minimizable=true)
Definition: EnhancedWindow.h:32
#define WINDOW1_NAME
Definition: multiple-windows/main.cpp:60
Definition: trackbar.py:1
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) install(FILES ../../data/lena.jpg DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: mouse-complex/CMakeLists.txt:10
find_package(OpenCV REQUIRED) include_directories($
Definition: multiple-files/CMakeLists.txt:1
int main(int argc, const char *argv[])
Definition: row-column/main.cpp:32
#define WINDOW1_NAME
Definition: multiple-windows-complex/main.cpp:13
include_directories(../../..) set(ApplicationName mouse) add_executable($
Definition: mouse/CMakeLists.txt:3
include_directories(../../..) set(ApplicationName hello-world) add_executable($
Definition: hello-world/CMakeLists.txt:3
def main()
Definition: multiple-windows-complex-mouse.py:17
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: multiple-windows-complex/CMakeLists.txt:8
find_package(OpenCV REQUIRED) include_directories($
Definition: sparkline/CMakeLists.txt:1
cvui_mouse_t mouse
Definition: cvui.h:1234
const unsigned int KEY_NONE
Definition: cvui.h:1171
#define WINDOW_NAME
Definition: image-button/main.cpp:15
const unsigned int TRACKBAR_HIDE_SEGMENT_LABELS
Definition: cvui.h:1162
const unsigned int KEY_ARROW_LEFT
Definition: cvui.h:1172
include_directories(../../..) set(ApplicationName complex-layout) add_executable($
Definition: complext-layout/CMakeLists.txt:3
find_package(OpenCV REQUIRED) include_directories($
Definition: trackbar-complex/CMakeLists.txt:1
#define WINDOW_NAME
Definition: multiple-files/main.cpp:22
int main(int argc, const char *argv[])
Definition: mouse/main.cpp:18
#define WINDOW_NAME
Definition: main-app/main.cpp:15
#define WINDOW2_NAME
Definition: multiple-windows-complex/main.cpp:14
void setHeight(int h)
Definition: EnhancedWindow.h:92
__heightNotMinimized
Definition: EnhancedWindow.py:23
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: row-column/CMakeLists.txt:10
const int UP
Definition: cvui.h:1153
include_directories(../../..) set(ApplicationName headless) add_executable($
Definition: headless/CMakeLists.txt:3
int main(int argc, const char *argv[])
Definition: multiple-windows-complex/main.cpp:16
def main()
Definition: ui-enhanced-canny.py:29
find_package(OpenCV REQUIRED) include_directories($
Definition: row-column/CMakeLists.txt:1
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: ui-enhanced-window-component/CMakeLists.txt:8
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: multiple-windows-complex-mouse/CMakeLists.txt:10
find_package(OpenCV REQUIRED) include_directories($
Definition: canny/CMakeLists.txt:1
void compact(const cv::String &name)
Definition: multiple-windows/main.cpp:100
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: mouse/CMakeLists.txt:8
def group(frame, x, y, width, height)
Definition: complex-layout.py:19
const unsigned int TRACKBAR_HIDE_MIN_MAX_LABELS
Definition: cvui.h:1165
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: multiple-windows/CMakeLists.txt:8
main cpp target_link_libraries(${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $
Definition: on-image/CMakeLists.txt:8
int main(int argc, const char *argv[])
Definition: image-button/main.cpp:17
#define WINDOW_NAME
Definition: button-shortcut/main.cpp:14
int main(int argc, const char *argv[])
Definition: mouse-complex/main.cpp:19
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: multiple-windows-complex-dynamic/CMakeLists.txt:10
#define WINDOW_NAME
Definition: interaction-area/main.cpp:17
void update(const cv::String &theWindowName="")
Update the library internal things.
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) install(FILES ../../data/fruits.jpg DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: ui-enhanced-canny/CMakeLists.txt:10
bool pressed
Definition: cvui.h:1211
#define WINDOW_NAME
Definition: complext-layout/main.cpp:20
void group(cv::Mat &frame, int x, int y, int width, int height)
Definition: complext-layout/main.cpp:22
PROPERTY CXX_STANDARD install(TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $
Definition: mouse/CMakeLists.txt:10