From 0a5eb397c7003f82248161a7262ba6a09a9e3f2e Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 2 Oct 2022 23:31:46 +0200 Subject: [PATCH] Platform/Unix/X11Display: Adding stub for enterFullscreen and exitFullscreen --- source/Platform/Unix/X11Display.cpp | 10 ++++++++++ source/Platform/Unix/X11Display.h | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/source/Platform/Unix/X11Display.cpp b/source/Platform/Unix/X11Display.cpp index b481019..bb3be61 100644 --- a/source/Platform/Unix/X11Display.cpp +++ b/source/Platform/Unix/X11Display.cpp @@ -221,6 +221,16 @@ void X11Display::maximize() SubstructureNotifyMask, (XEvent*) &ev); } +void X11Display::enterFullscreen(DisplayMode mode) +{ + +} + +void X11Display::exitFullscreen() +{ + +} + void X11Display::setCaption(const std::string& caption) { ::XStoreName(Xlib::getDisplay(), m_win, caption.c_str()); diff --git a/source/Platform/Unix/X11Display.h b/source/Platform/Unix/X11Display.h index b2bdeb3..ae2d327 100644 --- a/source/Platform/Unix/X11Display.h +++ b/source/Platform/Unix/X11Display.h @@ -44,6 +44,10 @@ public : virtual void maximize(); + virtual void enterFullscreen(DisplayMode mode); + + virtual void exitFullscreen(); + virtual void setCaption(const std::string& caption); virtual void setIcon(unsigned int width, unsigned int height, const uint8_t *pixels);