sdl: Add QEMU mascot icon for use with SDL
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am 23.04.2012 22:11, schrieb Stefan Weil:
Quoted 17 lines
Am 13.04.2012 22:24, schrieb Stefan Weil:
Quoted 16 lines
This is a bitmap file (32x32x4) derived from the official QEMU mascot (which was designed by Benoît Canet). I stripped the text from the SVG to get a nearly square image and converted the result to BMP without any manual optimization.
The bitmap is currently used by QEMU's SDL interface and replaces the default X icon.
v2: Add qemu-icon.bmp to
Makefile.Signed-off-by Stefan Weil <[email protected]>---
Makefile| 1 +
pc-bios/qemu-icon.bmp | Bin 0 -> 630 bytes2 files changed, 1 insertions(+), 0 deletions(-)create mode 100644 pc-bios/qemu-icon.bmp
[...]
Quoted 2 lines
I'm a bit surprised that there was no reaction on this patch (neither on version 1 nor on version 2).
It looks kind of ugly in GNOME3, where it is scaled up to some other resolution in the top bar. IIRC Windows 7 uses 64x64 max, Mac OS X 128x128 max, GNOME 48x48(?).
When we add icons for Gtk+ and Cocoa we might also want to rename the file to indicate size and/or purpose (e.g., qemu-sdl-icon.bmp / qemu-32x32-icon.bmp).
For Windows, wouldn't it be a better idea to use the multi-resolution .ico format through version.rc and to avoid the generic SDL icon being used? Don't see that being set up in this patch - #ifdef it out there?
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Am 01.05.2012 13:19, schrieb Andreas Färber:
Quoted 4 lines
Am 23.04.2012 22:11, schrieb Stefan Weil:
Quoted 2 lines
Am 13.04.2012 22:24, schrieb Stefan Weil:
Quoted 1 line
This is a bitmap file (32x32x4) derived from the official QEMU mascot (which was designed by Benoît Canet). I stripped the text from the SVG to get a nearly square image and converted the result to BMP without any manual optimization. The bitmap is currently used by QEMU's SDL interface and replaces the default X icon. v2: Add qemu-icon.bmp to
Makefile. Signed-off-by: Stefan Weil <[email protected]> ---Makefile| 1 + pc-bios/qemu-icon.bmp | Bin 0 -> 630 bytes 2 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 pc-bios/qemu-icon.bmpIt looks kind of ugly in GNOME3, where it is scaled up to some other resolution in the top bar. IIRC Windows 7 uses 64x64 max, Mac OS X 128x128 max, GNOME 48x48(?). When we add icons for Gtk+ and Cocoa we might also want to rename the file to indicate size and/or purpose (e.g., qemu-sdl-icon.bmp / qemu-32x32-icon.bmp). For Windows, wouldn't it be a better idea to use the multi-resolution .ico format through version.rc and to avoid the generic SDL icon being used? Don't see that being set up in this patch - #ifdef it out there? Andreas
Yes, there are other formats for the different hosts which look better and which are standard for the respective operating systems, but they also need special code and / or linker intructions.
As far as I know, SDL supports only 32x32x4 bitmaps, so this icon is the best possible format which works on any host with SDL.
I always wanted to have a QEMU specific icon for the QEMU executables (any host) and for the installer (w32/w64 only). That's why I wrote the SDL icon code and added this patch here. IMHO, improving the icon can be done when QEMU has an adequate GUI.
Stefan