wx-controls-extra-0.0: A set of custom widgets for wxHaskell.ContentsIndex
Data.Timeline
Documentation
type Iv t = (t, t)
data Timeline a t
Constructors
Timeline
_tliv :: Iv t
_tlarr :: Array Int (SingleLine a t)
show/hide Instances
newtype SingleLine a t
Constructors
SL [Block a t]
show/hide Instances
data Block a t
Constructors
Block
_block_iv :: Iv t
_block_name :: String
_block_color :: (Float, Float, Float)
_block_user :: a
show/hide Instances
_block_duration :: Num t => Block a t -> t
tlNumberOfRows :: Timeline a t -> Int
tlDuration :: Num t => Timeline a t -> t
emptyTimeline :: Iv t -> (Int, Int) -> Timeline a t
tlNames :: Timeline a t -> Array Int [String]
class IvMap c where
Methods
ivmap :: (Iv s -> Iv t) -> c s -> c t
show/hide Instances
window :: Ord t => Iv t -> Timeline a t -> Timeline a t
insertBlock :: (Num t, Ord t) => Alignment -> Int -> Block a t -> Timeline a t -> Either String (Timeline a t)
removeBlock :: Ord t => Int -> Iv t -> Timeline a t -> (Maybe (Block a t), Timeline a t)
moveBlock :: (Num t, Ord t) => Alignment -> (Int, Iv t) -> (Int, Iv t) -> Maybe String -> Timeline a t -> Either String (Timeline a t)
data Alignment
Constructors
NoAlign
ResizeLeft
ResizeRight
Move
FitIntoGap
Produced by Haddock version 2.4.1