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