1 #ifndef INCLUDE_WHERE_PEOPLE_LOOK_EXPERIMENT_H_ 
    2 #define INCLUDE_WHERE_PEOPLE_LOOK_EXPERIMENT_H_ 
   12 #include "where_people_look/config.h" 
   54   bool is_started = 
false;
 
   55   bool is_prepared = 
false;
 
   56   bool is_calibrating = 
false;
 
   59   int calibration_after = 50;
 
   60   int calibration_countdown = this->calibration_after;
 
   62   int pause_duration = 1000;
 
   63   int trial_duration = 3000;
 
   66   void init_gaze_tracker();
 
   68   void read_stimuli_list();
 
   70   static gboolean experiment_stop_trial(gpointer experiment);
 
   72   static gboolean experiment_start_trial(gpointer experiment);
 
  186                                  const GdkEventKey* 
const event_key,
 
  192 #endif  // INCLUDE_WHERE_PEOPLE_LOOK_EXPERIMENT_H_ 
Experiment(GtkImage *const image, Config *const config)
 
static gboolean experiment_trial(gpointer experiment)
 
static bool experiment_prepare(const GtkWidget *const assistant, Experiment *const experiment)
 
static bool experiment_start(const GtkWidget *const window, const GdkEventKey *const event_key, Experiment *const experiment)
 
Holds all configuration options for the experiment. 
 
Implements an experiment flow for Judd et al. (2009) . 
 
static gboolean experiment_calibrate(gpointer experiment)
 
static gboolean experiment_quit_program(gpointer experiment)