Platform window enable/disable border support

This commit is contained in:
Dr. Chat
2015-07-21 22:13:06 -05:00
parent 9fcbd60e9b
commit c6e6894d9d
3 changed files with 29 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ class Win32Window : public Window {
bool is_fullscreen() const override;
void ToggleFullscreen(bool fullscreen) override;
bool is_bordered() const override;
void SetBordered(bool enabled) override;
void set_cursor_visible(bool value) override;
void set_focus(bool value) override;
@@ -65,6 +68,7 @@ class Win32Window : public Window {
HWND hwnd_ = nullptr;
bool closing_ = false;
bool fullscreen_ = false;
WINDOWPLACEMENT windowed_pos_;
};