primitives/prelude/enums/overlay_button.rs
1/// Representing the control buttons on the `Overlay`.
2///
3#[derive(Clone, Copy, Debug, PartialEq, Eq)]
4pub enum OverlayButton {
5 /// Back overlay button
6 Back,
7 /// Mute overlay button
8 Mute,
9 /// UnMute overlay button
10 Unmute,
11 /// Pause overlay button
12 Pause,
13 /// Unpause overlay button
14 Unpause,
15 /// Allows [OverlayButton] to be extended (e.g. for using project specific overlay buttons - settings, restart, context help).
16 Custom {
17 /// Custom value
18 value: u32,
19 },
20}