glfw-group-0.1.0.0: GLFW package with window groups destroyed together
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.UI.GlfwG.Mouse

Synopsis

Documentation

data MouseButton #

Part of the Mouse Input system.

Instances

Instances details
Data MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MouseButton -> c MouseButton #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MouseButton #

toConstr :: MouseButton -> Constr #

dataTypeOf :: MouseButton -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MouseButton) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MouseButton) #

gmapT :: (forall b. Data b => b -> b) -> MouseButton -> MouseButton #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MouseButton -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MouseButton -> r #

gmapQ :: (forall d. Data d => d -> u) -> MouseButton -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MouseButton -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MouseButton -> m MouseButton #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MouseButton -> m MouseButton #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MouseButton -> m MouseButton #

Bounded MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

Enum MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

Generic MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

Associated Types

type Rep MouseButton :: Type -> Type #

Read MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

Show MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

NFData MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

Methods

rnf :: MouseButton -> () #

Eq MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

Ord MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

type Rep MouseButton 
Instance details

Defined in Graphics.UI.GLFW.Types

type Rep MouseButton = D1 ('MetaData "MouseButton" "Graphics.UI.GLFW.Types" "GLFW-b-3.3.9.1-CbbIOqvtyyzkbPgJI2V5g" 'False) (((C1 ('MetaCons "MouseButton'1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MouseButton'2" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MouseButton'3" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MouseButton'4" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "MouseButton'5" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MouseButton'6" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MouseButton'7" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MouseButton'8" 'PrefixI 'False) (U1 :: Type -> Type))))

data MouseButtonState #

If the mouse button is pressed or not when getMouseButton is called.

Instances

Instances details
Data MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MouseButtonState -> c MouseButtonState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MouseButtonState #

toConstr :: MouseButtonState -> Constr #

dataTypeOf :: MouseButtonState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MouseButtonState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MouseButtonState) #

gmapT :: (forall b. Data b => b -> b) -> MouseButtonState -> MouseButtonState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MouseButtonState -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MouseButtonState -> r #

gmapQ :: (forall d. Data d => d -> u) -> MouseButtonState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MouseButtonState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MouseButtonState -> m MouseButtonState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MouseButtonState -> m MouseButtonState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MouseButtonState -> m MouseButtonState #

Bounded MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

Enum MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

Generic MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

Associated Types

type Rep MouseButtonState :: Type -> Type #

Read MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

Show MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

NFData MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

Methods

rnf :: MouseButtonState -> () #

Eq MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

Ord MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

type Rep MouseButtonState 
Instance details

Defined in Graphics.UI.GLFW.Types

type Rep MouseButtonState = D1 ('MetaData "MouseButtonState" "Graphics.UI.GLFW.Types" "GLFW-b-3.3.9.1-CbbIOqvtyyzkbPgJI2V5g" 'False) (C1 ('MetaCons "MouseButtonState'Pressed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MouseButtonState'Released" 'PrefixI 'False) (U1 :: Type -> Type))