[Scummvm-devel] Virtual keyboard code from GSoC 2008

Marcus Comstedt marcus at mc.pp.se
Tue Jan 20 23:06:01 CET 2009


Max Horn <max at quendi.de> writes:

> For the desktop, we could certainly use fancier keyboard maps,
> matching the looks of our themes. The advantage of the attached ones
> is that they compress really well, esp. the black and white version.
> The fact that we only support uncompressed 24bit BMPs is actually
> annoying here; as a bitmap BMP, it takes up only 5104 bytes, as 24bit
> BMP it needs 40896 bytes.

If you render the keyboard with the builtin font, you don't need
any BMP at all, and the result should look simiar to your example.
I use this method for the virtual keyboard in the DC port.
Or is that too simple a solution?  :-)


  // Marcus






More information about the Scummvm-devel mailing list