Safe Haskell | None |
---|
- data Layer a = Layer {
- layerDef :: LayerDefinition
- layerContent :: IGC a
- data ViewInstance a = ViewInstance {
- viewDef :: ViewDefinition
- layers :: [Layer a]
- viewInstance :: [Layer a] -> ViewInstance a
- addLayer :: Layer a -> ViewInstance a -> ViewInstance a
- layer :: String -> IGC a -> Layer a
Documentation
Layer | |
|
data ViewInstance a Source
ViewInstance | |
|
IsConvertableToIGC ViewInstance | |
RunWith ViewInstance | |
Eq a => Eq (ViewInstance a) | |
Show a => Show (ViewInstance a) |
viewInstance :: [Layer a] -> ViewInstance aSource
Given a set of layers construct a view instance. The first layer is used as active layer.
addLayer :: Layer a -> ViewInstance a -> ViewInstance aSource