aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/3ds/osystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/3ds/osystem.h')
-rw-r--r--backends/platform/3ds/osystem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/backends/platform/3ds/osystem.h b/backends/platform/3ds/osystem.h
index a1c67826a1..51aa40ae83 100644
--- a/backends/platform/3ds/osystem.h
+++ b/backends/platform/3ds/osystem.h
@@ -130,7 +130,7 @@ public:
int h);
virtual int16 getOverlayHeight();
virtual int16 getOverlayWidth();
- virtual void displayMessageOnOSD(const char *msg);
+ void displayMessageOnOSD(const char *msg) override;
void displayActivityIconOnOSD(const Graphics::Surface *icon) override;
bool showMouse(bool visible);
@@ -190,6 +190,12 @@ private:
Sprite _gameBottomTexture;
Sprite _overlay;
Sprite _activityIcon;
+ Sprite _osdMessage;
+
+ enum {
+ kOSDMessageDuration = 800
+ };
+ uint32 _osdMessageEndTime;
int _screenShakeOffset;
bool _overlayVisible;