1
0
Fork 0

Platform/Unix/X11Display: Adding stub for enterFullscreen and exitFullscreen

This commit is contained in:
Henrik Hautakoski 2022-10-02 23:31:46 +02:00
parent 84f0a83bee
commit 0a5eb397c7
2 changed files with 14 additions and 0 deletions

View file

@ -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());

View file

@ -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);