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
//! Style types passed from the daemon to the border crate.
use crateColor;
/// Per-window border styling.
///
/// Constructed by the daemon (typically via [`crate::style_for_state`]) and
/// passed to [`crate::Border::create`] / [`crate::Border::set_style`]. The
/// border reads these values each time it redraws the overlay.
/// Corner shape preference for an overlay window.
///
/// v1 always uses the system default — the overlay draws a rectangular ring
/// via GDI regardless of this value. The enum is in place so future versions
/// can pass it through to `DwmSetWindowAttribute(DWMWA_WINDOW_CORNER_PREFERENCE)`
/// without changing the public API.