Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type BoxProcess = Merge Box Source #
Box | |
|
trackScreen :: StageRIO st BoxProcess Source #
padAbs :: (MonadUnliftIO m, HasOutput parent, GetOutput parent ~ Box, HasOutput padding, GetOutput padding ~ Vec4) => parent -> padding -> m BoxProcess Source #
hSplitRel :: (MonadUnliftIO m, HasOutput parent, GetOutput parent ~ Box, HasOutput proportion, GetOutput proportion ~ Float) => parent -> proportion -> m (BoxProcess, BoxProcess) Source #
vSplitRel :: (MonadUnliftIO m, HasOutput parent, GetOutput parent ~ Box, HasOutput proportion, GetOutput proportion ~ Float) => parent -> proportion -> m (BoxProcess, BoxProcess) Source #
splitsRelStatic :: (MonadUnliftIO m, HasOutput parent, GetOutput parent ~ Box, Traversable t) => ((Float, Float) -> Vec4) -> parent -> t Float -> m (t BoxProcess) Source #
sharePadsH :: (Float, Float) -> Vec4 Source #
sharePadsV :: (Float, Float) -> Vec4 Source #
fitPlaceAbs :: (MonadUnliftIO m, HasOutput parent, GetOutput parent ~ Box) => Alignment -> ("dimensions" ::: Vec2) -> parent -> m BoxProcess Source #
boxFitScale :: ("dimensions" ::: Vec2) -> ("parent" ::: Box) -> ("leftovers" ::: Vec2, Box) Source #
boxRectAbs :: Box -> Rect2D Source #
boxTransformAbs :: Box -> Transform Source #
pattern LeftMiddle :: Alignment Source #
pattern LeftBottom :: Alignment Source #
pattern CenterBottom :: Alignment Source #
pattern RightMiddle :: Alignment Source #
pattern RightBottom :: Alignment Source #
whenInBoxP :: (MonadIO m, HasOutput box, GetOutput box ~ Box) => ("screen" ::: Vec2) -> box -> (("local" ::: Vec2) -> m ()) -> m () Source #
pointInBox :: Vec2 -> Box -> Bool Source #