Go to the first, previous, next, last section, table of contents.

Index of Tiler functionality


type TilerMethods =
 (
   {- resize method -}
  Size   -> Geometry -> IO [TileInfo],
   {- pick method -}
  Coord  -> IO (Maybe TileInfo),
   {-  compute initial size and geo requirements -}
  IO (Size, Geometry, [TileInfo]),
   {- foldl over components -}
  ((TileInfo -> IO ()) -> IO ())
 )

type TileInfo = 
  ( {- the bbox of child in Tiler coord. system -}
   Rectangle,
    {- its geometric requirements -}
   Geometry,
    {- where to forward any commands to. -}
   ComponentHandle)

mkTiler :: TilerMethods -> Component (Tiler, DisplayHandle)

redisplayTiler :: Tiler -> IO ()
updateTiler :: Tiler -> Portion Region -> IO ()
resizeTiler :: Tiler -> Size  -> IO ()
addTilerComponent :: Tiler -> ComponentHandle -> IO ()

setTilerGeo :: Tiler -> Geometry -> IO ()
getTilerGeo :: Tiler -> IO Geometry
getTilerSize :: Tiler -> IO Size


Go to the first, previous, next, last section, table of contents.