mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-09 21:28:39 +00:00
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#pragma push_macro("byte")
|
|
#pragma push_macro("GetNextSibling")
|
|
#pragma push_macro("GetFirstChild")
|
|
#undef byte
|
|
#undef GetNextSibling
|
|
#undef GetFirstChild
|
|
|
|
#include <RmlUi/Core/SystemInterface.h>
|
|
|
|
// NOTE: pop_macro at end of file
|
|
|
|
class SystemInterface_Win64 : public Rml::SystemInterface
|
|
{
|
|
public:
|
|
SystemInterface_Win64();
|
|
~SystemInterface_Win64();
|
|
|
|
double GetElapsedTime() override;
|
|
|
|
int TranslateString(Rml::String& translated, const Rml::String& input) override;
|
|
|
|
void JoinPath(Rml::String& translated_path, const Rml::String& document_path, const Rml::String& path) override;
|
|
|
|
bool LogMessage(Rml::Log::Type type, const Rml::String& message) override;
|
|
|
|
void SetMouseCursor(const Rml::String& cursor_name) override;
|
|
|
|
void SetClipboardText(const Rml::String& text) override;
|
|
void GetClipboardText(Rml::String& text) override;
|
|
|
|
void ActivateKeyboard(Rml::Vector2f caret_position, float line_height) override;
|
|
void DeactivateKeyboard() override;
|
|
|
|
private:
|
|
double m_frequency;
|
|
LARGE_INTEGER m_startup;
|
|
};
|
|
|
|
#pragma pop_macro("GetFirstChild")
|
|
#pragma pop_macro("GetNextSibling")
|
|
#pragma pop_macro("byte")
|