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

Class SplashWindow

LuaSTGPlus/SplashWindow.h:10–35  ·  view source on GitHub ↗

@brief ���봰��

Source from the content-addressed store, hash-verified

8{
9 /// @brief ���봰��
10 class SplashWindow
11 {
12 public:
13 static Gdiplus::Image* LoadImageFromMemory(fcData data, size_t len);
14 static Gdiplus::Image* LoadImageFromResource(UINT nID, LPCTSTR sTR);
15 private:
16 static LRESULT WINAPI WndProc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
17 private:
18 std::unique_ptr<std::thread> m_SplashWindowThread;
19
20 HWND m_hHandle;
21 Gdiplus::Image* m_bkImage = nullptr;
22 private:
23 void createWindow();
24 void threadJob();
25 public:
26 void ShowSplashWindow(Gdiplus::Image* bkImage=nullptr)LNOEXCEPT;
27 void HideSplashWindow()LNOEXCEPT;
28 protected:
29 SplashWindow& operator=(const SplashWindow&);
30 SplashWindow(const SplashWindow&);
31 SplashWindow(SplashWindow&&);
32 public:
33 SplashWindow();
34 ~SplashWindow();
35 };
36}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected