summaryrefslogtreecommitdiffstats
path: root/tools/platform/window.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-03-10 10:58:15 -0800
committerGitHub <noreply@github.com>2021-03-10 10:58:15 -0800
commit6ef4054f8a8aea4ec61481057fa7e16aaecde6d7 (patch)
tree66edcae112faff7276c2595865463698bde277fd /tools/platform/window.h
parent2765861cdc104e6104a31cf9e20800b8d1dfae26 (diff)
Swapchain resize and rename to `IDevice` (#1741)
* Swapchain resize * Fix.
Diffstat (limited to 'tools/platform/window.h')
-rw-r--r--tools/platform/window.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/platform/window.h b/tools/platform/window.h
index c776c3ffa..e4a867f0b 100644
--- a/tools/platform/window.h
+++ b/tools/platform/window.h
@@ -146,11 +146,17 @@ struct Rect
int width, height;
};
+enum class WindowStyle
+{
+ Default, FixedSize,
+};
+
struct WindowDesc
{
char const* title = nullptr;
int width = 0;
int height = 0;
+ WindowStyle style = WindowStyle::Default;
};
class Window : public Slang::RefObject