aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/statusba.h
diff options
context:
space:
mode:
authoryinsimei2017-07-11 14:57:31 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit800987ab95c4faa5532d735a85516fd09f5de724 (patch)
treedf71c20322ddfd8b441fa120face21663ea9e164 /engines/sludge/statusba.h
parent19ff9f419baae348b153c45c2857a7cccb33f725 (diff)
downloadscummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.tar.gz
scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.tar.bz2
scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.zip
SLUDGE: replace char *by Common::String
Diffstat (limited to 'engines/sludge/statusba.h')
-rw-r--r--engines/sludge/statusba.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/sludge/statusba.h b/engines/sludge/statusba.h
index b6c0c7822f..65895f3b4a 100644
--- a/engines/sludge/statusba.h
+++ b/engines/sludge/statusba.h
@@ -22,10 +22,12 @@
#ifndef SLUDGE_STATUSBA_H
#define SLUDGE_STATUSBA_H
+#include "common/str.h"
+
namespace Sludge {
struct statusBar {
- char *text;
+ Common::String text;
statusBar *next;
};
@@ -40,14 +42,14 @@ struct statusStuff {
void initStatusBar();
-void setStatusBar(char *txt);
+void setStatusBar(Common::String &txt);
void clearStatusBar();
void addStatusBar();
void killLastStatus();
void statusBarColour(byte r, byte g, byte b);
void statusBarLitColour(byte r, byte g, byte b);
void setLitStatus(int i);
-const char *statusBarText();
+const Common::String &statusBarText();
void positionStatus(int, int);
void drawStatusBar();