blob: a40c8aa9c373bd16b6c9d2c51432186e1e95c383 (
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 "../properties/SelectPropertyEditor.h"
#include "StylerEditor.h"
namespace cru::theme_builder::components::stylers {
class CursorStylerEditor : public StylerEditor {
public:
CursorStylerEditor();
~CursorStylerEditor() override;
public:
ClonePtr<ui::style::CursorStyler> GetValue();
void SetValue(ui::style::CursorStyler* styler, bool trigger_change = true);
void SetValue(const ClonePtr<ui::style::CursorStyler>& styler,
bool trigger_change = true) {
SetValue(styler.get(), trigger_change);
}
ClonePtr<ui::style::Styler> GetStyler() override { return GetValue(); }
private:
properties::SelectPropertyEditor cursor_select_;
};
} // namespace cru::theme_builder::components::stylers
|