add d3d9 project structure
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include <Windows.h>
|
||||
|
||||
class Window
|
||||
{
|
||||
public:
|
||||
INT init(HINSTANCE hInstance, UINT width, UINT height);
|
||||
BOOL run();
|
||||
void deInit();
|
||||
|
||||
HWND getWindowHandle() const { return _hWnd; }
|
||||
|
||||
private:
|
||||
HWND _hWnd = nullptr; // handle to window instance
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user