diff options
author | ThaMighty90 <30285364+ThaMighty90@users.noreply.github.com> | 2017-08-25 23:53:07 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-08-25 23:53:07 +0200 |
commit | 3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c (patch) | |
tree | fea4d815243451086ec4da459f3a310b02019437 /src/core/frontend/framebuffer_layout.h | |
parent | Merge pull request #2839 from Subv/global_kernel_lock (diff) | |
download | yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar.gz yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar.bz2 yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar.lz yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar.xz yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar.zst yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.zip |
Diffstat (limited to 'src/core/frontend/framebuffer_layout.h')
-rw-r--r-- | src/core/frontend/framebuffer_layout.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h index 9a7738969..4983cf103 100644 --- a/src/core/frontend/framebuffer_layout.h +++ b/src/core/frontend/framebuffer_layout.h @@ -54,6 +54,17 @@ FramebufferLayout SingleFrameLayout(unsigned width, unsigned height, bool is_swa FramebufferLayout LargeFrameLayout(unsigned width, unsigned height, bool is_swapped); /** +* Factory method for constructing a Frame with the Top screen and bottom +* screen side by side +* This is useful for devices with small screens, like the GPDWin +* @param width Window framebuffer width in pixels +* @param height Window framebuffer height in pixels +* @param is_swapped if true, the bottom screen will be the left display +* @return Newly created FramebufferLayout object with default screen regions initialized +*/ +FramebufferLayout SideFrameLayout(unsigned width, unsigned height, bool is_swapped); + +/** * Factory method for constructing a custom FramebufferLayout * @param width Window framebuffer width in pixels * @param height Window framebuffer height in pixels |