Mercurial > sdl-ios-xcode
view README.Epoc @ 1558:b46bb79cc197
Fixed bug #113:
Date: Sat, 16 Apr 2005 08:39:22 +1000
From: "Eric Mangold"
Subject: [SDL] Window manager does not show SDL window titles
Hello,
I have an issue with SDL-using applications and the sawfish window manager.
The problem is that SDL windows do not show the window caption. My gnome
panel *does* show the window name, but the actual sawfish window frame
shows no caption at all. All other non-SDL applications that I use work
fine.
I tried a couple other window managers, and they *were* able to show the
SDL window captions correctly. Though there many be other WMs that can't.
I believe the problem is that SDL is using the UTF8_STRING type for the
window's WM_NAME and WM_ICON properties. In fact, WM_NAME and WM_ICON are
supposed to set to a TEXT type, usually STRING (ISO 8859-1).
The property names _NET_WM_NAME and _NET_WM_ICON_NAME should be used to
store the UTF8_STRING versions of the window title and icon name.
You can see the properties I refer to with a command like this:
xprop|grep -e "WM.*NAME"
Please note the freedesktop.org standard:
http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2506954
This page talks a little bit about the history of these properties. Just
search down the page for "WM_NAME".
http://www.cl.cam.ac.uk/~mgk25/unicode.html
Please let me know if I can be of any assistance in resolving this issue.
Thanks,
Eric Mangold
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 20 Mar 2006 07:31:36 +0000 |
parents | 74a8f672f2f8 |
children |
line wrap: on
line source
============================================================================== Using the Simple DirectMedia Layer with EPOC/SymbianOS 6.0 ============================================================================== ============================================================================== I. Building the Simple DirectMedia Layer libraries: You can get Symbian SDK from: http://www.symbian.com. First create "Epoc" directory under SDL main directory and unpack EpocBuildFiles.zip in it. To build the librarys goto "epoc" directory and type: bldmake bldfiles abld makefile vc6 (for creating Microsoft Visual C++ makefiles) abld build wins udeb (building for wins emulator) abld build armi urel (building for real device) ============================================================================== II. Building the Simple DirectMedia Layer programs: Building SDL test programs is easy once you have built the libraries: abld test build wins udeb abld test build armi urel Supported real screen resolutions 320 x 200 x 8 bit 320 x 200 x 12 bit 640 x 200 x 8 bit 640 x 200 x 12 bit Supported "emulated" screen resolutions 640 x 400 x 8 bit 640 x 400 x 12 bit 640 x 480 x 8 bit 640 x 480 x 12 bit "Emulated" resolutions are implemented by by shrinking the screen vertically i.e. only every second scanline is drawn. This is mainly ment to be used for testing quick ports of programs. Using faked resolutions is a waste of memory and cpu power! ============================================================================== III. Running test programs Copy executable to the device and run it from the File manager. The Esc key quits demo programs. In Crystal, Exe programs do not appear in task list nor in Extras :-(. Test programs are tested in Nokia 9210 Communicator. Special keys used in SDL: The Caps lock key enables or disables the virtual cursor. Function keys are mapped as follows: F1=chr+q, F2=chr+w,..., F8=chr+i, F9=chr+a,..., F12=chr+d. ============================================================================== IV. Enjoy! :) If you have a project you'd like me to know about, or want to ask questions, go ahead and join the SDL developer's mailing list by sending e-mail to: sdl-request@libsdl.org and put "subscribe" into the subject of the message. Or alternatively you can use the web interface: http://www.libsdl.org/mailman/listinfo/sdl You can find more info about Epoc version of SDL from Hannu Viitala's homepage http://www.mbnet.fi/~haviital ==============================================================================