Manages the overall UI state, including navigation between pages, calibration setup, and display updates.
The UI pages in the demo.
The calibration popup.
The test image popup.
The main scene template.
Enum representing the currently active page.
Indicates if the calibration file exists.
Switches to the specified page.
PageType pageType: The page to switch to.
PageType pageType
Updates the UI state based on the number of connected displays.
Loads the calibration file if it exists, or navigates to the calibration page if it does not.
Allows users to pick a calibration file (iOS only).
bool goNextWhenDone: Whether to move to the last page after loading.
bool goNextWhenDone