aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/sdl
AgeCommit message (Collapse)Author
2011-02-24SDL: Add a debug focus rect implementation.Johannes Schickel
This implementation currently draws a rect frame around the focus rect area.
2011-02-24SDL: Move focus rectangle dummy implementations to .cpp file.Johannes Schickel
2011-02-14SDL: Adapt SDL graphics module to the setPalette/grabPalette RGBA->RGB change.Johannes Schickel
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-11-29SDL: Slight formatting fix.Johannes Schickel
svn-id: r54583
2010-11-29BACKENDS: Close Memory Leak of Mouse Surfaces in SDL Graphics BackendDavid Turner
svn-id: r54579
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
2010-11-29SDL: Move #include <SDL.h> into a special wrapper fileMax Horn
svn-id: r54572
2010-11-28SDL: re-enable unicode after graphics initWillem Jan Palenstijn
svn-id: r54531
2010-11-28Merging the gsoc2010-opengl branchMax Horn
svn-id: r54518
2010-10-23DINGUX: fix compilation for the opengl branchFabio Battaglia
Moved events related code to backends/events/dinguxsdl/* and move graphics related code to backends/graphics/dinguxsdl/* Subclass OSystem_POSIX instead of OSystem_SDL svn-id: r53730
2010-10-13OPENGL: Get rid of one ugly cast.Johannes Schickel
svn-id: r53435
2010-10-13OPENGL: Replace SdlEventManager by SdlEventSource.Johannes Schickel
Formerly SdlEventManager was a subclass of DefaultEventManager but did not really have anything in common with the idea of our EventManager interface. Now I made a new object SdlEventSource which only subclasses EventSource and which is responsible for obtaining events from SDL (and processing them). svn-id: r53433
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-03SDL/OPENGL: Fix backend initialization when building with ENABLE_VKEYBD.Alejandro Marzini
svn-id: r52503
2010-08-12SDL: Make use of SDL_BACKEND instead of platform specific defines.Alejandro Marzini
svn-id: r52029
2010-08-05OPENGL: Improve aspect ratio correction mode selection.Alejandro Marzini
svn-id: r51752
2010-08-01SYMBIAN platform. Correct building of SDL refacturing for Symbian.Lars Persson
svn-id: r51587
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-30SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers.Alejandro Marzini
OSystem_SDL will create a merged list of all graphics modes from SDL and OpenGL. When the user changes the graphics mode in options and restarts ScummVM should switch to that graphics mode in the corresponding graphics manager. svn-id: r51493
2010-07-30OSYSTEM: Add resetGraphicsScale() method.Alejandro Marzini
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager. svn-id: r51492
2010-07-27OPENGL: Implement aspect ratio support and toggling. Improve fullscreen ↵Alejandro Marzini
switching. Fix cursor scaling bug. Now the hotkey Ctrl-Alt-Enter will switch between all available fullscreen modes. Alt-Enter will only switch to the best mode available, and exit fullscreen mode if already on it. The different aspect ratios can be switched with Ctrl-Alt-A. The normal mode will stretch the contents to the screen, while other modes will stretch only one dimension to the screen size, and maintain the aspect ratio for the other dimension. svn-id: r51346
2010-07-26Formatted spaces.Alejandro Marzini
svn-id: r51300
2010-07-26OPENGL: Add OSD message.Alejandro Marzini
svn-id: r51295
2010-07-19SDL: Hack to handle special SDL events.Alejandro Marzini
svn-id: r51015
2010-07-16Added basic cursor drawing.Alejandro Marzini
svn-id: r50954
2010-07-15Fixed doing OpenGL calls before a graphical context was created.Alejandro Marzini
svn-id: r50905
2010-07-15Silence gcc warnings.Matthew Hoops
svn-id: r50902
2010-07-15Replaced the extra SDL functions added to GraphicsManager with an ↵Alejandro Marzini
EventObserver in SdlGraphicsManager. svn-id: r50900
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-11Fix compile on Mac OS X.Matthew Hoops
svn-id: r50801
2010-07-11Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public ↵Alejandro Marzini
SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions. svn-id: r50796
2010-07-10Added BaseSdlGraphicsManager. Added GLTexture. Alejandro Marzini
svn-id: r50795
2010-07-05Cleanup and documentation.Alejandro Marzini
svn-id: r50667
2010-06-30Modularized GP2XWIZ backend.Alejandro Marzini
svn-id: r50514
2010-06-16Fixed some disabled code that was with problems after modularization.Alejandro Marzini
svn-id: r49899
2010-06-15Renamed abstract Manager files.Alejandro Marzini
svn-id: r49677
2010-06-11Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now ↵Alejandro Marzini
subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged. svn-id: r49590
2010-06-11Added missing virtual functions in abstract class GraphicsManager.Alejandro Marzini
svn-id: r49589
2010-06-09Added directives for avoiding compilation of sdl managers on platforms that ↵Alejandro Marzini
don't use them (Other platforms may also need to be added later) svn-id: r49531
2010-06-08Renamed and moved DefaultGraphicsManager to NullGraphicsManager. Added pure ↵Alejandro Marzini
virtual class GraphicsManager. svn-id: r49528
2010-06-08Merged from trunk.Alejandro Marzini
svn-id: r49499
2010-06-07Added constructor, destructor. Made some variables and methods public. ↵Alejandro Marzini
Removed toggleMouseGrab (now in events). Added feature methods. Fixed missing code for displayMessageOnOSD. svn-id: r49472
2010-06-05Created SdlGraphicsManager.Alejandro Marzini
svn-id: r49444