diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-02-13 23:13:23 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-02-13 23:13:23 -0500 |
| commit | 22f58cca5e0be7a40c8c8fbebe3d45fb68dfcf10 (patch) | |
| tree | cd026822fec8db0b27fa7bed40d4c152d4c918c2 /src/core/frontend/framebuffer_layout.h | |
| parent | 27e19f87c63437db641b736429ac3503160f21ae (diff) | |
Use enumeration instead of magic numbers
Diffstat (limited to 'src/core/frontend/framebuffer_layout.h')
| -rw-r--r-- | src/core/frontend/framebuffer_layout.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h index d2370adde..948c140ac 100644 --- a/src/core/frontend/framebuffer_layout.h +++ b/src/core/frontend/framebuffer_layout.h @@ -18,6 +18,12 @@ enum ScreenDocked : u32 { HeightDocked = 1080, }; +enum class Aspect { + AspectDefault, + Aspect21by9, + AspectStretch, +}; + /// Describes the layout of the window framebuffer struct FramebufferLayout { u32 width{ScreenUndocked::Width}; |
