aboutsummaryrefslogtreecommitdiff
path: root/backends/vkeybd
AgeCommit message (Collapse)Author
2017-11-19EVENTS: Rename synthetic to kbdRepeatBastien Bouclet
2014-04-27VKEYBD: Add small keyboard pack for virtual keyboard.D G Turner
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-22VKEYBD: Remove noisy warnings and clarify messages.D G Turner
2014-02-28IMAGE: Move all ImageDecoders to image/Matthew Hoops
2014-02-18VKEYBD: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-16VKEYBD: Make code agnostic of OverlayColor.Johannes Schickel
This removes the use of OverlayColor in vkeybd and supports both 16 and 32bit overlays.
2013-08-06VKEYBD: Do not access Surface::pixels anymore.Johannes Schickel
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-03-20GRAPHICS: Rewrite ImageDecoder to have an improved APIMatthew Hoops
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-01-03VKEYBD: Fix cursor palette.Johannes Schickel
2012-01-03VKEYBD: Slight cleanup.Johannes Schickel
2012-01-03VKEYBD: Properly error out parsing if an area is defined again.Johannes Schickel
Formerly the code did never check whether ImageMap::createArea returned a valid pointer and always just assumed so.
2012-01-03VKEYBD: Slight cleanup in ImageMap code.Johannes Schickel
2012-01-03VKEYBD: Some formatting fixes.Johannes Schickel
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-23AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with mallocJulien
2011-06-06VKEYBD: Adjust to recent XML parser changesMax Horn
2011-05-31BUILD: Compile more files only when necessaryMax Horn
2011-05-16VKEYBD: Update vkeybd_default.zipMax Horn
Specifically, in vkeybd_default.xml, 'centre' changed to 'center'.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03BACKENDS: Change printf -> debug in vkeybd codeMax Horn
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28BACKENDS: Fix compilation on ports using Virtual Keyboard.D G Turner
2011-04-29JANITORIAL: Yet another attempt at fixing compilationOri Avtalion
2011-04-17BACKENDS: Adapt various backends code to set up Surface::format correctly.Johannes Schickel
Note that this change is not tested at all (not even compile wise!).
2011-04-17BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-04-14ALL: centre -> centerMax Horn
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
2010-11-28VKEYBD: Ensure stream destructor is properly calledMax Horn
svn-id: r54562
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-10-15COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::StringMax Horn
Almost all places where we used XMLParser::parseIntegerKey were using it like this: XMLParser::parseIntegerKey(str.c_str(), ...) Since this makes the code harder to read, I overloaded the method to also accept Commmon::String directly. Also removed all .c_str() invocations where necessary. svn-id: r53479
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-06-29enable reading ZIP archives even without USE_ZLIBRobert Špalek
our module unzip.cpp can read uncompressed ZIP archives even without zlib. if some of the files inside are compressed and zlib is not linked in, an error is returned. svn-id: r50483
2010-03-20Add missing tokenizer.h include.Johannes Schickel
svn-id: r48326
2010-02-13Hide ZipArchive implementation, only expose it via factory functions: ↵Max Horn
makeZipArchive() svn-id: r48040
2010-01-25Fix virtual-keyboard not changing size, when the user changes the scaler ↵Johannes Schickel
while it is not visible. svn-id: r47544
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-22Silenced some more cppcheck warnings. Some of these may seem silly, but the wayTorbjörn Andersson
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
2010-01-12Fix some memory leaks.Johannes Schickel
svn-id: r47284
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2009-12-09Include font.h instead of fontman.h in places that don't need fontman :)Max Horn
svn-id: r46311
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-07-26Virtual Keyboard: Update default keyboard pack using slightly tweaked ↵John Willis
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-06-20split loadKeyboardPack(), fallback to the current dir when searching for ↵Andre Heider
packs, and free memory in the case of an error. svn-id: r41705
2009-06-08Virtual Keyboard: Add some quick changes to the virtual keyboard to activate ↵John Willis
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-08Virtual Keyboard: Fix slight error in earlier commit (failed to rename the ↵John Willis
XML to match the keyboard pack name). svn-id: r41376
2009-06-08Virtual Keyboard: Move vkeybd.zip into packs folder and rename default ↵John Willis
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-08Virtual Keyboard: Add source files for the default keyboard pack seperate ↵John Willis
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-08Virtual Keyboard: Fix default keyboard pack to return correct events for ↵John Willis
ENTER and !. svn-id: r41363