Move dx interface into graphics module.
This commit is contained in:
parent
672b31b603
commit
4bb87de0e6
23 changed files with 130 additions and 64 deletions
|
@ -4,17 +4,17 @@
|
|||
#include <Windows.h>
|
||||
|
||||
class Win32ApplicationContext;
|
||||
class Win32DxInterface;
|
||||
class Win32DxWindowInterface;
|
||||
class DesktopManager;
|
||||
class DirectXInterface;
|
||||
|
||||
class Win32Window : public IPlatformWindow
|
||||
{
|
||||
public:
|
||||
Win32Window(mt::Window* window, Win32DxInterface* dxInterface = nullptr);
|
||||
Win32Window(mt::Window* window, DirectXInterface* dxInterface = nullptr);
|
||||
virtual ~Win32Window() = default;
|
||||
|
||||
static std::unique_ptr<Win32Window> Create(mt::Window* window, Win32DxInterface* dxInterface = nullptr);
|
||||
static std::unique_ptr<Win32Window> Create(mt::Window* window, DirectXInterface* dxInterface = nullptr);
|
||||
|
||||
LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue