gaze  0.1.0
Perform gaze tracking with common webcams.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
gui_cb.h
1 #ifndef INCLUDE_WHERE_PEOPLE_LOOK_GUI_CB_H_
2 #define INCLUDE_WHERE_PEOPLE_LOOK_GUI_CB_H_
3 
4 #include "gtk/gtk.h"
5 
6 #include "where_people_look/experiment.h"
7 
8 
9 namespace wpl {
10 
11 namespace gui {
12 
13 bool cb_finish_assistant(const GtkWidget* assistant,
14  const GtkWidget* window);
15 
16 bool cb_key_press(const GtkWidget* widget,
17  const GdkEventKey* event_key);
18 
19 bool cb_update_config(GtkWidget* const widget,
20  Experiment* const experiment);
21 
22 void register_and_connect_callbacks(GtkBuilder* const builder,
23  Experiment* const experiment);
24 
25 void set_css_style(GtkWidget* const window,
26  const char* const css_resource);
27 
28 } // namespace gui
29 
30 } // namespace wpl
31 
32 #endif // INCLUDE_WHERE_PEOPLE_LOOK_GUI_CB_H_