// Example of an RFV Version 2.1 Input File. defaults ( frame_size(1024, 768) focus_window( 50 50 44 44 40 40 36 36) motion_blur_speed(200) text_font("Monospaced" plain 20) ) component( "Fonts", block( display( v_space(), text_line("Serif (Plain)", font("Serif", plain, 16)), text_line("Serif (Bold)", font("Serif", bold, 16)), text_line("Serif (Italic)", font("Serif", italic, 16)), text_line("Serif (Bold Italic)" font("Serif" bold_italic 16)) text_line("SansSerif (Plain)" font("SansSerif" plain 16)) text_line("SansSerif (Bold)" font("SansSerif" bold 16)) text_line("SansSerif (Italic)" font("SansSerif" italic 16)) text_line("SansSerif (Bold Italic)" font("SansSerif" bold_italic 16)) text_line("Dialog (Plain)" font("Dialog" plain 16)) text_line("Dialog (Bold)" font("Dialog" bold 16)) text_line("Dialog (Italic)" font("Dialog" italic 16)) text_line("Dialog (Bold Italic)" font("Dialog" bold_italic 16)) text_line("DialogInput (Plain)" font("DialogInput" plain 16)) text_line("DialogInput (Bold)" font("DialogInput" bold 16)) text_line("DialogInput (Italic)" font("DialogInput" italic 16)) text_line("DialogInput (Bold Italic)" font("DialogInput" bold_italic 16)) text_line("Monospaced (Plain)" font("Monospaced" plain 16)) text_line("Monospaced (Bold)" font("Monospaced" bold 16)) text_line("Monospaced (Italic)" font("Monospaced" italic 16)) text_line("Monospaced (Bold Italic)" font("Monospaced" bold_italic 16)) v_space() ) ) ) component( "Feedback Example" block( display( v_space() row( h_space() image("equation.gif") h_space(100) column( button("Button 1" font("SanSerif" bold_italic 30)) v_space() button("Button 2" foreground(0 0 255) background(255 255 0)) ) h_space() ) v_space() text_line("Some text in red" foreground(255 0 0)) v_space() ) feedback( "Button 1" time_limit(1500 strict) display( text_line("Button 1 was pressed") row( text_line("Response time: ") response_time() ) ) ) feedback( "Button 2" time_limit(1500 strict) display( text_line("Button 2 was pressed") row( text_line("Response time: ") response_time() ) ) ) ) ) component( "Multiple Stimulus" block( display( v_space() text_line("Multiple Stimulus Example") text_line("Click mouse button when ready") v_space() ) ) block( display( v_space() row( h_space() stimulus( "statement_d.gif" "statement_c.gif" "statement_b.gif" "statement_a.gif" "statement_focus.gif") stimulus( "pulley_d.gif" "pulley_c.gif" "pulley_b.gif" "pulley_a.gif" "pulley_focus.gif") h_space() ) v_space(50) row( h_space() text_line("Determine if the statement is") h_space(20) button("True") h_space(20) text_line("or") h_space(20) button("False") h_space() ) v_space() ) ) ) component( "Time Limit" block( time_limit(5000 strict) background(255 255 0) display( text_line("This block will be present for 5 seconds") text_line("regardless of whether the mouse button is clicked") ) ) block( time_limit(5000) display( text_line("This block will be present for 5 seconds") text_line("unless the mouse button is clicked") ) ) ) component( "Offsets" block( display( text_line("When reading English text, people tend to ") text_line("take in more characters to the right of their ") text_line("current eye fixation, than to the left. ") text_line("FOCUS_WINDOW_OFFSETS can be used to simulate this.") v_space(50) stimulus( "statement_d.gif" "statement_c.gif" "statement_b.gif" "statement_a.gif" "statement_focus.gif" focus_window( 130 50 100 44 70 40 40 36 focus_window_offsets( 33 0 22 0 11 0 0 0) ) ) ) ) )