aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/sdl-common.h8
-rw-r--r--common/system.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 5a92840040..51bde1c457 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -144,10 +144,10 @@ public:
virtual int16 getWidth();
virtual int16 getOverlayHeight() { return _overlayHeight; }
virtual int16 getOverlayWidth() { return _overlayWidth; }
- virtual int ScreenToOverlayX(int x) { return x * _overlayScale; }
- virtual int ScreenToOverlayY(int y) { return y * _overlayScale; }
- virtual int OverlayToScreenX(int x) { return x / _overlayScale; }
- virtual int OverlayToScreenY(int y) { return y / _overlayScale; }
+ virtual int screenToOverlayX(int x) { return x * _overlayScale; }
+ virtual int screenToOverlayY(int y) { return y * _overlayScale; }
+ virtual int overlayToScreenX(int x) { return x / _overlayScale; }
+ virtual int overlayToScreenY(int y) { return y / _overlayScale; }
// Methods that convert RGB to/from colors suitable for the overlay.
virtual OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b);
diff --git a/common/system.h b/common/system.h
index 0c66f77334..6ae8a659a4 100644
--- a/common/system.h
+++ b/common/system.h
@@ -327,10 +327,10 @@ public:
virtual void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h) = 0;
virtual int16 getOverlayHeight() { return getHeight(); }
virtual int16 getOverlayWidth() { return getWidth(); }
- virtual int ScreenToOverlayX(int x) { return x; }
- virtual int ScreenToOverlayY(int y) { return y; }
- virtual int OverlayToScreenX(int x) { return x; }
- virtual int OverlayToScreenY(int y) { return y; }
+ virtual int screenToOverlayX(int x) { return x; }
+ virtual int screenToOverlayY(int y) { return y; }
+ virtual int overlayToScreenX(int x) { return x; }
+ virtual int overlayToScreenY(int y) { return y; }
/**
* Convert the given RGB triplet into an OverlayColor. A OverlayColor can