13 #include "gaze/gaze.h"
16 #include "where_people_look/config.h"
17 #include "where_people_look/experiment.h"
18 #include "where_people_look/gui_cb.h"
21 int main(
int argc,
char** argv) {
23 gtk_init(&argc, &argv);
25 GtkBuilder* builder = gtk_builder_new_from_resource(
"/wpl/where_people_look.ui");
26 GtkWidget* window = GTK_WIDGET(gtk_builder_get_object(builder,
"MainWindow"));
27 GtkWidget* image = GTK_WIDGET(gtk_builder_get_object(builder,
"Stimulus"));
32 wpl::gui::set_css_style(window,
"/wpl/where_people_look.css");
33 wpl::gui::register_and_connect_callbacks(builder, experiment);
Holds all configuration options for the experiment.
Implements an experiment flow for Judd et al. (2009) .