Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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
Eq Selection # 
Instance details

Defined in Ui.BlockCStub

Ord Selection # 
Instance details

Defined in Ui.BlockCStub

Show Selection # 
Instance details

Defined in Ui.BlockCStub

data SelectionOrientation Source #

Constructors

None 
Positive 
Negative 
Both 

Instances

Instances details
Enum SelectionOrientation # 
Instance details

Defined in Ui.BlockCStub

Eq SelectionOrientation # 
Instance details

Defined in Ui.BlockCStub

Ord SelectionOrientation # 
Instance details

Defined in Ui.BlockCStub

Show SelectionOrientation # 
Instance details

Defined in Ui.BlockCStub