static void gui_window_start_throbber(struct gui_window *w) { if (w == NULL) return; toolbar_set_throbber_state(w->root->toolbar, true); atari_schedule(1000, throbber_advance, w ); rendering = true; }
void gui_window_stop_throbber(struct gui_window *w) { if (w == NULL) return; if (w->root->toolbar->throbber.running == false) return; schedule_remove(throbber_advance, w); toolbar_set_throbber_state(w->root->toolbar, false); rendering = false; }