Added notes from e-mail on desktop window implementation
authorSam Lantinga <slouken@libsdl.org>
Tue, 15 Dec 2009 02:16:01 +0000
changeset 3563d3a8bb6a37c1
parent 3562 59ab35254459
child 3564 d264d99576c1
Added notes from e-mail on desktop window implementation
TODO
     1.1 --- a/TODO	Tue Dec 15 00:00:30 2009 +0000
     1.2 +++ b/TODO	Tue Dec 15 02:16:01 2009 +0000
     1.3 @@ -31,6 +31,17 @@
     1.4   * Create extended set of (negative) error codes and have the API functions document and return them.
     1.5   * Add clipboard support (from scrap demo)
     1.6   * Add support for desktop windows?
     1.7 +	With Qt, I can do this by the codes as follows:
     1.8 +
     1.9 +	setAttribute(Qt::WA_X11NetWmWindowTypeDesktop); 
    1.10 +	setWindowFlags(Qt::SplashScreen);               
    1.11 +
    1.12 +	Qt::WindowFlags flags = 0;
    1.13 +	    flags |= Qt::FramelessWindowHint;
    1.14 +	    flags |= Qt::Tool;                          
    1.15 +	    flags |= Qt::WindowStaysOnBottomHint;
    1.16 +
    1.17 +	    setWindowFlags(flags);
    1.18   * Add support for synchronizing 2D updates with vblank (bug #406)
    1.19   * Add support for real-time threads and/or adjusting thread priority?
    1.20   * Add support for querying the number of CPUs and binding threads to them?