aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/graphics.cpp
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/graphics.cpp
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/graphics.cpp')
-rw-r--r--backends/sdl/graphics.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index 0c9e603220..09040f5c63 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -45,6 +45,10 @@ const OSystem::GraphicsMode *OSystem_SDL::getSupportedGraphicsModes() const {
return s_supportedGraphicsModes;
}
+int OSystem_SDL::getDefaultGraphicsMode() const {
+ return GFX_DOUBLESIZE;
+}
+
bool OSystem_SDL::setGraphicsMode(int mode) {
Common::StackLock lock(_graphicsMutex, this);
@@ -715,11 +719,11 @@ void OSystem_SDL::add_dirty_rgn_auto(const byte *buf) {
}
}
-int16 OSystem_SDL::get_height() {
+int16 OSystem_SDL::getHeight() {
return _screenHeight;
}
-int16 OSystem_SDL::get_width() {
+int16 OSystem_SDL::getWidth() {
return _screenWidth;
}