Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data WindowMessage
- = MsgWindowShow {
- msgWSWhen :: Double
- msgWSWindow :: Window
- | MsgWindowHide {
- msgWHWhen :: Double
- msgWHWindow :: Window
- | MsgWindowExpose {
- msgWEWhen :: Double
- msgWEWindow :: Window
- | MsgWindowMove {
- msgWMWhen :: Double
- msgWMWindow :: Window
- msgWMNewPos :: V2 Int32
- | MsgWindowResize {
- msgWRWhen :: Double
- msgWRWindow :: Window
- msgWRNewSize :: V2 Int32
- | MsgWindowSizeChange { }
- | MsgWindowMinimize { }
- | MsgWindowMaximize { }
- | MsgWindowRestore { }
- | MsgWindowGainMouseFocus { }
- | MsgWindowLoseMouseFocus { }
- | MsgWindowGainKeyboardFocus { }
- | MsgWindowLoseKeyboardFocus { }
- | MsgWindowClose {
- msgWCWhen :: Double
- msgWCWindow :: Window
- = MsgWindowShow {
- data Window
Documentation
data WindowMessage Source #
Datatype for handling Window events handed down rom SDL2
MsgWindowShow | Window show event |
| |
MsgWindowHide | Window hide event |
| |
MsgWindowExpose | Window expose event |
| |
MsgWindowMove | Window move event |
| |
MsgWindowResize | Window resize event |
| |
MsgWindowSizeChange | Window size change event |
| |
MsgWindowMinimize | Window minimize event |
| |
MsgWindowMaximize | Window maximize event |
| |
MsgWindowRestore | Window restore event |
| |
MsgWindowGainMouseFocus | Window gain mouse focus event |
| |
MsgWindowLoseMouseFocus | Window lose mouse focus event |
| |
MsgWindowGainKeyboardFocus | Window gain keyboard focus event |
| |
MsgWindowLoseKeyboardFocus | Window lose keyboard focus event |
| |
MsgWindowClose | Window close event |
|
Instances
Show WindowMessage Source # | |
Defined in Affection.MessageBus.Message.WindowMessage showsPrec :: Int -> WindowMessage -> ShowS # show :: WindowMessage -> String # showList :: [WindowMessage] -> ShowS # | |
Message WindowMessage Source # | |
Defined in Affection.MessageBus.Message.WindowMessage msgTime :: WindowMessage -> Double Source # |
SDL reexports
Instances
Eq Window | |
Data Window | |
Defined in SDL.Internal.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Window -> c Window # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Window # toConstr :: Window -> Constr # dataTypeOf :: Window -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Window) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Window) # gmapT :: (forall b. Data b => b -> b) -> Window -> Window # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Window -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Window -> r # gmapQ :: (forall d. Data d => d -> u) -> Window -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Window -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Window -> m Window # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Window -> m Window # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Window -> m Window # | |
Ord Window | |
Show Window | |
Generic Window | |
type Rep Window | |
Defined in SDL.Internal.Types |