defaults( frame_size(800 600) focus_window( 50 50 42 42 36 36 32 32) motion_blur_speed(120) text_font("Monospaced", BOLD, 30) text_foreground(0 160 0) ) component( "Component 1" block( display( text_line("A simple line of text" font("Serif", ITALIC, 40) foreground(255 0 0) ) ) ) block( background(255 128 0) display( button("Button Label" foreground(0 0 255) background(255 255 0) ) ) ) block( display( image("equation.gif") ) ) block( display( stimulus("pulley_d.gif" "pulley_c.gif" "pulley_b.gif" "pulley_a.gif" "pulley_focus.gif") ) ) ) component( "Component 2" block( display( v_space() text_line("Another line of text") v_space(20) image("equation.gif") v_space() row( button("First Button") h_space(100) button("Second Button") ) v_space() ) ) block( display( v_space() row( text_line("Some text") h_space(50) column( button("Button 1") v_space(20) button("The Second Button") ) ) v_space() row( image("pulley_focus.gif") h_space(50) column( button("Button 3") v_space() button("Button Number 4") v_space() ) ) v_space() ) ) ) component( "Component 3" block( time_limit(5000) display( text_line("Rome was built in a day.") v_space(80) row( button("TRUE") h_space(100) button("FALSE") ) ) feedback( "TRUE" display( text_line("Incorrect" foreground(255 0 0) ) text_line("Rome wasn't built in a day!" font("SansSerif" PLAIN 20) ) ) ) feedback( "FALSE" display( text_line("Correct") response_time() ) ) feedback( TIME_LIMIT_EXPIRED display( text_line("Sorry - the time limit expired") ) ) ) )