Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone

Ui.Color

Synopsis

Documentation

data Highlight Source #

How to highlight an event in the UI. This can be used to highlight instrumental restrictions, or for analysis.

TODO This doesn't really belong in this module, but I couldn't think of a better place to put it that wouldn't incur unnecessary dependencies.

Constructors

NoHighlight 
Notice

This note is special in some way, perhaps an open string.

Warning

This note might have a problem, e.g. in a difficult range or requires difficult fingering or the pitch needs to be adjusted.

Error

This note is probably unplayable, e.g. out of range.

rgb :: Double -> Double -> Double -> Color Source #

An opaque color with the given r, g, and b.

rgba_word :: Word32 -> Color Source #

Make a Color from an RGBA word.

poke_color :: Ptr b -> Color -> IO () Source #