Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Ui.BlockCStub

Description

This is a stubbed out version of BlockC. The real BlockC will use this when TESTING is defined, since they don't work from ghci if they have a C dependency.

It's just a big copy-paste from BlockC, but should be ok since that changes very rarely.

Synopsis

query

view creation

Block operations

update_track Source #

Arguments

:: Bool

True if the ruler has changed and should be copied over. It's a bit of a hack to be a separate flag, but rulers are updated rarely and copied over entirely for efficiency.

-> ViewId 
-> Types.TrackNum 
-> Block.Tracklike 
-> [Events.Events] 
-> Track.SetStyle 
-> ScoreTime 
-> ScoreTime 
-> Fltk () 

set_track_signal :: ViewId -> Types.TrackNum -> Track.TrackSignal -> Fltk () Source #

Unlike other Fltk functions, this doesn't throw if the ViewId is not found. That's because it's called asynchronously when derivation is complete.

debugging

selection

data Selection Source #

This is the low level version of Sel.Selection. It only applies to a single track, and has an explicit color.

Instances

Instances details
Show Selection Source # 
Instance details

Defined in Ui.BlockCStub

Eq Selection Source # 
Instance details

Defined in Ui.BlockCStub

Ord Selection Source # 
Instance details

Defined in Ui.BlockCStub

data SelectionOrientation Source #

Constructors

None 
Positive 
Negative 
Both 

Instances

Instances details
Enum SelectionOrientation Source # 
Instance details

Defined in Ui.BlockCStub

Show SelectionOrientation Source # 
Instance details

Defined in Ui.BlockCStub

Eq SelectionOrientation Source # 
Instance details

Defined in Ui.BlockCStub

Ord SelectionOrientation Source # 
Instance details

Defined in Ui.BlockCStub