diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-10 19:31:36 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-10 19:31:36 +0200 |
| commit | c41c01a7fb465556ccc92cbd8acf85be31b1d43c (patch) | |
| tree | c5b7cf07b59819483e4c66d1b85cf673ac875d45 /src/layout/DwindleLayout.hpp | |
| parent | 2973860b2547cbeecf2b10047a77aa406266a1d6 (diff) | |
Splitratio on dwindle and splitratio mouse controls
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
| -rw-r--r-- | src/layout/DwindleLayout.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp index 957c8330..8d849bcf 100644 --- a/src/layout/DwindleLayout.hpp +++ b/src/layout/DwindleLayout.hpp @@ -18,6 +18,8 @@ struct SDwindleNodeData { int workspaceID = -1; + float splitRatio = 1.f; + // For list lookup bool operator==(const SDwindleNodeData& rhs) { return pWindow == rhs.pWindow && workspaceID == rhs.workspaceID && position == rhs.position && size == rhs.size && pParent == rhs.pParent && children[0] == rhs.children[0] && children[1] == rhs.children[1]; @@ -45,6 +47,7 @@ public: std::list<SDwindleNodeData> m_lDwindleNodesData; Vector2D m_vBeginDragXY; + Vector2D m_vLastDragXY; Vector2D m_vBeginDragPositionXY; Vector2D m_vBeginDragSizeXY; |
