Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- counterNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref Counter)
- counterComponentsBounds :: CounterType -> Rectangle -> [Rectangle]
- drawCounter :: (?assets :: Assets) => IORef (Either () (Maybe CounterButton)) -> Ref Counter -> IO ()
- handleCounter :: IORef (Either () (Maybe CounterButton)) -> Ref Counter -> Event -> IO (Either UnknownEvent ())
Documentation
Counter drawing and handling helpers
counterComponentsBounds :: CounterType -> Rectangle -> [Rectangle] Source #