summaryrefslogtreecommitdiffstats
path: root/src/Rml.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-06-16 22:56:25 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-16 22:56:25 +0200
commit94b3b6b32bc8b996c9689fb89a381cf216353641 (patch)
tree460eaf04e64e0f31bfb8cea2d6b71737ac4a1861 /src/Rml.hpp
parentImproved RmlUi integration (diff)
downloadAltCraft-94b3b6b32bc8b996c9689fb89a381cf216353641.tar
AltCraft-94b3b6b32bc8b996c9689fb89a381cf216353641.tar.gz
AltCraft-94b3b6b32bc8b996c9689fb89a381cf216353641.tar.bz2
AltCraft-94b3b6b32bc8b996c9689fb89a381cf216353641.tar.lz
AltCraft-94b3b6b32bc8b996c9689fb89a381cf216353641.tar.xz
AltCraft-94b3b6b32bc8b996c9689fb89a381cf216353641.tar.zst
AltCraft-94b3b6b32bc8b996c9689fb89a381cf216353641.zip
Diffstat (limited to 'src/Rml.hpp')
-rw-r--r--src/Rml.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Rml.hpp b/src/Rml.hpp
index 5815c3e..7b312c0 100644
--- a/src/Rml.hpp
+++ b/src/Rml.hpp
@@ -7,17 +7,21 @@
class RmlSystemInterface : public Rml::SystemInterface {
double totalTime;
-
public:
virtual double GetElapsedTime() override;
virtual bool LogMessage(Rml::Log::Type type, const Rml::String& message) override;
+ virtual void SetClipboardText(const Rml::String& text) override;
+
+ virtual void GetClipboardText(Rml::String& text) override;
+
inline void Update(double timeToUpdate) {
totalTime += timeToUpdate;
}
+ std::string clipboard;
};
class RmlRenderInterface : public Rml::RenderInterface {