aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.h
diff options
context:
space:
mode:
authorMax Horn2004-03-15 00:45:45 +0000
committerMax Horn2004-03-15 00:45:45 +0000
commite46ba2f29ff20a317e708d15dc5be904cdf005eb (patch)
tree994a9ccd5999a054ba285d2c63e549df03036b27 /backends/sdl/sdl-common.h
parentb585b9ac4b2772ed7cddb12cc4435b40f0ddf21f (diff)
downloadscummvm-rg350-e46ba2f29ff20a317e708d15dc5be904cdf005eb.tar.gz
scummvm-rg350-e46ba2f29ff20a317e708d15dc5be904cdf005eb.tar.bz2
scummvm-rg350-e46ba2f29ff20a317e708d15dc5be904cdf005eb.zip
Added OSystem::getDefaultGraphicsMode(); renamed OSystem::get_height() and get_width() to getHeight and getWidth(); augmented some doxygen comments in common/system.h
svn-id: r13284
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r--backends/sdl/sdl-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index c82ddb17c2..18ad04aabf 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -116,8 +116,8 @@ public:
virtual void clear_overlay();
virtual void grab_overlay(OverlayColor *buf, int pitch);
virtual void copy_rect_overlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h);
- virtual int16 get_height();
- virtual int16 get_width();
+ virtual int16 getHeight();
+ virtual int16 getWidth();
// Methods that convert RGB to/from colors suitable for the overlay.
virtual OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b);
@@ -125,6 +125,7 @@ public:
virtual const GraphicsMode *getSupportedGraphicsModes() const;
+ virtual int getDefaultGraphicsMode() const;
virtual bool setGraphicsMode(int mode);
virtual int getGraphicsMode() const;