Safe Haskell | Safe-Inferred |
---|
Cmds that affect global block config but don't fit into any of the more specefic modules.
Synopsis
- cmd_toggle_edge :: Cmd.M m => Msg.Msg -> m ()
- toggle_merge_all :: Ui.M m => BlockId -> m ()
- toggle_merge_selected :: Cmd.M m => m ()
- cmd_open_block :: Cmd.M m => Bool -> m ()
- cmd_add_block_title :: Cmd.M m => Msg.Msg -> m ()
- clip :: Cmd.M m => m ()
- collapse_children :: Ui.M m => BlockId -> TrackId -> m ()
- expand_children :: Ui.M m => BlockId -> TrackId -> m ()
- append :: Ui.M m => BlockId -> BlockId -> m ()
- cmd_toggle_flag :: Cmd.M m => Block.TrackFlag -> m ()
- toggle_collapse_empty :: Ui.M m => BlockId -> m ()
- cmd_set_solo :: Cmd.M m => Msg.Msg -> m ()
- cmd_mute_or_unsolo :: Cmd.M m => Msg.Msg -> m ()
- cmd_expand_track :: Cmd.M m => Msg.Msg -> m ()
- cmd_move_tracks :: Cmd.M m => Msg.Msg -> m ()
- move_tracks :: Ui.M m => BlockId -> [TrackNum] -> TrackNum -> m TrackNum
Documentation
cmd_toggle_edge :: Cmd.M m => Msg.Msg -> m () Source #
Toggle an edge from the selected parent to the clicked child.
toggle_merge_all :: Ui.M m => BlockId -> m () Source #
Merge all adjacent note/pitch pairs. If they're already all merged, unmerge them all.
toggle_merge_selected :: Cmd.M m => m () Source #
cmd_open_block :: Cmd.M m => Bool -> m () Source #
cmd_add_block_title :: Cmd.M m => Msg.Msg -> m () Source #
Add an empty title and focus on it. The text widget hides itself when empty, so the space gets it to appear for focus.
collapse_children :: Ui.M m => BlockId -> TrackId -> m () Source #
Collapse all the children of this track.
expand_children :: Ui.M m => BlockId -> TrackId -> m () Source #
Expand all collapsed children of this track. Tracks that were merged when they were collapsed will be left merged.
cmd_toggle_flag :: Cmd.M m => Block.TrackFlag -> m () Source #
If the flag is set on any of the selected tracks, unset it. Otherwise, set it. This is a bit more complicated than a simple toggle because if you have a collapsed track where one is soloed and one isn't, a simple toggle would just move the solo flag from one track to the other, leaving the track as a whole soloed.
toggle_collapse_empty :: Ui.M m => BlockId -> m () Source #
Collapse all tracks that are empty and have all empty children. If everything empty is collapsed, expand them all. Don't consider merge-collapsed.
cmd_set_solo :: Cmd.M m => Msg.Msg -> m () Source #
Enable Solo on the track and disable Mute. It's bound to a double click so when this cmd fires I have to do undo the results of the single click. Perhaps mute and solo should be exclusive in general.
cmd_mute_or_unsolo :: Cmd.M m => Msg.Msg -> m () Source #
Unset solo if it's set, otherwise toggle the mute flag.
cmd_expand_track :: Cmd.M m => Msg.Msg -> m () Source #
cmd_move_tracks :: Cmd.M m => Msg.Msg -> m () Source #
Move selected tracks to the left of the clicked track.