GLFW-0.2: A binding for GLFW, An OpenGL FrameworkSource codeContentsIndex
Graphics.UI.GLFW
Documentation
type Version = (Int, Int, Int)Source
data DisplayBits Source
Constructors
DisplayRGBBits !Int !Int !Int
DisplayAlphaBits !Int
DisplayDepthBits !Int
DisplayStencilBits !Int
show/hide Instances
data WindowMode Source
Constructors
Window
FullScreen
show/hide Instances
data WindowHint Source
Constructors
RefreshRate
AccumRedBits
AccumGreenBits
AccumBlueBits
AccumAlphaButs
AuxBuffers
Stereo
NoResize
FSAASamples
show/hide Instances
data WindowParam Source
Constructors
Opened
Active
Iconified
Accelerated
RedBits
GreenBits
BlueBits
AlphaBits
DepthBits
StencilBits
show/hide Instances
data VideoMode Source
Constructors
VideoMode
videoWidth :: !Int
videoHeight :: !Int
videoRedBits :: !Int
videoBlueBits :: !Int
videoGreenBits :: !Int
show/hide Instances
data KeyButtonState Source
Constructors
Release
Press
show/hide Instances
data Key Source
Constructors
CharKey Char
SpecialKey SpecialKey
show/hide Instances
data SpecialKey Source
Constructors
UNKNOWN
ESC
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
F24
F25
UP
DOWN
LEFT
RIGHT
LSHIFT
RSHIFT
LCTRL
RCTRL
LALT
RALT
TAB
ENTER
BACKSPACE
INSERT
DEL
PAGEUP
PAGEDOWN
HOME
END
KP_0
KP_1
KP_2
KP_3
KP_4
KP_5
KP_6
KP_7
KP_8
KP_9
KP_DIVIDE
KP_MULTIPLY
KP_SUBTRACT
KP_ADD
KP_DECIMAL
KP_EQUAL
KP_ENTER
show/hide Instances
data MouseButton Source
Constructors
ButtonLeft
ButtonRight
ButtonMiddle
ButtonNo Int
show/hide Instances
newtype JoyStick Source
Constructors
JoyStickNo Int
show/hide Instances
data SpecialFeature Source
Constructors
MouseCursor
StickyKey
StickyMouseButton
SystemKey
KeyRepeat
AutoPollEvent
show/hide Instances
data TextureFlag Source
Constructors
NoRescale
OriginUL
BuildMipMaps
AlphaMap
show/hide Instances
data BitmapFont Source
Constructors
Fixed8x16
show/hide Instances
initialize :: IO BoolSource
terminate
videoModes :: GettableStateVar [VideoMode]Source
desktopMode :: GettableStateVar VideoModeSource
version :: GettableStateVar VersionSource
openWindow :: Size -> [DisplayBits] -> WindowMode -> IO BoolSource
openWindowHint :: SettableStateVar (WindowHint, Int)Source
closeWindow :: IO ()Source
windowTitle :: SettableStateVar StringSource
windowSize :: StateVar SizeSource
iconifyWindow :: IO ()Source
restoreWindow :: IO ()Source
swapBuffers :: IO ()Source
swapInterval :: SettableStateVar IntSource
windowParam :: WindowParam -> GettableStateVar IntSource
windowSizeCallback :: SettableStateVar WindowSizeCallbackSource
windowCloseCallback :: SettableStateVar WindowCloseCallbackSource
windowRefreshCallback :: SettableStateVar WindowRefreshCallbackSource
pollEvents :: IO ()Source
waitEvents :: IO ()Source
getKey :: Enum a => a -> IO KeyButtonStateSource
getMouseButton :: MouseButton -> IO KeyButtonStateSource
mousePos :: StateVar PositionSource
mouseWheel :: StateVar IntSource
keyCallback :: SettableStateVar KeyCallbackSource
charCallback :: SettableStateVar CharCallbackSource
mouseButtonCallback :: SettableStateVar MouseButtonCallbackSource
mousePosCallback :: SettableStateVar MousePosCallbackSource
mouseWheelCallback :: SettableStateVar MouseWheelCallbackSource
time :: StateVar DoubleSource
sleep :: Double -> IO ()Source
extensionSupported :: String -> IO BoolSource
enableSpecial :: SpecialFeature -> IO ()Source
disableSpecial :: SpecialFeature -> IO ()Source
loadTexture2D :: String -> [TextureFlag] -> IO BoolSource
loadMemoryTexture2D :: String -> [TextureFlag] -> IO BoolSource
renderString :: BitmapFont -> String -> IO ()Source
Produced by Haddock version 2.4.2