diff TODO @ 3563:d3a8bb6a37c1

Added notes from e-mail on desktop window implementation
author Sam Lantinga <slouken@libsdl.org>
date Tue, 15 Dec 2009 02:16:01 +0000
parents 59ab35254459
children b7c6828d4039
line wrap: on
line diff
--- a/TODO	Tue Dec 15 00:00:30 2009 +0000
+++ b/TODO	Tue Dec 15 02:16:01 2009 +0000
@@ -31,6 +31,17 @@
  * Create extended set of (negative) error codes and have the API functions document and return them.
  * Add clipboard support (from scrap demo)
  * Add support for desktop windows?
+	With Qt, I can do this by the codes as follows:
+
+	setAttribute(Qt::WA_X11NetWmWindowTypeDesktop); 
+	setWindowFlags(Qt::SplashScreen);               
+
+	Qt::WindowFlags flags = 0;
+	    flags |= Qt::FramelessWindowHint;
+	    flags |= Qt::Tool;                          
+	    flags |= Qt::WindowStaysOnBottomHint;
+
+	    setWindowFlags(flags);
  * Add support for synchronizing 2D updates with vblank (bug #406)
  * Add support for real-time threads and/or adjusting thread priority?
  * Add support for querying the number of CPUs and binding threads to them?