Commit Graph

9 Commits

Author SHA1 Message Date
D G Turner
23c2481d10 VKEYBD: Add small keyboard pack for virtual keyboard.
This pack contains just the 320x240 layout.

This is a quick way to achieve the result of a smaller keyboard
when running on 640x480 and larger games as requested bu a user.

To use this, the pack zip file, vkeybd_small.zip should be placed
in the extrapath in the same way as vkeybd_default.zip.

However, it is also necessary to set this as the active virtual
keyboard layout by adding the following linein the global [scummvm]
section of the configuration file i.e. scummvm.ini:
vkeybd_pack_name=vkeybd_small

This should be added to the GUI as a misc option, in future.

Currently, the closest layout size to the overlay size is chosen
automatically by the code in the method:
bool VirtualKeyboardParser::parserCallback_mode(ParserNode *node)

This should probably also be made configurable in future to allow
smaller keyboard sizes to be chosen.
2014-04-27 03:51:19 +01:00
Max Horn
343237e68a VKEYBD: Update vkeybd_default.zip
Specifically, in vkeybd_default.xml, 'centre' changed to 'center'.
2011-05-16 00:35:49 +02:00
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
John Willis
3fb1b79018 Virtual Keyboard: Update default keyboard pack using slightly tweaked versions of the graphics very kindly provided by Carl Mitchell. Also update xml file to make best use of the keyboard graphics and add the 'delete' event in addition the passing backspace back to the calling textarea.
svn-id: r42807
2009-07-26 12:58:22 +00:00
John Willis
8b1a6b1b6d Virtual Keyboard: Add some quick changes to the virtual keyboard to activate submit and cancel events from the default lowercase keyboards. This makes it possible to cancel and submit without having to call Common::KEYCODE_F7 again. Sorry for the nasty (temp) graphics.
svn-id: r41385
2009-06-08 20:31:49 +00:00
John Willis
2c55c49534 Virtual Keyboard: Fix slight error in earlier commit (failed to rename the XML to match the keyboard pack name).
svn-id: r41376
2009-06-08 15:45:03 +00:00
John Willis
e78edd8ef6 Virtual Keyboard: Move vkeybd.zip into packs folder and rename default keyboard pack to vkeybd_default(.zip) with updates to default-events.cpp. Also update vkeybdpack.py to use zlib compression if Python zlib is found. Update GP2X and GP2XWiz bundle files to get new vkeybd_default.zip.
svn-id: r41373
2009-06-08 14:47:38 +00:00
John Willis
4ff5a39f75 Virtual Keyboard: Add source files for the default keyboard pack seperate from ZIP archive (makes it easier to version the packs vkeybd.xml and track fixes) and add script to build keyboard pack(s) ZIP's from source files (based on /gui/themes/scummtheme.py).
svn-id: r41366
2009-06-08 09:10:12 +00:00