19#ifdef COVELLITE_GUI_RMLUI
23#include <RmlUi/RmlUi.hpp>
24namespace CovelliteGui = ::Rml;
29TODO(
"Заменить ссылку, когда в Alicorn SDK попадет исправленый файл RmlUi.mock.hpp");
31#include <Externals\Alicorn\Externals\include\rmlui\RmlUi.mock.hpp>
33namespace CovelliteGui = ::mock::Rml;
38namespace CovelliteGui = ::CovelliteGui;
43using EventListener_tested = EventListener;
57using CovelliteGuiTime_t = double;
58using CovelliteGuiUnicode_t = CovelliteGui::Character;
60inline ::std::string CovelliteGuiStringToUtf8(
61 const CovelliteGui::String & _String)
66inline void CovelliteGuiRemove(CovelliteGui::ElementDocument * _pDocument)
71inline void CovelliteGuiRemove(CovelliteGui::Context * _pContext)
73 CovelliteGui::RemoveContext(_pContext->GetName());
76inline void CovelliteGuiLoadFontFace(const ::std::string & _Path)
78 CovelliteGui::LoadFontFace(_Path.c_str());
81inline void CovelliteGuiLoadFontFace(const ::std::vector<uint8_t> & _Data)
83 CovelliteGui::LoadFontFace(_Data.data(),
static_cast<int>(_Data.size()),
84 "", CovelliteGui::Style::FontStyle::Normal,
85 CovelliteGui::Style::FontWeight::Normal);
88inline void CovelliteGuiSetProgressBarValue(
89 CovelliteGui::Element * _pProgressBar,
93 dynamic_cast<CovelliteGui::ElementProgress &
>(*_pProgressBar);
95 Control.SetValue(_Value);
104namespace CovelliteGui
107template<
typename>
class Vector2;
108using Vector2i = Vector2<int>;
109class ElementDocument;