remove sidebar and make panels popup

This commit is contained in:
2019-03-05 02:06:07 +01:00
parent 4318fe9728
commit 317292318a
17 changed files with 256 additions and 67 deletions

View File

@@ -37,6 +37,8 @@ class NodePanelGrid : public Node
public:
enum class ShadeMode : uint8_t { Transparent, Flat, Solid, Textured };
std::function<void(Node* target)> on_popup_close;
NodeSliderH* m_groud_opacity;
NodeSliderH* m_groud_value;
NodeComboBox* m_groud_resolution;
@@ -74,6 +76,7 @@ public:
virtual Node* clone_instantiate() const override;
virtual void clone_finalize(Node* dest) const override;
virtual void init() override;
virtual kEventResult handle_event(Event* e) override;
void init_controls();
int get_samples() const;
int get_texres() const;