summaryrefslogtreecommitdiffstats
path: root/src/common/emu_window.h
diff options
context:
space:
mode:
authorKevin Hartman <kevin@hart.mn>2014-08-30 07:23:12 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-11-18 13:06:05 +0100
commit221a9b023d8c9ca55c093823e9efd6d13d0a54a2 (patch)
tree57a26a0e11416b366688d00c4a2c9216fa0cde78 /src/common/emu_window.h
parentAdd a GUI logging channel. (diff)
downloadyuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar
yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.gz
yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.bz2
yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.lz
yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.xz
yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.zst
yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.zip
Diffstat (limited to 'src/common/emu_window.h')
-rw-r--r--src/common/emu_window.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index 6c2b598f6..ba9d4fa76 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -49,8 +49,11 @@ public:
void SetConfig(const WindowConfig& val) {
m_config = val;
}
-
- int GetClientAreaWidth() const {
+
+ /// Gets the size of the window in pixels
+ virtual void GetFramebufferSize(int* fbWidth, int* fbHeight) = 0;
+
+ int GetClientAreaWidth() const {
return m_client_area_width;
}