diff options
author | LaG1924 <lag1924@gmail.com> | 2021-06-16 22:56:25 +0200 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-06-16 22:56:25 +0200 |
commit | 94b3b6b32bc8b996c9689fb89a381cf216353641 (patch) | |
tree | 460eaf04e64e0f31bfb8cea2d6b71737ac4a1861 /src/Rml.hpp | |
parent | Improved RmlUi integration (diff) | |
download | AltCraft-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.hpp | 6 |
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 { |