1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! Logical dock tree node (design scaffold for floating windows).
//!
//! Currently the widget tree IS the dock tree. When floating windows are added,
//! this enum will track dock topology independently, allowing a DockNode to
//! exist as a floating overlay without being part of the main widget tree.
use SplitDirection;
use crateNodeId;
/// Logical dock tree node.
///
/// Currently unused — the widget tree serves as the dock tree.
/// When floating windows are implemented, this will track dock topology
/// independently from the widget tree.
/// Objects that participate in hit testing (for floating windows).
///
/// When floating windows are added, each floating window will implement this
/// trait to participate in the hit-test ordering. The main docked tree acts
/// as the base layer (`z_order = 0`), and floating windows stack above it.