Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 969 vs 970 for /trunk/Source Code/Core/Headers/WindowManager.h

Diff revisions: vs.
  @@ -33,16 +33,26 @@
33 33 #define _CORE_WINDOW_MANAGER_H_
34 34
35 35 #include "Platform/Headers/DisplayWindow.h"
36 + #include "Utility/Headers/Colours.h"
36 37
37 38 namespace Divide {
38 39
39 40 enum class RenderAPI : U32;
40 41
41 42 struct WindowDescriptor {
43 + enum class Flags : U8 {
44 + FULLSCREEN = toBit(1),
45 + DECORATED = toBit(2),
46 + RESIZEABLE = toBit(3),
47 + HIDDEN = toBit(4),
48 + ALLOW_HIGH_DPI = toBit(5)
49 + };
50 +
42 51 U32 targetDisplay = 0;
43 52 stringImpl title;
44 53 vec2<U16> dimensions;
45 - bool fullscreen = false;
54 + vec4<F32> clearColour = DefaultColours::DIVIDE_BLUE;
55 + U32 flags = to_base(Flags::DECORATED) | to_base(Flags::RESIZEABLE) | to_base(Flags::ALLOW_HIGH_DPI);
46 56 };
47 57
48 58 class PlatformContext;