Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data GlutDraw
- data GlutMouseCodes
- data GlutUpDown
- data GlutVisibility
- data GlutMenuState
- data GlutMenuItems = GlutMenuNumItems
- data GlutEnteredLeft
- data GlutKeyboardCodes
- = GlutKeyF1
- | GlutKeyF2
- | GlutKeyF3
- | GlutKeyF4
- | GlutKeyF5
- | GlutKeyF6
- | GlutKeyF7
- | GlutKeyF8
- | GlutKeyF9
- | GlutKeyF10
- | GlutKeyF11
- | GlutKeyF12
- | GlutKeyHome
- | GlutKeyLeft
- | GlutKeyUp
- | GlutKeyRight
- | GlutKeyDown
- | GlutKeyPageUp
- | GlutKeyPageDown
- | GlutKeyEnd
- | GlutKeyInsert
- | GlutActiveShift
- | GlutActiveCtrl
- | GlutActiveAlt
- data GlutConstants
- data GlutWindowProperties
- = GlutWindowX
- | GlutWindowY
- | GlutWindowWidth
- | GlutWindowHeight
- | GlutWindowParent
- | GlutScreenWidth
- | GlutScreenHeight
- | GlutInitWindowX
- | GlutInitWindowY
- | GlutInitWindowWidth
- | GlutInitWindowHeight
- | GlutInitDisplayMode
- | GlutWindowBufferSize
- | GlutWindowDoublebuffer
- | GlutWindowStereo
- | GlutWindowColormapSize
- | GlutWindowRedSize
- | GlutWindowGreenSize
- | GlutWindowBlueSize
- | GlutWindowAlphaSize
- | GlutWindowDepthSize
- | GlutWindowStencilSize
- | GlutWindowAccumRedSize
- | GlutWindowAccumGreenSize
- | GlutWindowAccumBlueSize
- | GlutWindowAccumAlphaSize
- | GlutWindowRgba
- | GlutWindowNumSamples
- data GlutCursor
- = GlutCursorInherit
- | GlutCursorRightArrow
- | GlutCursorBottomLeftCorner
- | GlutCursorBottomRightCorner
- | GlutCursorBottomSide
- | GlutCursorCycle
- | GlutCursorInfo
- | GlutCursorLeftSide
- | GlutCursorDestroy
- | GlutCursorHelp
- | GlutCursorRightSide
- | GlutCursorSpray
- | GlutCursorCrosshair
- | GlutCursorLeftArrow
- | GlutCursorTopLeftCorner
- | GlutCursorTopRightCorner
- | GlutCursorTopSide
- | GlutCursorWait
- | GlutCursorText
- | GlutCursorUpDown
- | GlutCursorLeftRight
- | GlutCursorNone
- data GlutDisplayMode
- data GlutWindow = GlutWindow {
- windowNumber :: CInt
- data GlutMenu = GlutMenu {
- menuNumber :: CInt
- glutInitDisplayMode :: GlutDisplayMode -> IO ()
- glutInitWindowPosition :: Position -> IO ()
- glutInitWindowSize :: Size -> IO ()
- glutCursorFullCrossHair :: GlutCursor
- glutMainLoop :: IO ()
- glutCreateWindow :: Text -> IO GlutWindow
- glutCreateSubWindow :: GlutWindow -> Rectangle -> IO GlutWindow
- glutDestroyWindow :: GlutWindow -> IO ()
- glutPostRedisplay :: IO ()
- glutPostWindowRedisplay :: GlutWindow -> IO ()
- glutSwapBuffers :: IO ()
- glutGetWindow :: IO GlutWindow
- glutSetWindow :: GlutWindow -> IO ()
- glutSetWindowTitle :: Text -> IO ()
- glutSetIconTitle :: Text -> IO ()
- glutPositionWindow :: Position -> IO ()
- glutReshapeWindow :: Size -> IO ()
- glutPopWindow :: IO ()
- glutPushWindow :: IO ()
- glutIconifyWindow :: IO ()
- glutShowWindow :: IO ()
- glutHideWindow :: IO ()
- glutFullScreen :: IO ()
- glutSetCursor :: GlutCursor -> IO ()
- glutWarpPointer :: Position -> IO ()
- glutEstablishOverlay :: IO ()
- glutRemoveOverlay :: IO ()
- glutUseLayer :: Word32 -> IO ()
- glutPostOverlayRedisplay :: IO ()
- glutShowOverlay :: IO ()
- glutHideOverlay :: IO ()
- glutCreateMenu :: IO () -> IO ()
- glutDestroyMenu :: GlutMenu -> IO ()
- glutGetMenu :: IO GlutMenu
- glutSetMenu :: GlutMenu -> IO ()
- glutAddMenuEntry :: Text -> IO ()
- glutAddSubMenu :: Text -> GlutMenu -> IO ()
- glutChangeToMenuEntry :: Int -> Text -> IO ()
- glutChangeToSubMenu :: Int -> Text -> GlutMenu -> IO ()
- glutRemoveMenuItem :: Int -> IO ()
- glutAttachMenu :: GlutMenu -> IO ()
- glutDetachMenu :: GlutMenu -> IO ()
- glutDisplayFunc :: IO () -> IO ()
- glutReshapeFunc :: (Size -> IO ()) -> IO ()
- glutKeyboardFunc :: (Char -> Position -> IO ()) -> IO ()
- glutMouseFunc :: (MouseButton -> GlutUpDown -> Position -> IO ()) -> IO ()
- glutMotionFunc :: (Position -> IO ()) -> IO ()
- glutPassiveMotionFunc :: (Position -> IO ()) -> IO ()
- glutEntryFunc :: (GlutEnteredLeft -> IO ()) -> IO ()
- glutVisibilityFunc :: (GlutVisibility -> IO ()) -> IO ()
- glutIdleFunc :: IO () -> IO ()
- glutTimerFunc :: Int -> IO () -> IO ()
- glutMenuStateFunc :: (GlutMenuState -> IO ()) -> IO ()
- glutMenuStatusFunc :: (GlutMenuState -> Position -> IO ()) -> IO ()
- glutSpecialFunc :: (GlutKeyboardCodes -> Position -> IO ()) -> IO ()
- glutOverlayDisplayFunc :: IO () -> IO ()
- glutGetWindowRectangle :: IO Rectangle
- glutGetWindowParent :: IO (Maybe GlutWindow)
- glutGetScreenSize :: IO Size
- glutGetMenuNumItems :: IO Int
- glutDisplayModePossible :: IO Bool
- glutWindowBufferSize :: IO Int
- glutVersion :: IO Int
- glutOther :: Word32 -> IO Int
- glutGetModifiers :: IO [EventState]
- glutHasKeyboard :: IO Bool
- glutHasMouse :: IO Bool
- glutNumMouseButtons :: IO Int
- glutOverlayPossible :: IO Bool
- glutTransparencyIndex :: IO Int
- glutNormalDamaged :: IO Bool
- glutOverlayDamaged :: IO Bool
- glutWireSphere :: Double -> Int32 -> Int32 -> IO ()
- glutSolidSphere :: Double -> Int32 -> Int32 -> IO ()
- glutWireCone :: Double -> Double -> Int32 -> Int32 -> IO ()
- glutSolidCone :: Double -> Double -> Int32 -> Int32 -> IO ()
- glutWireCube :: Double -> IO ()
- glutSolidCube :: Double -> IO ()
- glutWireTorus :: Double -> Double -> Int32 -> Int32 -> IO ()
- glutSolidTorus :: Double -> Double -> Int32 -> Int32 -> IO ()
- glutWireDodecahedron :: IO ()
- glutSolidDodecahedron :: IO ()
- glutWireTeapot :: Double -> IO ()
- glutSolidTeapot :: Double -> IO ()
- glutWireOctahedron :: IO ()
- glutSolidOctahedron :: IO ()
- glutWireTetrahedron :: IO ()
- glutSolidTetrahedron :: IO ()
- glutWireIcosahedron :: IO ()
- glutSolidIcosahedron :: IO ()
Glut attributes
Instances
Enum GlutDraw Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut | |
Show GlutDraw Source # | |
data GlutMouseCodes Source #
Instances
Enum GlutMouseCodes Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutMouseCodes -> GlutMouseCodes # pred :: GlutMouseCodes -> GlutMouseCodes # toEnum :: Int -> GlutMouseCodes # fromEnum :: GlutMouseCodes -> Int # enumFrom :: GlutMouseCodes -> [GlutMouseCodes] # enumFromThen :: GlutMouseCodes -> GlutMouseCodes -> [GlutMouseCodes] # enumFromTo :: GlutMouseCodes -> GlutMouseCodes -> [GlutMouseCodes] # enumFromThenTo :: GlutMouseCodes -> GlutMouseCodes -> GlutMouseCodes -> [GlutMouseCodes] # | |
Show GlutMouseCodes Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutMouseCodes -> ShowS # show :: GlutMouseCodes -> String # showList :: [GlutMouseCodes] -> ShowS # |
data GlutUpDown Source #
Instances
Enum GlutUpDown Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutUpDown -> GlutUpDown # pred :: GlutUpDown -> GlutUpDown # toEnum :: Int -> GlutUpDown # fromEnum :: GlutUpDown -> Int # enumFrom :: GlutUpDown -> [GlutUpDown] # enumFromThen :: GlutUpDown -> GlutUpDown -> [GlutUpDown] # enumFromTo :: GlutUpDown -> GlutUpDown -> [GlutUpDown] # enumFromThenTo :: GlutUpDown -> GlutUpDown -> GlutUpDown -> [GlutUpDown] # | |
Show GlutUpDown Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutUpDown -> ShowS # show :: GlutUpDown -> String # showList :: [GlutUpDown] -> ShowS # |
data GlutVisibility Source #
Instances
Enum GlutVisibility Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutVisibility -> GlutVisibility # pred :: GlutVisibility -> GlutVisibility # toEnum :: Int -> GlutVisibility # fromEnum :: GlutVisibility -> Int # enumFrom :: GlutVisibility -> [GlutVisibility] # enumFromThen :: GlutVisibility -> GlutVisibility -> [GlutVisibility] # enumFromTo :: GlutVisibility -> GlutVisibility -> [GlutVisibility] # enumFromThenTo :: GlutVisibility -> GlutVisibility -> GlutVisibility -> [GlutVisibility] # | |
Show GlutVisibility Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutVisibility -> ShowS # show :: GlutVisibility -> String # showList :: [GlutVisibility] -> ShowS # |
data GlutMenuState Source #
Instances
Enum GlutMenuState Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutMenuState -> GlutMenuState # pred :: GlutMenuState -> GlutMenuState # toEnum :: Int -> GlutMenuState # fromEnum :: GlutMenuState -> Int # enumFrom :: GlutMenuState -> [GlutMenuState] # enumFromThen :: GlutMenuState -> GlutMenuState -> [GlutMenuState] # enumFromTo :: GlutMenuState -> GlutMenuState -> [GlutMenuState] # enumFromThenTo :: GlutMenuState -> GlutMenuState -> GlutMenuState -> [GlutMenuState] # | |
Show GlutMenuState Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutMenuState -> ShowS # show :: GlutMenuState -> String # showList :: [GlutMenuState] -> ShowS # |
data GlutMenuItems Source #
Instances
Enum GlutMenuItems Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutMenuItems -> GlutMenuItems # pred :: GlutMenuItems -> GlutMenuItems # toEnum :: Int -> GlutMenuItems # fromEnum :: GlutMenuItems -> Int # enumFrom :: GlutMenuItems -> [GlutMenuItems] # enumFromThen :: GlutMenuItems -> GlutMenuItems -> [GlutMenuItems] # enumFromTo :: GlutMenuItems -> GlutMenuItems -> [GlutMenuItems] # enumFromThenTo :: GlutMenuItems -> GlutMenuItems -> GlutMenuItems -> [GlutMenuItems] # | |
Show GlutMenuItems Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutMenuItems -> ShowS # show :: GlutMenuItems -> String # showList :: [GlutMenuItems] -> ShowS # |
data GlutEnteredLeft Source #
Instances
Enum GlutEnteredLeft Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutEnteredLeft -> GlutEnteredLeft # pred :: GlutEnteredLeft -> GlutEnteredLeft # toEnum :: Int -> GlutEnteredLeft # fromEnum :: GlutEnteredLeft -> Int # enumFrom :: GlutEnteredLeft -> [GlutEnteredLeft] # enumFromThen :: GlutEnteredLeft -> GlutEnteredLeft -> [GlutEnteredLeft] # enumFromTo :: GlutEnteredLeft -> GlutEnteredLeft -> [GlutEnteredLeft] # enumFromThenTo :: GlutEnteredLeft -> GlutEnteredLeft -> GlutEnteredLeft -> [GlutEnteredLeft] # | |
Show GlutEnteredLeft Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutEnteredLeft -> ShowS # show :: GlutEnteredLeft -> String # showList :: [GlutEnteredLeft] -> ShowS # |
data GlutKeyboardCodes Source #
Instances
Enum GlutKeyboardCodes Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutKeyboardCodes -> GlutKeyboardCodes # pred :: GlutKeyboardCodes -> GlutKeyboardCodes # toEnum :: Int -> GlutKeyboardCodes # fromEnum :: GlutKeyboardCodes -> Int # enumFrom :: GlutKeyboardCodes -> [GlutKeyboardCodes] # enumFromThen :: GlutKeyboardCodes -> GlutKeyboardCodes -> [GlutKeyboardCodes] # enumFromTo :: GlutKeyboardCodes -> GlutKeyboardCodes -> [GlutKeyboardCodes] # enumFromThenTo :: GlutKeyboardCodes -> GlutKeyboardCodes -> GlutKeyboardCodes -> [GlutKeyboardCodes] # | |
Show GlutKeyboardCodes Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutKeyboardCodes -> ShowS # show :: GlutKeyboardCodes -> String # showList :: [GlutKeyboardCodes] -> ShowS # |
data GlutConstants Source #
GlutReturnZero | |
GlutDisplayModePossible | |
GlutVersion | |
GlutOverlayPossible | |
GlutTransparentIndex | |
GlutNormalDamaged | |
GlutOverlayDamaged |
Instances
Enum GlutConstants Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutConstants -> GlutConstants # pred :: GlutConstants -> GlutConstants # toEnum :: Int -> GlutConstants # fromEnum :: GlutConstants -> Int # enumFrom :: GlutConstants -> [GlutConstants] # enumFromThen :: GlutConstants -> GlutConstants -> [GlutConstants] # enumFromTo :: GlutConstants -> GlutConstants -> [GlutConstants] # enumFromThenTo :: GlutConstants -> GlutConstants -> GlutConstants -> [GlutConstants] # | |
Show GlutConstants Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutConstants -> ShowS # show :: GlutConstants -> String # showList :: [GlutConstants] -> ShowS # |
data GlutWindowProperties Source #
Instances
data GlutCursor Source #
Instances
Enum GlutCursor Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutCursor -> GlutCursor # pred :: GlutCursor -> GlutCursor # toEnum :: Int -> GlutCursor # fromEnum :: GlutCursor -> Int # enumFrom :: GlutCursor -> [GlutCursor] # enumFromThen :: GlutCursor -> GlutCursor -> [GlutCursor] # enumFromTo :: GlutCursor -> GlutCursor -> [GlutCursor] # enumFromThenTo :: GlutCursor -> GlutCursor -> GlutCursor -> [GlutCursor] # | |
Show GlutCursor Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutCursor -> ShowS # show :: GlutCursor -> String # showList :: [GlutCursor] -> ShowS # |
data GlutDisplayMode Source #
Instances
Enum GlutDisplayMode Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut succ :: GlutDisplayMode -> GlutDisplayMode # pred :: GlutDisplayMode -> GlutDisplayMode # toEnum :: Int -> GlutDisplayMode # fromEnum :: GlutDisplayMode -> Int # enumFrom :: GlutDisplayMode -> [GlutDisplayMode] # enumFromThen :: GlutDisplayMode -> GlutDisplayMode -> [GlutDisplayMode] # enumFromTo :: GlutDisplayMode -> GlutDisplayMode -> [GlutDisplayMode] # enumFromThenTo :: GlutDisplayMode -> GlutDisplayMode -> GlutDisplayMode -> [GlutDisplayMode] # | |
Show GlutDisplayMode Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutDisplayMode -> ShowS # show :: GlutDisplayMode -> String # showList :: [GlutDisplayMode] -> ShowS # |
data GlutWindow Source #
Instances
Eq GlutWindow Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut (==) :: GlutWindow -> GlutWindow -> Bool # (/=) :: GlutWindow -> GlutWindow -> Bool # | |
Show GlutWindow Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Glut showsPrec :: Int -> GlutWindow -> ShowS # show :: GlutWindow -> String # showList :: [GlutWindow] -> ShowS # |
glutInitDisplayMode :: GlutDisplayMode -> IO () Source #
glutInitWindowPosition :: Position -> IO () Source #
glutInitWindowSize :: Size -> IO () Source #
glutMainLoop :: IO () Source #
glutCreateWindow :: Text -> IO GlutWindow Source #
glutCreateSubWindow :: GlutWindow -> Rectangle -> IO GlutWindow Source #
glutDestroyWindow :: GlutWindow -> IO () Source #
glutPostRedisplay :: IO () Source #
glutPostWindowRedisplay :: GlutWindow -> IO () Source #
glutSwapBuffers :: IO () Source #
glutSetWindow :: GlutWindow -> IO () Source #
glutSetWindowTitle :: Text -> IO () Source #
glutSetIconTitle :: Text -> IO () Source #
glutPositionWindow :: Position -> IO () Source #
glutReshapeWindow :: Size -> IO () Source #
glutPopWindow :: IO () Source #
glutPushWindow :: IO () Source #
glutIconifyWindow :: IO () Source #
glutShowWindow :: IO () Source #
glutHideWindow :: IO () Source #
glutFullScreen :: IO () Source #
glutSetCursor :: GlutCursor -> IO () Source #
glutWarpPointer :: Position -> IO () Source #
glutEstablishOverlay :: IO () Source #
glutRemoveOverlay :: IO () Source #
glutUseLayer :: Word32 -> IO () Source #
glutPostOverlayRedisplay :: IO () Source #
glutShowOverlay :: IO () Source #
glutHideOverlay :: IO () Source #
glutCreateMenu :: IO () -> IO () Source #
glutDestroyMenu :: GlutMenu -> IO () Source #
glutGetMenu :: IO GlutMenu Source #
glutSetMenu :: GlutMenu -> IO () Source #
glutAddMenuEntry :: Text -> IO () Source #
glutRemoveMenuItem :: Int -> IO () Source #
glutAttachMenu :: GlutMenu -> IO () Source #
glutDetachMenu :: GlutMenu -> IO () Source #
glutDisplayFunc :: IO () -> IO () Source #
glutMouseFunc :: (MouseButton -> GlutUpDown -> Position -> IO ()) -> IO () Source #
glutEntryFunc :: (GlutEnteredLeft -> IO ()) -> IO () Source #
glutVisibilityFunc :: (GlutVisibility -> IO ()) -> IO () Source #
glutIdleFunc :: IO () -> IO () Source #
glutMenuStateFunc :: (GlutMenuState -> IO ()) -> IO () Source #
glutMenuStatusFunc :: (GlutMenuState -> Position -> IO ()) -> IO () Source #
glutSpecialFunc :: (GlutKeyboardCodes -> Position -> IO ()) -> IO () Source #
glutOverlayDisplayFunc :: IO () -> IO () Source #
glutVersion :: IO Int Source #
glutGetModifiers :: IO [EventState] Source #
glutHasKeyboard :: IO Bool Source #
glutHasMouse :: IO Bool Source #
glutWireCube :: Double -> IO () Source #
glutSolidCube :: Double -> IO () Source #
glutWireDodecahedron :: IO () Source #
glutSolidDodecahedron :: IO () Source #
glutWireTeapot :: Double -> IO () Source #
glutSolidTeapot :: Double -> IO () Source #
glutWireOctahedron :: IO () Source #
glutSolidOctahedron :: IO () Source #
glutWireTetrahedron :: IO () Source #
glutSolidTetrahedron :: IO () Source #
glutWireIcosahedron :: IO () Source #
glutSolidIcosahedron :: IO () Source #