MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / ShowSplashWindow

Method ShowSplashWindow

LuaSTGPlus/SplashWindow.cpp:154–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void SplashWindow::ShowSplashWindow(Gdiplus::Image* bkImage)LNOEXCEPT
155{
156 struct Wrapper {
157 static void ThreadJob(SplashWindow* p)
158 {
159 p->threadJob();
160 }
161 };
162
163 if (!m_SplashWindowThread)
164 {
165 if (bkImage)
166 m_bkImage = bkImage->Clone();
167 else
168 m_bkImage = LoadImageFromResource(IDB_SPLASH, L"PNG");
169
170 if (m_bkImage)
171 m_SplashWindowThread = make_unique<std::thread>(Wrapper::ThreadJob, this);
172 }
173}
174
175void SplashWindow::HideSplashWindow()LNOEXCEPT
176{

Callers 1

AppFrame.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected