void displayCallback() { Application* app = (Application*)Application::TheApplication; if (app) app->onDisplay(); }