#[derive(Debug, Clone, PartialEq)]
pub enum Command {
NextSlide,
PreviousSlide,
NextOverlay,
PreviousOverlay,
FirstSlide,
LastSlide,
GoToSlide(usize),
ToggleFreeze,
ToggleBlackout,
ToggleWhiteboard,
ToggleScreenShareMode,
TogglePresentationMode,
ToggleLaser,
CycleLaserStyle,
SetPointerPosition(f32, f32),
ToggleInk,
AddInkPoint(f32, f32),
FinishInkStroke,
ClearInk,
SetInkColor([u8; 4]),
SetInkWidth(f32),
CycleInkColor,
CycleInkWidth,
ToggleSpotlight,
SetSpotlightPosition(f32, f32),
ToggleZoom,
SetZoomRegion { center: (f32, f32), factor: f32 },
StartTimer,
PauseTimer,
ToggleTimer,
ResetTimer,
ToggleSlideOverview,
ToggleNotesPanel,
ToggleNotesEdit,
SetCurrentSlideNotes(String),
IncrementNotesFontSize,
DecrementNotesFontSize,
ToggleTextBoxMode,
PlaceTextBox { x: f32, y: f32, w: f32, h: f32 },
EditTextBoxContent { id: u64, content: String },
MoveTextBox { id: u64, x: f32, y: f32 },
ResizeTextBox { id: u64, w: f32, h: f32 },
DeleteTextBox { id: u64 },
SelectTextBox(u64),
DeselectTextBox,
BeginTextBoxEdit { id: u64 },
SetTextBoxFontSize { id: u64, size: f32 },
SetTextBoxColor { id: u64, color: [u8; 4] },
SetTextBoxBackground { id: u64, color: Option<[u8; 4]> },
Quit,
SaveSidecar,
}