aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/IFontControl.h
blob: 4167de2705b7ef2471bf1fa3b5b3c582dedefa52 (plain)
1
2
3
4
5
6
7
8
9
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<platform::graphics::IFont> GetFont() const = 0;
  virtual void SetFont(std::shared_ptr<platform::graphics::IFont> font) = 0;
};
}  // namespace cru::ui::controls