{-# LINE 1 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
{-# LANGUAGE CPP, ExistentialQuantification, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts, ScopedTypeVariables, UndecidableInstances #-}
module Graphics.UI.FLTK.LowLevel.SimpleTerminal
(
simpleTerminalNew,
simpleTerminalCustom
)
where
import qualified Foreign.C.Types as C2HSImp
import qualified Foreign.Ptr as C2HSImp
import C2HS hiding (cFromEnum, cFromBool, cToBool,cToEnum)
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.Widget
import Graphics.UI.FLTK.LowLevel.TextDisplay
import Graphics.UI.FLTK.LowLevel.Hierarchy
import Graphics.UI.FLTK.LowLevel.Dispatch
import qualified Data.Text as T
import qualified Foreign.ForeignPtr.Unsafe as Unsafe
simpleTerminalNew' :: (Int) -> (Int) -> (Int) -> (Int) -> IO ((Ptr ()))
simpleTerminalNew' a1 a2 a3 a4 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
simpleTerminalNew''_ a1' a2' a3' a4' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 29 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
simpleTerminalNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (CString) -> IO ((Ptr ()))
simpleTerminalNewWithLabel' 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
(flip ($)) a5 $ \a5' ->
simpleTerminalNewWithLabel''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 30 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
simpleTerminalNew :: Rectangle -> Maybe T.Text -> IO (Ref SimpleTerminal)
simpleTerminalNew rectangle l' =
widgetMaker
rectangle
l'
Nothing
Nothing
overriddenWidgetNew'
overriddenWidgetNewWithLabel'
overriddenWidgetNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (CString) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWidgetNewWithLabel' 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
(flip ($)) a5 $ \a5' ->
let {a6' = id a6} in
overriddenWidgetNewWithLabel''_ a1' a2' a3' a4' a5' a6' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 41 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
overriddenWidgetNew' :: (Int) -> (Int) -> (Int) -> (Int) -> (Ptr ()) -> IO ((Ptr ()))
overriddenWidgetNew' 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
overriddenWidgetNew''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 42 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
simpleTerminalCustom ::
Rectangle
-> Maybe T.Text
-> Maybe (Ref SimpleTerminal -> IO ())
-> IO (Ref SimpleTerminal)
simpleTerminalCustom rectangle l' draw' =
widgetMaker
rectangle
l'
draw'
Nothing
overriddenWidgetNew'
overriddenWidgetNewWithLabel'
setStayAtBottom' :: (Ptr ()) -> (Bool) -> IO ()
setStayAtBottom' a1 a2 =
let {a1' = id a1} in
let {a2' = cFromBool a2} in
setStayAtBottom''_ a1' a2' >>
return ()
{-# LINE 57 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (Bool -> IO ())) => Op (SetStayAtBottom ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal b = withRef simple_terminal $ \simple_terminalPtr -> setStayAtBottom' simple_terminalPtr b
getStayAtBottom' :: (Ptr ()) -> IO ((Bool))
getStayAtBottom' a1 =
let {a1' = id a1} in
getStayAtBottom''_ a1' >>= \res ->
let {res' = cToBool res} in
return (res')
{-# LINE 60 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (IO Bool)) => Op (GetStayAtBottom ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal = withRef simple_terminal $ \simple_terminalPtr -> getStayAtBottom' simple_terminalPtr
setAnsi' :: (Ptr ()) -> (Bool) -> IO ()
setAnsi' a1 a2 =
let {a1' = id a1} in
let {a2' = cFromBool a2} in
setAnsi''_ a1' a2' >>
return ()
{-# LINE 63 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (Bool -> IO ())) => Op (SetAnsi ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal b = withRef simple_terminal $ \simple_terminalPtr -> setAnsi' simple_terminalPtr b
getAnsi' :: (Ptr ()) -> IO ((Bool))
getAnsi' a1 =
let {a1' = id a1} in
getAnsi''_ a1' >>= \res ->
let {res' = cToBool res} in
return (res')
{-# LINE 66 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (IO Bool)) => Op (GetAnsi ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal = withRef simple_terminal $ \simple_terminalPtr -> getAnsi' simple_terminalPtr
setHistoryLines' :: (Ptr ()) -> (Int) -> IO ()
setHistoryLines' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
setHistoryLines''_ a1' a2' >>
return ()
{-# LINE 69 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (Lines -> IO ())) => Op (SetHistoryLines ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal (Lines b) = withRef simple_terminal $ \simple_terminalPtr -> setHistoryLines' simple_terminalPtr b
getHistoryLines' :: (Ptr ()) -> IO ((Int))
getHistoryLines' a1 =
let {a1' = id a1} in
getHistoryLines''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 72 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (IO Lines)) => Op (GetHistoryLines ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal = withRef simple_terminal $ \simple_terminalPtr -> getHistoryLines' simple_terminalPtr >>= return . Lines
setNormalStyleIndex' :: (Ptr ()) -> (Int) -> IO ()
setNormalStyleIndex' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
setNormalStyleIndex''_ a1' a2' >>
return ()
{-# LINE 75 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (AtIndex -> IO ())) => Op (SetNormalStyleIndex ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal (AtIndex b) = withRef simple_terminal $ \simple_terminalPtr -> setNormalStyleIndex' simple_terminalPtr b
getNormalStyleIndex' :: (Ptr ()) -> IO ((Int))
getNormalStyleIndex' a1 =
let {a1' = id a1} in
getNormalStyleIndex''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 78 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (IO AtIndex)) => Op (GetNormalStyleIndex ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal = withRef simple_terminal $ \simple_terminalPtr -> getNormalStyleIndex' simple_terminalPtr >>= return . AtIndex
setCurrentStyleIndex' :: (Ptr ()) -> (Int) -> IO ()
setCurrentStyleIndex' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
setCurrentStyleIndex''_ a1' a2' >>
return ()
{-# LINE 81 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (AtIndex -> IO ())) => Op (SetCurrentStyleIndex ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal (AtIndex b) = withRef simple_terminal $ \simple_terminalPtr -> setCurrentStyleIndex' simple_terminalPtr b
getCurrentStyleIndex' :: (Ptr ()) -> IO ((Int))
getCurrentStyleIndex' a1 =
let {a1' = id a1} in
getCurrentStyleIndex''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 84 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (IO AtIndex)) => Op (GetCurrentStyleIndex ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal = withRef simple_terminal $ \simple_terminalPtr -> getCurrentStyleIndex' simple_terminalPtr >>= return . AtIndex
setText' :: (Ptr ()) -> (CString) -> IO ()
setText' a1 a2 =
let {a1' = id a1} in
(flip ($)) a2 $ \a2' ->
setText''_ a1' a2' >>
return ()
{-# LINE 87 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (T.Text -> IO ())) => Op (SetText ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal val = withRef simple_terminal $ \simple_terminalPtr -> copyTextToCString val >>= setText' simple_terminalPtr
getText' :: (Ptr ()) -> IO ((CString))
getText' a1 =
let {a1' = id a1} in
getText''_ a1' >>= \res ->
return res >>= \res' ->
return (res')
{-# LINE 90 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ ( IO T.Text)) => Op (GetText ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal = withRef simple_terminal $ \simple_terminalPtr -> getText' simple_terminalPtr >>= cStringToText
clear'' :: (Ptr ()) -> IO ()
clear'' a1 =
let {a1' = id a1} in
clear'''_ a1' >>
return ()
{-# LINE 93 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ ( IO ())) => Op (Clear ()) SimpleTerminal orig impl where
runOp _ _ simpleTerminal = withRef simpleTerminal $ \simpleTerminalPtr -> clear'' simpleTerminalPtr
removeLines' :: (Ptr ()) -> (Int) -> (Int) -> IO ()
removeLines' a1 a2 a3 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
removeLines''_ a1' a2' a3' >>
return ()
{-# LINE 96 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (LineNumber -> LineNumber -> IO ())) => Op (RemoveLines ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal (LineNumber start) (LineNumber count) = withRef simple_terminal $ \simple_terminalPtr -> removeLines' simple_terminalPtr start count
setStyleTable' :: (Ptr ()) -> (Ptr ()) -> (Int) -> (Int) -> IO ()
setStyleTable' a1 a2 a3 a4 =
let {a1' = id a1} in
let {a2' = id a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
setStyleTable''_ a1' a2' a3' a4' >>
return ()
{-# LINE 99 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ ([StyleTableEntry] -> Maybe Int -> IO ())) => Op (SetStyleTable ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal styleTable normal_style_index =
withRef simple_terminal $ \simple_terminalPtr -> do
stesPtr <- mkStyleTableEntriesPtr simple_terminal styleTable
setStyleTable'
simple_terminalPtr
(castPtr (Unsafe.unsafeForeignPtrToPtr stesPtr))
(length styleTable)
(maybe 0 id normal_style_index)
getStyleTableSize' :: (Ptr ()) -> IO ((Int))
getStyleTableSize' a1 =
let {a1' = id a1} in
getStyleTableSize''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 109 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (IO Int)) => Op (GetStyleTableSize ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal = withRef simple_terminal $ \simple_terminalPtr -> getStyleTableSize' simple_terminalPtr
getStyleTable' :: (Ptr ()) -> IO ((Ptr ()))
getStyleTable' a1 =
let {a1' = id a1} in
getStyleTable''_ a1' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 112 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (IO (Maybe [StyleTableEntry]))) => Op (GetStyleTable ()) SimpleTerminal orig impl where
runOp _ _ simple_terminal =
withRef simple_terminal $ \simple_terminalPtr -> do
size <- getStyleTableSize simple_terminal
ptr <- getStyleTable' simple_terminalPtr
toStyleTableEntries size ptr
drawSuper' :: (Ptr ()) -> IO ((()))
drawSuper' a1 =
let {a1' = id a1} in
drawSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 120 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ ( IO ())) => Op (DrawSuper ()) SimpleTerminal orig impl where
runOp _ _ textDisplay = withRef textDisplay $ \textDisplayPtr -> drawSuper' textDisplayPtr
handleSuper' :: (Ptr ()) -> (Int) -> IO ((Int))
handleSuper' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
handleSuper''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 123 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (HandleSuper ()) SimpleTerminal orig impl where
runOp _ _ textDisplay event = withRef textDisplay $ \textDisplayPtr -> handleSuper' textDisplayPtr (fromIntegral (fromEnum event)) >>= return . successOrUnknownEvent
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 126 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ (Rectangle -> IO ())) => Op (ResizeSuper ()) SimpleTerminal orig impl where
runOp _ _ textDisplay rectangle =
let (x_pos, y_pos, width, height) = fromRectangle rectangle
in withRef textDisplay $ \textDisplayPtr -> resizeSuper' textDisplayPtr x_pos y_pos width height
hideSuper' :: (Ptr ()) -> IO ((()))
hideSuper' a1 =
let {a1' = id a1} in
hideSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 131 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ ( IO ())) => Op (HideSuper ()) SimpleTerminal orig impl where
runOp _ _ textDisplay = withRef textDisplay $ \textDisplayPtr -> hideSuper' textDisplayPtr
showSuper' :: (Ptr ()) -> IO ((()))
showSuper' a1 =
let {a1' = id a1} in
showSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 134 "src/Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs" #-}
instance (impl ~ ( IO ())) => Op (ShowWidgetSuper ()) SimpleTerminal orig impl where
runOp _ _ textDisplay = withRef textDisplay $ \textDisplayPtr -> showSuper' textDisplayPtr
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_New"
simpleTerminalNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_New_WithLabel"
simpleTerminalNewWithLabel''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO (C2HSImp.Ptr ())))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_OverriddenSimple_Terminal_New_WithLabel"
overriddenWidgetNewWithLabel''_ :: (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/SimpleTerminal.chs.h Fl_OverriddenSimple_Terminal_New"
overriddenWidgetNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_set_stay_at_bottom"
setStayAtBottom''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_stay_at_bottom"
getStayAtBottom''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_set_ansi"
setAnsi''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_ansi"
getAnsi''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_set_history_lines"
setHistoryLines''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_history_lines"
getHistoryLines''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_set_normal_style_index"
setNormalStyleIndex''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_normal_style_index"
getNormalStyleIndex''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_set_current_style_index"
setCurrentStyleIndex''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_current_style_index"
getCurrentStyleIndex''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_set_text"
setText''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_text"
getText''_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr C2HSImp.CChar)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_clear"
clear'''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_remove_lines"
removeLines''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_set_style_table"
setStyleTable''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ())))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_style_table_size"
getStyleTableSize''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_get_style_table"
getStyleTable''_ :: ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_draw_super"
drawSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_handle_super"
handleSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_resize_super"
resizeSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_hide_super"
hideSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/SimpleTerminal.chs.h Fl_Simple_Terminal_show_super"
showSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))