comparison 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
comparison
equal deleted inserted replaced
3562:59ab35254459 3563:d3a8bb6a37c1
29 * Add video modes that have an alpha channel? 29 * Add video modes that have an alpha channel?
30 * Implement SDL_RenderReadPixels() for screenshots and automated testing 30 * Implement SDL_RenderReadPixels() for screenshots and automated testing
31 * Create extended set of (negative) error codes and have the API functions document and return them. 31 * Create extended set of (negative) error codes and have the API functions document and return them.
32 * Add clipboard support (from scrap demo) 32 * Add clipboard support (from scrap demo)
33 * Add support for desktop windows? 33 * Add support for desktop windows?
34 With Qt, I can do this by the codes as follows:
35
36 setAttribute(Qt::WA_X11NetWmWindowTypeDesktop);
37 setWindowFlags(Qt::SplashScreen);
38
39 Qt::WindowFlags flags = 0;
40 flags |= Qt::FramelessWindowHint;
41 flags |= Qt::Tool;
42 flags |= Qt::WindowStaysOnBottomHint;
43
44 setWindowFlags(flags);
34 * Add support for synchronizing 2D updates with vblank (bug #406) 45 * Add support for synchronizing 2D updates with vblank (bug #406)
35 * Add support for real-time threads and/or adjusting thread priority? 46 * Add support for real-time threads and/or adjusting thread priority?
36 * Add support for querying the number of CPUs and binding threads to them? 47 * Add support for querying the number of CPUs and binding threads to them?
37 * Allow setting multiple icon sizes 48 * Allow setting multiple icon sizes
38 49