From a0732c3aa32d200bf154d486df3c9f506161954f Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 4 Mar 2022 21:21:15 +0800 Subject: ... --- include/cru/ui/controls/IFontControl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/cru/ui/controls/IFontControl.h (limited to 'include/cru/ui/controls/IFontControl.h') diff --git a/include/cru/ui/controls/IFontControl.h b/include/cru/ui/controls/IFontControl.h new file mode 100644 index 00000000..4167de27 --- /dev/null +++ b/include/cru/ui/controls/IFontControl.h @@ -0,0 +1,10 @@ +#pragma once +#include "../Base.h" +#include "cru/platform/graphics/Font.h" + +namespace cru::ui::controls { +struct CRU_UI_API IFontControl : virtual Interface { + virtual std::shared_ptr GetFont() const = 0; + virtual void SetFont(std::shared_ptr font) = 0; +}; +} // namespace cru::ui::controls -- cgit v1.2.3