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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
use ;
/* /// The condition of when to close a menu
#[derive(Debug, Clone, Copy)]
pub struct CloseCondition {
/// Close menus when the cursor moves outside the check bounds
pub leave: bool,
/// Close menus when the cursor clicks outside the check bounds
pub click_outside: bool,
/// Close menus when the cursor clicks inside the check bounds
pub click_inside: bool,
}
*/
///
/// ## FakeHovering:
///
/// Places cursors at the path items,
/// useful when you want to customize the styling of each item in the path,
/// or you simple want the look of the items when they are hovered over.
///
/// The downside is when some widgets in the path don't response to hovering,
/// the path won't be fully drawn, and when you want uniform path styling
/// but some widgets response to hovering differently.
///
/// ## Backdrop:
///
/// Draws a rectangle behind each path item,
/// requires path items to have transparent backgrounds,
/// useful when you want uniform path styling.
///
/// The downside is,
/// depending on the style you're going for,
/// oftentimes manually syncing the path's styling to the path items' is necessary,
/// the default styling simply can't cover most use cases.
/// X+ goes right and Y+ goes down
pub
/// Axis
pub
pub type Index = ;
/// Should be returned from the recursive event processing function,
/// tells the caller which type of event has been processed
pub
/// Scroll speed