Fix windows compilation.
This commit is contained in:
parent
b45385e8c7
commit
b17ba8b3a7
23 changed files with 85 additions and 53 deletions
|
@ -9,10 +9,10 @@ class DesktopManager;
|
|||
class Win32Window : public IPlatformWindow
|
||||
{
|
||||
public:
|
||||
Win32Window();
|
||||
Win32Window(mt::Window* window);
|
||||
virtual ~Win32Window() = default;
|
||||
|
||||
static std::unique_ptr<Win32Window> Create();
|
||||
static std::unique_ptr<Win32Window> Create(mt::Window* window);
|
||||
|
||||
LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
|
@ -35,6 +35,24 @@ public:
|
|||
|
||||
void CreateNative(Win32ApplicationContext* context, DesktopManager* desktopManager);
|
||||
|
||||
void show() {};
|
||||
|
||||
void map() {};
|
||||
|
||||
void clear() {};
|
||||
|
||||
void onResize(unsigned width, unsigned height) {};
|
||||
|
||||
void beforePaint(mt::Screen* screen)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void afterPaint(mt::Screen* screen)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private:
|
||||
HWND mHandle{ 0 };
|
||||
int mCmdShow{ 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue