Copyright | (c) Justus Sagemüller 2017 |
---|---|
License | GPL v3 |
Maintainer | (@) jsag $ hvl.no |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
GridRegion a | |
GridDivisions [[Gridded a]] |
Instances
Instances
Eq GridRange Source # | |
Show GridRange Source # | |
Generic GridRange Source # | |
type Rep GridRange Source # | |
Defined in Presentation.Yeamer.Internal.Grid type Rep GridRange = D1 (MetaData "GridRange" "Presentation.Yeamer.Internal.Grid" "yeamer-0.1.2.0-inplace" False) (C1 (MetaCons "GridRange" PrefixI True) ((S1 (MetaSel (Just "_xBegin") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "_xEnd") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) :*: (S1 (MetaSel (Just "_yBegin") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "_yEnd") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) |
data GridLayout a Source #
GridLayout | |
|
Instances
gridWidth :: forall a. Lens' (GridLayout a) Int Source #
gridHeight :: forall a. Lens' (GridLayout a) Int Source #
gridContents :: forall a a. Lens (GridLayout a) (GridLayout a) [(GridRange, a)] [(GridRange, a)] Source #
layoutGrid :: Gridded a -> GridLayout a Source #
type GridRegionId = Int Source #
layoutGridP :: Gridded a -> (GridLayout (GridRegionId, a), [(GridRegionId, b)] -> (Gridded b, [(GridRegionId, b)])) Source #
alignLayoutDirectional :: Lens' (GridLayout a) Int -> Lens' GridRange Int -> Lens' GridRange Int -> Lens' (GridLayout a) Int -> Lens' GridRange Int -> Lens' GridRange Int -> [GridLayout a] -> GridLayout a Source #