sdl2-2.4.1.0: Both high- and low-level bindings to the SDL library (version 2.0.4+).

Safe HaskellSafe
LanguageHaskell2010

SDL.Internal.Numbered

Documentation

class Integral b => FromNumber a b | a -> b where Source #

Minimal complete definition

fromNumber

Methods

fromNumber :: b -> a Source #

Instances

FromNumber Keycode Int32 Source # 
FromNumber Scancode Word32 Source # 
FromNumber KeyModifier Word32 Source # 
FromNumber ControllerDeviceConnection Word32 Source # 
FromNumber ControllerButtonState Word32 Source # 
FromNumber ControllerButton Int32 Source # 
FromNumber JoyDeviceConnection Word32 Source # 
FromNumber JoyHatPosition Word8 Source # 
FromNumber JoyButtonState Word8 Source # 
FromNumber SwapInterval CInt Source # 
FromNumber RendererConfig Word32 Source # 
FromNumber PixelFormat Word32 Source # 
FromNumber BlendMode Word32 Source # 
FromNumber TextureAccess CInt Source # 
FromNumber WindowMode Word32 Source # 
FromNumber MouseScrollDirection Word32 Source # 
FromNumber MouseDevice Word32 Source # 
FromNumber MouseButton Word8 Source #