42 void SetValue(
float r,
float g,
float b);
56 std::unique_ptr<Impl> impl_;
DrawResult Draw(const DrawContext &context) override
Definition: ColorEdit.cpp:76
ColorEdit()
Definition: ColorEdit.cpp:48
void SetOnValueChanged(std::function< void(const Color &)> on_value_changed)
Definition: ColorEdit.cpp:64
math::float4 color
Definition: LineSetBuffers.cpp:46
~ColorEdit() override
Definition: ColorEdit.cpp:54
Definition: ColorEdit.cpp:42
void SetValue(const Color &color)
Definition: ColorEdit.cpp:56
Definition: Open3DViewer.h:29
const Color & GetValue() const
Definition: ColorEdit.cpp:62
Size CalcPreferredSize(const Theme &theme) const override
Definition: ColorEdit.cpp:69
Definition: ColorEdit.h:36