From db04a493f21026dc2f9537451c4802963c3c75e7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga <slouken@libsdl.org> Date: Tue, 15 Dec 2009 02:16:01 +0000 Subject: [PATCH] Added notes from e-mail on desktop window implementation --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404312 --- TODO | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/TODO b/TODO index 61d32a5e..7af22e3a 100644 --- a/TODO +++ b/TODO @@ -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? -- 2.18.1