Add bogus stabs for fullscreen window mode for BGE in GHOST. Platform maintainers should change these to replicate X11 behaviour. Also moved X11 implementation to public methods, just like the IWindow interface. Should fix compilation

This commit is contained in:
Antony Riakiotakis 2013-02-24 13:51:12 +00:00
parent 92a77d3f0b
commit 610017d0e8
4 changed files with 17 additions and 6 deletions

@ -220,6 +220,11 @@ public:
{
return m_tablet;
}
GHOST_TSuccess beginFullScreen() const {};
GHOST_TSuccess endFullScreen() const {};
protected:
/**
* Tries to install a rendering context in this window.

@ -266,6 +266,10 @@ public:
virtual void setNativePixelSize(void);
GHOST_TSuccess beginFullScreen() const {};
GHOST_TSuccess endFullScreen() const {};
protected:
/**

@ -276,6 +276,10 @@ public:
void processWin32TabletEvent(WPARAM wParam, LPARAM lParam);
void bringTabletContextToFront();
GHOST_TSuccess beginFullScreen() const {};
GHOST_TSuccess endFullScreen() const {};
protected:
GHOST_TSuccess initMultisample(PIXELFORMATDESCRIPTOR pfd);

@ -231,6 +231,10 @@ public:
bool m_post_init;
GHOST_TWindowState m_post_state;
GHOST_TSuccess beginFullScreen() const;
GHOST_TSuccess endFullScreen() const;
protected:
/**
* Tries to install a rendering context in this window.
@ -309,12 +313,6 @@ protected:
int bg_color
);
GHOST_TSuccess
beginFullScreen() const;
GHOST_TSuccess
endFullScreen() const;
private:
/// Force use of public constructor.