aboutsummaryrefslogtreecommitdiff
path: root/backends/vkeybd
AgeCommit message (Collapse)Author
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
2009-06-06Virtual Keyboard: Add 320*240 support (in addition to 640*480) to the ↵John Willis
default keyboard pack. Also tweak vkeybd.xml to make it a little more like valid XML). New graphics still to come so excuse the ugly keyboard images for now. svn-id: r41303
2009-06-06Virtual Keyboard: 'Ab'use the console font to get a font small enough to be ↵John Willis
usable on 320*240 virtual keyboards for display_area (GUI and BigGUI take up far too much space). svn-id: r41300
2009-06-06Virtual Keyboard: Fix detection of v_align option when used in the keyboard ↵John Willis
definition. svn-id: r41232
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-11Fix bug #2595364: "Virtual Keyboard: number keys not working"Eugene Sandulenko
svn-id: r40462
2009-01-23Changed Graphics::ImageDecoder to allow custom PixelFormatsMax Horn
svn-id: r36026
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-21Fixed vkbd drawing and GUI drawing on screen change while vkbd is shown.Johannes Schickel
svn-id: r35979
2009-01-20some code cleanupMax Horn
svn-id: r35966
2009-01-20Moved Surface::blit to backends/vkeybd/virtual-keyboard-gui.cppMax Horn
svn-id: r35965
2009-01-20Removed ImageMan again, now the code uses Graphics::ImageDecoder directly.Johannes Schickel
svn-id: r35960
2009-01-20Some formatting.Johannes Schickel
svn-id: r35959
2009-01-20fixed vkeybd.zip loadingAndre Heider
svn-id: r35957
2009-01-20protect all vkeybd code with ENABLE_VKEYBDAndre Heider
svn-id: r35956