From 3b875091c445b7465b9bd044914318989a94d2ad Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 21 Nov 2025 21:43:42 +0800 Subject: Clean codes. Remove member function const. --- include/cru/ui/controls/IFontControl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/controls/IFontControl.h') diff --git a/include/cru/ui/controls/IFontControl.h b/include/cru/ui/controls/IFontControl.h index 4167de27..33a3f954 100644 --- a/include/cru/ui/controls/IFontControl.h +++ b/include/cru/ui/controls/IFontControl.h @@ -1,10 +1,11 @@ #pragma once #include "../Base.h" -#include "cru/platform/graphics/Font.h" + +#include namespace cru::ui::controls { struct CRU_UI_API IFontControl : virtual Interface { - virtual std::shared_ptr GetFont() const = 0; + virtual std::shared_ptr GetFont() = 0; virtual void SetFont(std::shared_ptr font) = 0; }; } // namespace cru::ui::controls -- cgit v1.2.3