39 GLFWwindow* window_{
nullptr };
40 ImGuiContext* guiContext_{
nullptr };
42 std::atomic<bool> terminate_{
false };
45 virtual void afterStart_() {}
47 virtual void beforeStop_() {}
50 virtual void setup_()
const = 0;
52 virtual void postInit_() {}
54 virtual void positioning_(
float hdpiScale ) = 0;
56 virtual void reloadFont_(
float hdpiScale,
float pixelRatio ) = 0;
58 virtual bool frame_(
float scaling ) = 0;
60 virtual void preDestruct_() {}
62 virtual void postDestruct_() {}
73 virtual void setup_()
const override;
74 virtual void postInit_()
override;
75 virtual void positioning_(
float hdpiScale )
override;
76 virtual void reloadFont_(
float hdpiScale,
float pixelRatio )
override;
77 virtual bool frame_(
float scaling )
override;
78 virtual void preDestruct_()
override;
80 std::shared_ptr<ImGuiImage> splashImage_;
81 std::string versionStr_;
Definition MRSplashWindow.h:69
MRVIEWER_API DefaultSplashWindow()
Definition MRSplashWindow.h:19
virtual float minimumTimeSec() const
Definition MRSplashWindow.h:34
MRVIEWER_API SplashWindow(std::string name)
std::string name_
Definition MRSplashWindow.h:37
virtual MRVIEWER_API ~SplashWindow()
MRVIEWER_API void start()
Definition MRCameraOrientationPlugin.h:8