blob: ccd1211358792e7d70470da4ec6f3ba198ffbac6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "../Editor.h"
#include "../properties/FontPropertyEditor.h"
#include "StylerEditor.h"
#include "cru/common/ClonablePtr.h"
#include "cru/ui/style/Styler.h"
namespace cru::theme_builder::components::stylers {
class FontStylerEditor : public StylerEditor {
public:
FontStylerEditor();
~FontStylerEditor();
public:
ClonablePtr<ui::style::FontStyler> GetValue() const;
void SetValue(ui::style::FontStyler* value, bool trigger_change = true);
ClonablePtr<ui::style::Styler> GetStyler() override { return GetValue(); }
private:
properties::FontPropertyEditor font_editor_;
};
} // namespace cru::theme_builder::components::stylers
|