* Dispatch OnRealtimeTick event over all windows */
| 3086 | * Dispatch OnRealtimeTick event over all windows |
| 3087 | */ |
| 3088 | void CallWindowRealtimeTickEvent(uint delta_ms) |
| 3089 | { |
| 3090 | _realtime_tick_start = std::chrono::steady_clock::now(); |
| 3091 | for (Window *w : Window::Iterate()) { |
| 3092 | w->OnRealtimeTick(delta_ms); |
| 3093 | } |
| 3094 | } |
| 3095 | |
| 3096 | /** Update various of window-related information on a regular interval. */ |
| 3097 | static const IntervalTimer<TimerWindow> window_interval(std::chrono::milliseconds(30), [](auto) { |
no test coverage detected