@kv  0.0.4
Library for graph problems in C and Python
display.h
1 
18 #if !defined(AT_GUI_H_INSIDE)
19 #error "Only <at/gui.h> can be included directly."
20 #endif
21 #ifndef AT_DISPLAY_H
22 #define AT_DISPLAY_H
23 #include <at/core.h>
24 #include <at/gui.h>
25 AT_BEGIN_DECLS
26 /*=============================================================================
27  PUBLIC STRUCTURES
28  ============================================================================*/
29 
30 
31 /*=============================================================================
32  PUBLIC API
33  ============================================================================*/
40 const char*
41 at_display_show_image(AtImageWindow* window, AtArrayU8* image);
48 AtImageWindow*
49 at_display_show_image_by_name(const char* name, AtArrayU8* image);
54 AtKey
55 at_display_wait_key();
61 AtKey
62 at_display_wait_key_until(uint32_t miliseconds);
68 AtImageWindow*
69 at_display_imagewindow(const char* name);
70 
77 void
78 at_display_set_mouse_callback(AtImageWindow* window, AtMouseCallback mouse_callback, void* user_data);
79 
88 AtTrackbar*
89 at_display_add_trackbar(AtImageWindow* window, const char* trackname, double *variable, double vmin, double vmax);
95 void
96 at_display_remove_trackbar(AtImageWindow* window, const char* trackname);
97 
98 AT_END_DECLS
99 #endif