aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/graphics.cpp')
-rw-r--r--engines/lab/graphics.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/lab/graphics.cpp b/engines/lab/graphics.cpp
index 23e587c047..c8d23e97ce 100644
--- a/engines/lab/graphics.cpp
+++ b/engines/lab/graphics.cpp
@@ -37,6 +37,7 @@
#include "lab/mouse.h"
#include "lab/vga.h"
#include "lab/text.h"
+#include "lab/resource.h"
namespace Lab {
@@ -366,6 +367,9 @@ int32 longDrawMessage(const char *str) {
+void drawStaticMessage(byte index) {
+ drawMessage(g_resource->getStaticText((StaticText)index).c_str());
+}
/******************************************************************************/
/* Draws a message to the message box. */