UIFontDescription.h 401 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include "UIWidget.h"
  3. namespace Atomic
  4. {
  5. class UIFontDescription : public Object
  6. {
  7. OBJECT(UIFontDescription)
  8. public:
  9. UIFontDescription(Context* context);
  10. virtual ~UIFontDescription();
  11. void SetId(const String& id);
  12. void SetSize(int size);
  13. tb::TBFontDescription* GetTBFontDescription() { return &desc_; }
  14. private:
  15. tb::TBFontDescription desc_;
  16. };
  17. }