Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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 #