aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/selection.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-09 18:51:06 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit3c2fd3e74f9a205109ab9b57c5af893011560452 (patch)
tree30717566ba0cff9d97a6285feb4cbe15d9a93310 /engines/gargoyle/selection.h
parentc4bcb0882f6e8f7fba5c89b9a561bb91fb662f1a (diff)
downloadscummvm-rg350-3c2fd3e74f9a205109ab9b57c5af893011560452.tar.gz
scummvm-rg350-3c2fd3e74f9a205109ab9b57c5af893011560452.tar.bz2
scummvm-rg350-3c2fd3e74f9a205109ab9b57c5af893011560452.zip
GLK: Add copying to clipboard
Diffstat (limited to 'engines/gargoyle/selection.h')
-rw-r--r--engines/gargoyle/selection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/gargoyle/selection.h b/engines/gargoyle/selection.h
index bc56319256..2d3a208ee4 100644
--- a/engines/gargoyle/selection.h
+++ b/engines/gargoyle/selection.h
@@ -27,6 +27,7 @@
#include "gargoyle/utils.h"
#include "common/array.h"
#include "common/rect.h"
+#include "common/ustr.h"
namespace Gargoyle {
@@ -39,13 +40,13 @@ class Window;
*/
class Clipboard {
private:
- Common::Array<uint32> _text;
+ Common::U32String _text;
public:
/**
* Makes a copy of selected text in preparation for the user copying it
* to the clpboard
*/
- void clipboardStore(const uint32 *text, size_t len);
+ void clipboardStore(const Common::U32String &text);
/**
* Send previously designated text to the clipboard