aboutsummaryrefslogtreecommitdiff
path: root/backends/base-backend.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-03 17:44:26 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit7ff1f918084b8d41826ad869d8c9865e1d53e082 (patch)
treef9c876b13ae01a9c523ba059bed66c036ab343b9 /backends/base-backend.cpp
parent1c823b6c1d465bd894f7f37a963165ee009f35ea (diff)
downloadscummvm-rg350-7ff1f918084b8d41826ad869d8c9865e1d53e082.tar.gz
scummvm-rg350-7ff1f918084b8d41826ad869d8c9865e1d53e082.tar.bz2
scummvm-rg350-7ff1f918084b8d41826ad869d8c9865e1d53e082.zip
GUI: Add copyRectToOSD()
I was lazy to implement that in OpenGLGraphicsManager and I'm not sure it's implemented correctly in SurfaceSdlGraphicsManager, but it works for me.
Diffstat (limited to 'backends/base-backend.cpp')
-rw-r--r--backends/base-backend.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/base-backend.cpp b/backends/base-backend.cpp
index 3e95c3e26a..cf6fdfc877 100644
--- a/backends/base-backend.cpp
+++ b/backends/base-backend.cpp
@@ -39,6 +39,10 @@ void BaseBackend::displayMessageOnOSD(const char *msg) {
dialog.runModal();
}
+void BaseBackend::copyRectToOSD(const void *buf, int pitch, int x, int y, int w, int h) {
+ warning("BaseBackend::copyRectToOSD not implemented"); //TODO
+}
+
void BaseBackend::initBackend() {
// Init Event manager
#ifndef DISABLE_DEFAULT_EVENT_MANAGER