[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54813] trunk/blender/intern/ghost/intern: Add bogus stabs for fullscreen window mode for BGE in GHOST.

Antony Riakiotakis kalast at gmail.com
Sun Feb 24 14:51:13 CET 2013


Revision: 54813
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54813
Author:   psy-fi
Date:     2013-02-24 13:51:12 +0000 (Sun, 24 Feb 2013)
Log Message:
-----------
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

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_WindowCarbon.h
    trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.h
    trunk/blender/intern/ghost/intern/GHOST_WindowWin32.h
    trunk/blender/intern/ghost/intern/GHOST_WindowX11.h

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCarbon.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCarbon.h	2013-02-24 11:54:28 UTC (rev 54812)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCarbon.h	2013-02-24 13:51:12 UTC (rev 54813)
@@ -220,6 +220,11 @@
 	{
 		return m_tablet;
 	}
+	
+	GHOST_TSuccess beginFullScreen() const {};
+
+	GHOST_TSuccess endFullScreen() const {};
+
 protected:
 	/**
 	 * Tries to install a rendering context in this window.

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.h	2013-02-24 11:54:28 UTC (rev 54812)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.h	2013-02-24 13:51:12 UTC (rev 54813)
@@ -266,6 +266,10 @@
 	
 	virtual void setNativePixelSize(void);
 
+	GHOST_TSuccess beginFullScreen() const {};
+
+	GHOST_TSuccess endFullScreen() const {};
+
 	
 protected:
 	/**

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowWin32.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowWin32.h	2013-02-24 11:54:28 UTC (rev 54812)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowWin32.h	2013-02-24 13:51:12 UTC (rev 54813)
@@ -276,6 +276,10 @@
 	void processWin32TabletEvent(WPARAM wParam, LPARAM lParam);
 	void bringTabletContextToFront();
 
+	GHOST_TSuccess beginFullScreen() const {};
+
+	GHOST_TSuccess endFullScreen() const {};
+
 protected:
 	GHOST_TSuccess initMultisample(PIXELFORMATDESCRIPTOR pfd);
 

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowX11.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowX11.h	2013-02-24 11:54:28 UTC (rev 54812)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowX11.h	2013-02-24 13:51:12 UTC (rev 54813)
@@ -231,6 +231,10 @@
 	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 @@
 	    int bg_color
 	    );
 
-	GHOST_TSuccess
-	beginFullScreen() const;
-
-	GHOST_TSuccess
-	endFullScreen() const;
-
 private:
 
 	/// Force use of public constructor.




More information about the Bf-blender-cvs mailing list