@kv  0.0.4
Library for graph problems in C and Python
imagewindow.h
1 
18 #if !defined(AT_GUI_H_INSIDE)
19 #error "Only <at/gui.h> can be included directly."
20 #endif
21 #ifndef AT_IMAGEWINDOW_H
22 #define AT_IMAGEWINDOW_H
23 #include <at/gui.h>
24 AT_BEGIN_DECLS
25 /*=============================================================================
26  STRUCTURE
27  ============================================================================*/
28 #define AT_TYPE_IMAGEWINDOW at_imagewindow_get_type()
29 G_DECLARE_DERIVABLE_TYPE(AtImageWindow, at_imagewindow, AT, IMAGEWINDOW, GtkWindow)
31 typedef struct _AtImageWindowClass{
32  GtkWindowClass parent_class;
33 }AtImageWindowClass;
35 /*=============================================================================
36  PUBLIC API
37  ============================================================================*/
42 AtImageWindow*
43 at_imagewindow_new();
49 void
50 at_imagewindow_set(AtImageWindow* window, AtArrayU8* array);
57 void
58 at_imagewindow_set_mouse_callback(AtImageWindow* window,
59  AtMouseCallback mouse_callback,
60  void* user_data);
61 
62 
63 AtTrackbar*
64 at_imagewindow_add_trackbar(AtImageWindow *window, const char *trackname, double *variable, double vmin, double vmax);
65 
66 void
67 at_imagewindow_remove_trackbar(AtImageWindow *window, const char *trackname);
68 
69 AT_END_DECLS
70 #endif