improved docking
This commit is contained in:
@@ -6,11 +6,13 @@ class NodePanelFloating : public NodeBorder
|
||||
{
|
||||
enum class kDragAction : uint8_t { Move, Resize, Reheight } m_action;
|
||||
bool m_dragging = false;
|
||||
std::weak_ptr<Node> m_dock;
|
||||
glm::vec2 m_drag_start_pos;
|
||||
glm::vec2 m_drag_start_cur;
|
||||
NodeButton* m_button_minimize;
|
||||
NodeButton* m_button_close;
|
||||
NodeBorder* m_outline;
|
||||
std::shared_ptr<NodeBorder> m_drop_placeholder;
|
||||
public:
|
||||
Node* m_container;
|
||||
using this_class = NodePanelFloating;
|
||||
|
||||
Reference in New Issue
Block a user