aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
AgeCommit message (Collapse)Author
2010-07-23SDL: Fix bug #3025258Eugene Sandulenko
Bug #3025258: "Cursor Leaves Trail in GUI when Screen is Shaking". Based on patch provided by eriktorbjorn but extended with another edge case. svn-id: r51212
2010-07-12Get rid of yet another global object with constructorMax Horn
svn-id: r50835
2010-07-12SDL: Tweak OSystem_SDL::detectSupportedFormats a bitMax Horn
Previously, the code in OSystem_SDL::detectSupportedFormats assumed that the arrays RGBList and BGRList had the exact same length, and that the entries in each mirrored those in the other 100%. Instead of relying on that, the code now simply iterates over both lists separately. This changes the resulting order a bit, but since we never gave any guarantees on that, this should not matter. svn-id: r50833
2010-07-12SDL: Overhaul OSystem_SDL::getSupportedFormatsMax Horn
* Do not use global constructor for the RGBList and BGRList tables anymore, by moving them inside a function. * Update the list of supported formats if the hardware screen surface changes. Previously, the list of supported pixel formats (and its order) was computed only once and then never changed. svn-id: r50832
2010-06-26Define WIN32_LEAN_AND_MEAN before including windows.h.Johannes Schickel
This will cause our code to include less functionality, but might on the other hand fasten up the compilation. svn-id: r50346
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
2010-06-16Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and ↵David Turner
derived backends. svn-id: r49902
2010-06-15SDL: only change mouse cursor, when mouse is currently within our window, ↵Martin Kiewitz
also enable mouse position changing again for SCI svn-id: r49866
2010-06-15SYSTEM: Unify OSystem::getSupportedFormats() signatureMax Horn
svn-id: r49838
2010-06-02OSYSTEM: Get rid of kFeatureAutoComputeDirtyRectsMax Horn
svn-id: r49388
2010-06-01Inline palettes in SDL backend into class OSystem_SDLMax Horn
svn-id: r49383
2010-05-29Removed some unused variables, found by cppcheck.Torbjörn Andersson
svn-id: r49306
2010-05-21SDL: Split quit() method into deinit() so error codes could be returned.Eugene Sandulenko
svn-id: r49131
2010-05-21Fix spellingEugene Sandulenko
svn-id: r49130
2010-05-10Revert r48979. Instead, make the HQ scalers depend on the normal ones. ↵Andre Heider
Configure reflects that now. svn-id: r48996
2010-05-09Since configure allows HQ scalers without the normal onces, allow this ↵Andre Heider
combination. svn-id: r48979
2010-05-09Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to ↵Andre Heider
configure. svn-id: r48977
2010-04-20abort() when calling setPalette() or grabPalette() in non CLUT8 modes.Andre Heider
svn-id: r48757
2010-04-04Commit of patch #2980597 "GSoC: GUI: Text input + Right Alt (bug #2978736)".Johannes Schickel
svn-id: r48524
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-11Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the ↵Max Horn
MixerImpl constructor svn-id: r48238
2010-03-10Remove last traces of OSystem::getOutputSampleRate()Max Horn
svn-id: r48229
2010-03-08Move some aspect ratio related stuff to graphics/scaler/aspect.hMax Horn
svn-id: r48186
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-01-25Fix sample buffer calculation. Now it really asks for a buffer of 2048 ↵Johannes Schickel
samples for 22050Hz, like the comment states. svn-id: r47558
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-07- Adapt documentation, that keycolor in setMouseCursor may not exceed the ↵Johannes Schickel
maximum color value of the specified format. - Change SDL backend to assert out on invalid keycolor values In case we really need a way to specify "no keycolor" we need to discuss on how to do it *properly*. svn-id: r47123
2009-12-19Silence some gcc 3.4.5 warnings.Matthew Hoops
svn-id: r46415
2009-12-04Prevent SDL backend from eating up keypress events with Ctrl+Alt set.Johannes Schickel
svn-id: r46259
2009-11-30Remove use_scaler defines around enum in order for graphics to compile properly.Lars Persson
svn-id: r46216
2009-11-18samsungtv: no need make surface conversion here any more, sdl do that with ↵Paweł Kołodziejski
internal emulation svn-id: r45971
2009-11-15samsungtv: no need anymore exception for broken SDL_ShowCursorPaweł Kołodziejski
svn-id: r45931
2009-11-15Make _mouseKeyColor a uint32 when USE_RGB_COLOR is defined to fix key color ↵Matthew Hoops
with some cursors when using a >8bpp cursor. svn-id: r45929
2009-11-15Made Alt-s (screenshot) work again.Torbjörn Andersson
svn-id: r45921
2009-11-14samsungtv: continue reduction of code duplicationPaweł Kołodziejski
svn-id: r45900
2009-11-11added more cases for samsungtv to allow reuse main sdl codePaweł Kołodziejski
svn-id: r45835
2009-11-11Remove (now) obsolete HACK for WIN32.Johannes Schickel
svn-id: r45832
2009-11-11samsungtv: move DEFAULT_CONFIG_FILE into main sdl code to prevent code ↵Paweł Kołodziejski
duplication svn-id: r45831
2009-11-10SDL: cleanupMax Horn
svn-id: r45817
2009-11-10Add an ugly HACK to fix bug #2895217 "MSVC compilation broken with r47595".Johannes Schickel
svn-id: r45815
2009-11-10Fix for bug #2895217 "MSVC compilation broken with r47595".Johannes Schickel
svn-id: r45814
2009-11-10Move Symbian main implementation from main.cpp to SymbianOS.cppLars Persson
svn-id: r45802
2009-11-10SDL: Remove const from new handle*() method for now, to allow using remapKey ↵Max Horn
(ultimately, the goal is to get back the const by changing how remapping works) svn-id: r45797
2009-11-09Revert rev 45791 and make the first param of OSystem_SDL::remapKey again ↵Max Horn
non-const (as it may have to be modified for remapping. Of course. Silly me :/) svn-id: r45796
2009-11-09SDL: Separate Symbian specific main() from standard SDL main() -- to be ↵Max Horn
moved into a separate file svn-id: r45795
2009-11-09IndentionMax Horn
svn-id: r45793
2009-11-09SDL: Factor code from OSystem_SDL::pollEvent into various new virtual ↵Max Horn
methods, to make it easier to customize these (no code indention changes for easier diffing) svn-id: r45792
2009-11-09SDL: Make first param of OSystem_SDL::remapKey constMax Horn
svn-id: r45791
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616