aboutsummaryrefslogtreecommitdiff
path: root/gui/debugger.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-08-29 18:08:52 +0200
committerTorbjörn Andersson2015-08-29 18:08:52 +0200
commit7f4268dc3dcf2cc6a34c605a7ddbd69d8740526e (patch)
tree6225bdd5f4d097fb377828c55ea3495c439acc06 /gui/debugger.h
parent2ab0b71fd04d817740826c28ce29b9945176b684 (diff)
downloadscummvm-rg350-7f4268dc3dcf2cc6a34c605a7ddbd69d8740526e.tar.gz
scummvm-rg350-7f4268dc3dcf2cc6a34c605a7ddbd69d8740526e.tar.bz2
scummvm-rg350-7f4268dc3dcf2cc6a34c605a7ddbd69d8740526e.zip
DEBUGGER: Add function for printing a StringArray in columns
Diffstat (limited to 'gui/debugger.h')
-rw-r--r--gui/debugger.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/debugger.h b/gui/debugger.h
index ef6f900974..bc9306c1de 100644
--- a/gui/debugger.h
+++ b/gui/debugger.h
@@ -28,6 +28,7 @@
#include "common/hashmap.h"
#include "common/hash-str.h"
#include "common/array.h"
+#include "common/str-array.h"
namespace GUI {
@@ -40,8 +41,12 @@ public:
Debugger();
virtual ~Debugger();
+ int getCharsPerLine();
+
int debugPrintf(const char *format, ...) GCC_PRINTF(2, 3);
+ void debugPrintColumns(const Common::StringArray &list);
+
/**
* The onFrame() method should be invoked by the engine at regular
* intervals (usually once per main loop iteration) whenever the