aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
authorMax Horn2004-02-28 12:58:13 +0000
committerMax Horn2004-02-28 12:58:13 +0000
commitc6752cccf5186fb04c97e2bb4a64c52fc9447073 (patch)
tree91f3f0264b1542a839cc3504b52603a8034547cb /backends/wince
parent56102a1d02925abbe9fc0504751de1a270a34ff3 (diff)
downloadscummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.tar.gz
scummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.tar.bz2
scummvm-rg350-c6752cccf5186fb04c97e2bb4a64c52fc9447073.zip
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/wince-sdl.cpp10
-rw-r--r--backends/wince/wince-sdl.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp
index 6fb88a4948..1789c56c3c 100644
--- a/backends/wince/wince-sdl.cpp
+++ b/backends/wince/wince-sdl.cpp
@@ -126,7 +126,7 @@ void OSystem_WINCE3::swap_panel_visibility() {
else
add_dirty_rect(0, 200, 320, 40);
- update_screen();
+ updateScreen();
}
}
@@ -606,7 +606,7 @@ void OSystem_WINCE3::hotswap_gfx_mode() {
SDL_FreeSurface(old_tmpscreen);
// Blit everything to the screen
- update_screen();
+ updateScreen();
// Make sure that an EVENT_SCREEN_CHANGED gets sent later
_modeChanged = true;
@@ -623,7 +623,7 @@ void OSystem_WINCE3::update_keyboard() {
}
}
-void OSystem_WINCE3::update_screen() {
+void OSystem_WINCE3::updateScreen() {
assert(_hwscreen != NULL);
Common::StackLock lock(_graphicsMutex, this); // Lock the mutex until this function ends
@@ -1254,7 +1254,7 @@ bool OSystem_WINCE3::poll_event(Event *event) {
if (_toolbarHandler.action(temp_event.mouse.x, temp_event.mouse.y, true)) {
if (!_toolbarHandler.drawn())
- update_screen();
+ updateScreen();
if (_newOrientation != _orientationLandscape) {
_orientationLandscape = _newOrientation;
ConfMan.set("CE_landscape", _orientationLandscape);
@@ -1281,7 +1281,7 @@ bool OSystem_WINCE3::poll_event(Event *event) {
if (_toolbarHandler.action(temp_event.mouse.x, temp_event.mouse.y, false)) {
if (!_toolbarHandler.drawn())
- update_screen();
+ updateScreen();
}
else {
if (!_freeLook)
diff --git a/backends/wince/wince-sdl.h b/backends/wince/wince-sdl.h
index a8e131f5cd..c11761e582 100644
--- a/backends/wince/wince-sdl.h
+++ b/backends/wince/wince-sdl.h
@@ -41,7 +41,7 @@ public:
OSystem_WINCE3();
// Update the dirty areas of the screen
- void update_screen();
+ void updateScreen();
// Set a parameter
uint32 property(int param, Property *value);