Add color sliders to sketch3d
This commit is contained in:
parent
689bee9afc
commit
6d8c64ac33
5 changed files with 127 additions and 5 deletions
|
|
@ -7,7 +7,9 @@ namespace tp {
|
|||
template <typename Events, typename Canvas>
|
||||
class Widget {
|
||||
public:
|
||||
Widget() = default;
|
||||
Widget() {
|
||||
this->mArea = { 0, 0, 100, 100 };
|
||||
}
|
||||
|
||||
[[nodiscard]] const RGBA& getColor(const String& name) const {
|
||||
const auto& node = cfg->values.get(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue