From 7ff1f918084b8d41826ad869d8c9865e1d53e082 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Fri, 3 Jun 2016 17:44:26 +0600 Subject: 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. --- backends/base-backend.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/base-backend.cpp') 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 -- cgit v1.2.3