Interface IModalRefreshSource
- Namespace
- ItTiger.TigerCli.Tui.Abstractions
- Assembly
- ItTiger.TigerCli.dll
Implemented by a dialog that has time-driven content (periodic overlays). The semi-interactive modal
loop calls AdvanceAnimations(DateTime) once per iteration on its own render thread and re-renders
only when it returns
true. The shell owns the loop and timing; the dialog owns which tickers
exist and whether any of them changed.public interface IModalRefreshSource
Methods
AdvanceAnimations(DateTime)
Advances every active periodic overlay to
nowUtc and returns true when
at least one changed its visible output, so the modal loop should re-render. Returns false
when there is nothing animated or nothing changed, so an idle dialog never re-renders merely
because time passed.bool AdvanceAnimations(DateTime nowUtc)
Parameters
nowUtcDateTime