mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-10 17:38:10 +00:00
[idd] helper: implement basic config class
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
class CWindow {
|
||||
static LRESULT CALLBACK wndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
protected:
|
||||
virtual LRESULT onCreate();
|
||||
virtual LRESULT onClose();
|
||||
virtual LRESULT onDestroy();
|
||||
virtual LRESULT onFinal();
|
||||
|
||||
protected:
|
||||
static HINSTANCE hInstance;
|
||||
static void populateWindowClass(WNDCLASSEX &wx);
|
||||
|
||||
@@ -24,4 +25,5 @@ public:
|
||||
void destroy();
|
||||
|
||||
HWND hwnd() { return m_hwnd; }
|
||||
operator HWND() { return m_hwnd; }
|
||||
};
|
||||
|
Reference in New Issue
Block a user