+ ui_fill( cusor, ui_colour( k_ui_bg+7 ) );
+
+ /* latest state marker */
+ if( replay->statehead ){
+ f64 t = (replay->statehead->time - start) / len;
+ ui_rect tag = { t*(f64)vg.window_x, bar[1]-8, 2, bar[3]+8 };
+ ui_fill( tag, ui_colour( k_ui_green+k_ui_brighter ) );
+ }
+
+ /* previous state marker */
+ replay_frame *prev = replay_find_recent_stateframe( replay );
+ if( prev ){
+ f64 t = (prev->time - start) / len;
+ ui_rect tag = { t*(f64)vg.window_x, bar[1]-8, 2, bar[3]+8 };
+ ui_fill( tag, ui_colour( k_ui_yellow+k_ui_brighter ) );
+ }