{-# LINE 1 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
{-# LANGUAGE CPP, ExistentialQuantification, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts, ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Graphics.UI.FLTK.LowLevel.GlWindow
(
glWindowNew,
glWindowCustom,
glWindowCanDo
)
where
import qualified Foreign.C.Types as C2HSImp
import qualified Foreign.Marshal.Utils as C2HSImp
import qualified Foreign.Ptr as C2HSImp
import Foreign
import Graphics.UI.FLTK.LowLevel.Fl_Types
import Graphics.UI.FLTK.LowLevel.Fl_Enumerations
import Graphics.UI.FLTK.LowLevel.Utils
import Graphics.UI.FLTK.LowLevel.Window
import Graphics.UI.FLTK.LowLevel.Widget
import Graphics.UI.FLTK.LowLevel.Hierarchy
import Graphics.UI.FLTK.LowLevel.Dispatch
import qualified Data.Text as T
overriddenWindowNew' :: (Int) -> (Int) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWindowNew' a1 a2 a3 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = id a3} in
overriddenWindowNew''_ a1' a2' a3' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 30 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
overriddenWindowNewXY' :: (Int) -> (Int) -> (Int) -> (Int) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWindowNewXY' a1 a2 a3 a4 a5 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = id a5} in
overriddenWindowNewXY''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 31 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
overriddenWindowNewXYWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (T.Text) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWindowNewXYWithLabel' a1 a2 a3 a4 a5 a6 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = unsafeToCString a5} in
let {a6' = id a6} in
overriddenWindowNewXYWithLabel''_ a1' a2' a3' a4' a5' a6' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 32 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
overriddenWindowNewWithLabel' :: (Int) -> (Int) -> (T.Text) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWindowNewWithLabel' a1 a2 a3 a4 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = unsafeToCString a3} in
let {a4' = id a4} in
overriddenWindowNewWithLabel''_ a1' a2' a3' a4' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 33 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
glWindowCustom :: Size
-> Maybe Position
-> Maybe T.Text
-> Maybe (Ref GlWindow -> IO ())
-> CustomWidgetFuncs GlWindow
-> CustomWindowFuncs GlWindow
-> IO (Ref GlWindow)
glWindowCustom size position title draw' customWidgetFuncs' customWindowFuncs' =
windowMaker
size
position
title
draw'
customWidgetFuncs'
customWindowFuncs'
overriddenWindowNew'
overriddenWindowNewWithLabel'
overriddenWindowNewXY'
overriddenWindowNewXYWithLabel'
glWindowNew :: Size -> Maybe Position -> Maybe T.Text -> IO (Ref GlWindow)
glWindowNew size position title =
windowMaker
size
position
title
Nothing
(defaultCustomWidgetFuncs :: CustomWidgetFuncs GlWindow)
(defaultCustomWindowFuncs :: CustomWindowFuncs GlWindow)
overriddenWindowNew'
overriddenWindowNewWithLabel'
overriddenWindowNewXY'
overriddenWindowNewXYWithLabel'
canDoWithM' :: (Int) -> IO ((Bool))
canDoWithM' a1 =
let {a1' = fromIntegral a1} in
canDoWithM''_ a1' >>= \res ->
let {res' = cToBool res} in
return (res')
{-# LINE 67 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
glWindowCanDo :: Mode -> IO Bool
glWindowCanDo m = canDoWithM' (fromEnum m)
drawSuper' :: (Ptr ()) -> IO ((()))
drawSuper' a1 =
let {a1' = id a1} in
drawSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 70 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (DrawSuper ()) GlWindow orig impl where
runOp _ _ self = withRef self $ \selfPtr -> drawSuper' selfPtr
hideSuper' :: (Ptr ()) -> IO ((()))
hideSuper' a1 =
let {a1' = id a1} in
hideSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 73 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (HideSuper ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> hideSuper' winPtr
flushSuper' :: (Ptr ()) -> IO ((()))
flushSuper' a1 =
let {a1' = id a1} in
flushSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 76 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (FlushSuper ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> flushSuper' winPtr
flush' :: (Ptr ()) -> IO ((()))
flush' a1 =
let {a1' = id a1} in
flush''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 79 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (Flush ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> flush' winPtr
showSuper' :: (Ptr ()) -> IO ((()))
showSuper' a1 =
let {a1' = id a1} in
showSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 82 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (ShowWidgetSuper ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> showSuper' winPtr
resizeSuper' :: (Ptr ()) -> (Int) -> (Int) -> (Int) -> (Int) -> IO ((()))
resizeSuper' a1 a2 a3 a4 a5 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = fromIntegral a5} in
resizeSuper''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 85 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (Rectangle -> IO ())) => Op (ResizeSuper ()) GlWindow orig impl where
runOp _ _ win rectangle' =
let (x_pos', y_pos', width', height') = fromRectangle rectangle' in
withRef win $ \winPtr -> resizeSuper' winPtr x_pos' y_pos' width' height'
hide' :: (Ptr ()) -> IO ((()))
hide' a1 =
let {a1' = id a1} in
hide''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 90 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (Hide ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> hide' winPtr
show' :: (Ptr ()) -> IO ((()))
show' a1 =
let {a1' = id a1} in
show''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 93 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (ShowWidget ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> show' winPtr
resize' :: (Ptr ()) -> (Int) -> (Int) -> (Int) -> (Int) -> IO ((()))
resize' a1 a2 a3 a4 a5 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
let {a5' = fromIntegral a5} in
resize''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 96 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (Rectangle -> IO ())) => Op (Resize ()) GlWindow orig impl where
runOp _ _ win rectangle' =
let (x_pos', y_pos', width', height') = fromRectangle rectangle' in
withRef win $ \winPtr -> resize' winPtr x_pos' y_pos' width' height'
handle' :: (Ptr ()) -> (Event) -> IO ((Int))
handle' a1 a2 =
let {a1' = id a1} in
let {a2' = cFromEnum a2} in
handle''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 101 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (Event -> IO(Either UnknownEvent ()))) => Op (Handle ()) GlWindow orig impl where
runOp _ _ self event = withRef self $ \selfPtr -> handle' selfPtr event >>= return . successOrUnknownEvent
handleSuper' :: (Ptr ()) -> (Event) -> IO ((Int))
handleSuper' a1 a2 =
let {a1' = id a1} in
let {a2' = cFromEnum a2} in
handleSuper''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 104 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (HandleSuper ()) GlWindow orig impl where
runOp _ _ self event = withRef self $ \selfPtr -> handleSuper' selfPtr event >>= return . successOrUnknownEvent
windowDestroy' :: (Ptr ()) -> IO ((()))
windowDestroy' a1 =
let {a1' = id a1} in
windowDestroy''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 107 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (IO ())) => Op (Destroy ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> windowDestroy' winPtr
valid' :: (Ptr ()) -> IO ((Bool))
valid' a1 =
let {a1' = id a1} in
valid''_ a1' >>= \res ->
let {res' = C2HSImp.toBool res} in
return (res')
{-# LINE 110 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Bool))) => Op (GetValid ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> valid' winPtr
setValid' :: (Ptr ()) -> (Bool) -> IO ((()))
setValid' a1 a2 =
let {a1' = id a1} in
let {a2' = C2HSImp.fromBool a2} in
setValid''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 113 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (Bool -> IO ())) => Op (SetValid ()) GlWindow orig impl where
runOp _ _ win v = withRef win $ \winPtr -> setValid' winPtr v
invalidate' :: (Ptr ()) -> IO ((()))
invalidate' a1 =
let {a1' = id a1} in
invalidate''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 116 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (Invalidate ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> invalidate' winPtr
contextValid' :: (Ptr ()) -> IO ((Bool))
contextValid' a1 =
let {a1' = id a1} in
contextValid''_ a1' >>= \res ->
let {res' = toBool res} in
return (res')
{-# LINE 119 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Bool))) => Op (GetContextValid ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> contextValid' winPtr
setContextValid' :: (Ptr ()) -> (Bool) -> IO ((()))
setContextValid' a1 a2 =
let {a1' = id a1} in
let {a2' = fromBool a2} in
setContextValid''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 122 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (Bool -> IO ())) => Op (SetContextValid ()) GlWindow orig impl where
runOp _ _ win v = withRef win $ \winPtr -> setContextValid' winPtr v
canDo' :: (Ptr ()) -> IO ((Bool))
canDo' a1 =
let {a1' = id a1} in
canDo''_ a1' >>= \res ->
let {res' = cToBool res} in
return (res')
{-# LINE 125 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Bool))) => Op (CanDo ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> canDo' winPtr
mode' :: (Ptr ()) -> IO ((Int))
mode' a1 =
let {a1' = id a1} in
mode''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 128 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Mode))) => Op (GetMode ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> mode' winPtr >>= return . toEnum
setMode' :: (Ptr ()) -> (Int) -> IO ((Int))
setMode' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
setMode''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 131 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ (Modes -> IO ())) => Op (SetMode ()) GlWindow orig impl where
runOp _ _ win a = withRef win $ \winPtr -> setMode' winPtr (modesToInt a) >> return ()
context' :: (Ptr ()) -> IO ((Ref GlContext))
context' a1 =
let {a1' = id a1} in
context''_ a1' >>= \res ->
let {res' = unsafeToRef res} in
return (res')
{-# LINE 134 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Ref GlContext))) => Op (GetContext ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> context' winPtr
setContext' :: (Ptr ()) -> (Ptr ()) -> IO ((()))
setContext' a1 a2 =
let {a1' = id a1} in
let {a2' = id a2} in
setContext''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 137 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( Ref GlContext -> IO ())) => Op (SetContext ()) GlWindow orig impl where
runOp _ _ win context = withRef win $ \winPtr -> withRef context $ \contextPtr -> setContext' winPtr contextPtr
setContextWithDestroyFlag' :: (Ptr ()) -> (Ptr ()) -> (Bool) -> IO ((()))
setContextWithDestroyFlag' a1 a2 a3 =
let {a1' = id a1} in
let {a2' = id a2} in
let {a3' = fromBool a3} in
setContextWithDestroyFlag''_ a1' a2' a3' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 140 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( Ref GlContext -> Bool -> IO ())) => Op (SetContextWithDestroyFlag ()) GlWindow orig impl where
runOp _ _ win context destroyFlag= withRef win $ \winPtr -> withRef context $ \contextPtr -> setContextWithDestroyFlag' winPtr contextPtr destroyFlag
swapBuffers' :: (Ptr ()) -> IO ((()))
swapBuffers' a1 =
let {a1' = id a1} in
swapBuffers''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 143 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (SwapBuffers ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> swapBuffers' winPtr
ortho' :: (Ptr ()) -> IO ((()))
ortho' a1 =
let {a1' = id a1} in
ortho''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 146 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (Ortho ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> ortho' winPtr
canDoOverlay' :: (Ptr ()) -> IO ((Bool))
canDoOverlay' a1 =
let {a1' = id a1} in
canDoOverlay''_ a1' >>= \res ->
let {res' = cToBool res} in
return (res')
{-# LINE 149 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Bool))) => Op (CanDoOverlay ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> canDoOverlay' winPtr
redrawOverlay' :: (Ptr ()) -> IO ((()))
redrawOverlay' a1 =
let {a1' = id a1} in
redrawOverlay''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 152 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (RedrawOverlay ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> redrawOverlay' winPtr
hideOverlay' :: (Ptr ()) -> IO ((()))
hideOverlay' a1 =
let {a1' = id a1} in
hideOverlay''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 155 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (HideOverlay ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> hideOverlay' winPtr
makeOverlayCurrent' :: (Ptr ()) -> IO ((()))
makeOverlayCurrent' a1 =
let {a1' = id a1} in
makeOverlayCurrent''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 158 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO ())) => Op (MakeOverlayCurrent ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> makeOverlayCurrent' winPtr
pixelsPerUnit' :: (Ptr ()) -> IO ((Float))
pixelsPerUnit' a1 =
let {a1' = id a1} in
pixelsPerUnit''_ a1' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 162 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Float))) => Op (PixelsPerUnit ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> pixelsPerUnit' winPtr
pixelH' :: (Ptr ()) -> IO ((Int))
pixelH' a1 =
let {a1' = id a1} in
pixelH''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 165 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Int))) => Op (PixelH ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> pixelH' winPtr
pixelW' :: (Ptr ()) -> IO ((Int))
pixelW' a1 =
let {a1' = id a1} in
pixelW''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 168 "src/Graphics/UI/FLTK/LowLevel/GlWindow.chs" #-}
instance (impl ~ ( IO (Int))) => Op (PixelW ()) GlWindow orig impl where
runOp _ _ win = withRef win $ \winPtr -> pixelW' winPtr
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_OverriddenGl_Window_New"
overriddenWindowNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_OverriddenGl_Window_NewXY"
overriddenWindowNewXY''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_OverriddenGl_Window_NewXY_WithLabel"
overriddenWindowNewXYWithLabel''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr C2HSImp.CChar) -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ()))))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_OverriddenGl_Window_New_WithLabel"
overriddenWindowNewWithLabel''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr C2HSImp.CChar) -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_can_do_with_m"
canDoWithM''_ :: (C2HSImp.CInt -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_draw_super"
drawSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_hide_super"
hideSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_flush_super"
flushSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_flush"
flush''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_show_super"
showSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_resize_super"
resizeSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_hide"
hide''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_show"
show''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_resize"
resize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_handle"
handle''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_handle_super"
handleSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_Destroy"
windowDestroy''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_valid"
valid''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CChar))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_set_valid"
setValid''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CChar -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_invalidate"
invalidate''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_context_valid"
contextValid''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CChar))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_set_context_valid"
setContextValid''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CChar -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_can_do"
canDo''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_mode"
mode''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_set_mode"
setMode''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_context"
context''_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_set_context"
setContext''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_set_context_with_destroy_flag"
setContextWithDestroyFlag''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ()))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_swap_buffers"
swapBuffers''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_ortho"
ortho''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_can_do_overlay"
canDoOverlay''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_redraw_overlay"
redrawOverlay''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_hide_overlay"
hideOverlay''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_make_overlay_current"
makeOverlayCurrent''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_pixels_per_unit"
pixelsPerUnit''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CFloat))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_pixel_h"
pixelH''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/GlWindow.chs.h Fl_Gl_Window_pixel_w"
pixelW''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))