-- GENERATED by C->Haskell Compiler, version 0.28.6 Switcheroo, 25 November 2017 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}
{-# LANGUAGE CPP, ExistentialQuantification, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts, ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Graphics.UI.FLTK.LowLevel.Base.ValueInput
    (
     -- * Constructor
     valueInputNew,
     valueInputCustom
  , drawValueInputBase
  , handleValueInputBase
  , resizeValueInputBase
  , hideValueInputBase
  , showWidgetValueInputBase
     -- * Hierarchy
     --
     -- $hierarchy

     -- * Functions
     --
     -- $functions
    )
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.Base.Widget
import Graphics.UI.FLTK.LowLevel.Fl_Enumerations
import Graphics.UI.FLTK.LowLevel.Fl_Types
import Graphics.UI.FLTK.LowLevel.Utils
import Graphics.UI.FLTK.LowLevel.Hierarchy
import Graphics.UI.FLTK.LowLevel.Dispatch
import qualified Data.Text as T
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 33 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.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 34 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

valueInputCustom ::
       Rectangle                         -- ^ The bounds of this ValueInput
    -> Maybe T.Text                      -- ^ The ValueInput label
    -> Maybe (Ref ValueInput -> IO ())           -- ^ Optional custom drawing function
    -> Maybe (CustomWidgetFuncs ValueInput)      -- ^ Optional custom widget functions
    -> IO (Ref ValueInput)
valueInputCustom rectangle l' draw' funcs' =
  widgetMaker
    rectangle
    l'
    draw'
    funcs'
    overriddenWidgetNew'
    overriddenWidgetNewWithLabel'

valueInputNew' :: (Int) -> (Int) -> (Int) -> (Int) -> IO ((Ptr ()))
valueInputNew' :: Int -> Int -> Int -> Int -> IO (Ptr ())
valueInputNew' a1 :: Int
a1 a2 :: Int
a2 a3 :: Int
a3 a4 :: Int
a4 =
  let {a1' :: CInt
a1' = Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral Int
a1} in 
  let {a2' :: CInt
a2' = Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral Int
a2} in 
  let {a3' :: CInt
a3' = Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral Int
a3} in 
  let {a4' :: CInt
a4' = Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral Int
a4} in 
  CInt -> CInt -> CInt -> CInt -> IO (Ptr ())
valueInputNew''_ CInt
a1' CInt
a2' CInt
a3' CInt
a4' IO (Ptr ()) -> (Ptr () -> IO (Ptr ())) -> IO (Ptr ())
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
>>= \res :: Ptr ()
res ->
  let {res' :: Ptr ()
res' = Ptr () -> Ptr ()
forall a. a -> a
id Ptr ()
res} in
  Ptr () -> IO (Ptr ())
forall (m :: * -> *) a. Monad m => a -> m a
return (Ptr ()
res')

{-# LINE 50 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

valueInputNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (CString) -> IO ((Ptr ()))
valueInputNewWithLabel' 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' -> 
  valueInputNewWithLabel''_ a1' a2' a3' a4' a5' >>= \res ->
  let {res' = id res} in
  return (res')

{-# LINE 51 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

valueInputNew :: Rectangle -> Maybe T.Text -> IO (Ref ValueInput)
valueInputNew rectangle l'=
  widgetMaker
    rectangle
    l'
    Nothing
    Nothing
    overriddenWidgetNew'
    overriddenWidgetNewWithLabel'

valueInputDestroy' :: (Ptr ()) -> IO ((()))
valueInputDestroy' :: Ptr () -> IO ()
valueInputDestroy' a1 =
  let {a1' = id a1} in 
  valueInputDestroy''_ a1' >>= \res ->
  let {res' = () -> ()
forall a. a -> ()
supressWarningAboutRes ()
res} in
  () -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return (()
res')

{-# LINE 62 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (IO ())) => Op (Destroy ()) ValueInputBase orig impl where
  runOp _ _ win = swapRef win $ \winPtr -> do
    valueInputDestroy' winPtr
    return nullPtr
soft' :: (Ptr ()) -> IO ((Bool))
soft' a1 =
  let {a1' = id a1} in 
  soft''_ a1' >>= \res ->
  let {res' = cToBool res} in
  return (res')

{-# LINE 67 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ ( IO (Bool))) => Op (GetSoft ()) ValueInputBase orig impl where
  runOp _ _ value_input = withRef value_input $ \value_inputPtr -> soft' value_inputPtr
setSoft' :: (Ptr ()) -> (Bool) -> IO ()
setSoft' a1 a2 =
  let {a1' = id a1} in 
  let {a2' = cFromBool a2} in 
  setSoft''_ a1' a2' >>
  return ()

{-# LINE 70 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (Bool->  IO ())) => Op (SetSoft ()) ValueInputBase orig impl where
  runOp _ _ value_input s = withRef value_input $ \value_inputPtr -> setSoft' value_inputPtr s
shortcut' :: (Ptr ()) -> IO ((CInt))
shortcut' a1 =
  let {a1' = id a1} in 
  shortcut''_ a1' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 73 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ ( IO (Maybe ShortcutKeySequence))) => Op (GetShortcut ()) ValueInputBase orig impl where
  runOp _ _ value_input = withRef value_input $ \value_inputPtr -> shortcut' value_inputPtr >>= return . cIntToKeySequence
setShortcut' :: (Ptr ()) -> (CInt) -> IO ()
setShortcut' a1 a2 =
  let {a1' = id a1} in 
  let {a2' = id a2} in 
  setShortcut''_ a1' a2' >>
  return ()

{-# LINE 76 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (ShortcutKeySequence ->  IO ())) => Op (SetShortcut ()) ValueInputBase orig impl where
  runOp _ _ input (ShortcutKeySequence modifiers char) =
    withRef input $ \inputPtr -> setShortcut' inputPtr (keySequenceToCInt modifiers char)
textfont' :: (Ptr ()) -> IO ((Font))
textfont' a1 =
  let {a1' = id a1} in 
  textfont''_ a1' >>= \res ->
  let {res' = cToFont res} in
  return (res')

{-# LINE 80 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ ( IO (Font))) => Op (GetTextfont ()) ValueInputBase orig impl where
  runOp _ _ value_input = withRef value_input $ \value_inputPtr -> textfont' value_inputPtr
setTextfont' :: (Ptr ()) -> (Int) -> IO ()
setTextfont' a1 a2 =
  let {a1' = id a1} in 
  let {a2' = fromIntegral a2} in 
  setTextfont''_ a1' a2' >>
  return ()

{-# LINE 83 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (Font ->  IO ())) => Op (SetTextfont ()) ValueInputBase orig impl where
  runOp _ _ value_input (Font v) = withRef value_input $ \value_inputPtr -> setTextfont' value_inputPtr v
textsize' :: (Ptr ()) -> IO ((CInt))
textsize' a1 =
  let {a1' = id a1} in 
  textsize''_ a1' >>= \res ->
  let {res' = id res} in
  return (res')

{-# LINE 86 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ ( IO (FontSize))) => Op (GetTextsize ()) ValueInputBase orig impl where
  runOp _ _ value_input = withRef value_input $ \value_inputPtr -> textsize' value_inputPtr >>= return . FontSize
setTextsize' :: (Ptr ()) -> (CInt) -> IO ()
setTextsize' a1 a2 =
  let {a1' = id a1} in 
  let {a2' = id a2} in 
  setTextsize''_ a1' a2' >>
  return ()

{-# LINE 89 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (FontSize ->  IO ())) => Op (SetTextsize ()) ValueInputBase orig impl where
  runOp _ _ value_input (FontSize v) = withRef value_input $ \value_inputPtr -> setTextsize' value_inputPtr v
textcolor' :: (Ptr ()) -> IO ((Color))
textcolor' a1 =
  let {a1' = id a1} in 
  textcolor''_ a1' >>= \res ->
  let {res' = cToColor res} in
  return (res')

{-# LINE 92 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ ( IO (Color))) => Op (GetTextcolor ()) ValueInputBase orig impl where
  runOp _ _ value_input = withRef value_input $ \value_inputPtr -> textcolor' value_inputPtr
setTextcolor' :: (Ptr ()) -> (CInt) -> IO ()
setTextcolor' a1 a2 =
  let {a1' = id a1} in 
  let {a2' = id a2} in 
  setTextcolor''_ a1' a2' >>
  return ()

{-# LINE 95 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (Color ->  IO ())) => Op (SetTextcolor ()) ValueInputBase orig impl where
  runOp _ _ value_input (Color v) = withRef value_input $ \value_inputPtr -> setTextcolor' value_inputPtr (fromIntegral v)


drawSuper' :: (Ptr ()) -> IO ((()))
drawSuper' a1 =
  let {a1' = id a1} in 
  drawSuper''_ a1' >>= \res ->
  let {res' = supressWarningAboutRes res} in
  return (res')

{-# LINE 100 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

drawValueInputBase ::  Ref ValueInputBase -> IO ()
drawValueInputBase valueInput = withRef valueInput $ \valueInputPtr -> drawSuper' valueInputPtr
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 103 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

handleValueInputBase :: Ref ValueInputBase -> Event ->  IO (Either UnknownEvent ())
handleValueInputBase valueInput event = withRef valueInput $ \valueInputPtr -> handleSuper' valueInputPtr (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 106 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

resizeValueInputBase :: Ref ValueInputBase -> Rectangle -> IO ()
resizeValueInputBase valueInput rectangle =
    let (x_pos, y_pos, width, height) = fromRectangle rectangle
    in withRef valueInput $ \valueInputPtr -> resizeSuper' valueInputPtr 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 111 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

hideValueInputBase ::  Ref ValueInputBase -> IO ()
hideValueInputBase valueInput = withRef valueInput $ \valueInputPtr -> hideSuper' valueInputPtr
showSuper' :: (Ptr ()) -> IO ((()))
showSuper' a1 =
  let {a1' = id a1} in 
  showSuper''_ a1' >>= \res ->
  let {res' = supressWarningAboutRes res} in
  return (res')

{-# LINE 114 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

showWidgetValueInputBase ::  Ref ValueInputBase -> IO ()
showWidgetValueInputBase valueInput = withRef valueInput $ \valueInputPtr -> showSuper' valueInputPtr

draw'' :: (Ptr ()) -> IO ()
draw'' a1 =
  let {a1' = id a1} in 
  draw'''_ a1' >>
  return ()

{-# LINE 118 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (  IO ())) => Op (Draw ()) ValueInputBase orig impl where
  runOp _ _ valueInput = withRef valueInput $ \valueInputPtr -> draw'' valueInputPtr
valueInputHandle' :: (Ptr ()) -> (CInt) -> IO ((Int))
valueInputHandle' a1 a2 =
  let {a1' = id a1} in 
  let {a2' = id a2} in 
  valueInputHandle''_ a1' a2' >>= \res ->
  let {res' = fromIntegral res} in
  return (res')

{-# LINE 121 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (Handle ()) ValueInputBase orig impl where
  runOp _ _ valueInput event = withRef valueInput (\p -> valueInputHandle' p (fromIntegral . fromEnum $ event)) >>= return  . successOrUnknownEvent
hide' :: (Ptr ()) -> IO ()
hide' a1 =
  let {a1' = id a1} in 
  hide''_ a1' >>
  return ()

{-# LINE 124 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (  IO ())) => Op (Hide ()) ValueInputBase orig impl where
  runOp _ _ valueInput = withRef valueInput $ \valueInputPtr -> hide' valueInputPtr
show' :: (Ptr ()) -> IO ()
show' a1 =
  let {a1' = id a1} in 
  show''_ a1' >>
  return ()

{-# LINE 127 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (  IO ())) => Op (ShowWidget ()) ValueInputBase orig impl where
  runOp _ _ valueInput = withRef valueInput $ \valueInputPtr -> show' valueInputPtr
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 130 "src/Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs" #-}

instance (impl ~ (Rectangle -> IO ())) => Op (Resize ()) ValueInputBase orig impl where
  runOp _ _ valueInput rectangle = withRef valueInput $ \valueInputPtr -> do
                                 let (x_pos,y_pos,w_pos,h_pos) = fromRectangle rectangle
                                 resize' valueInputPtr x_pos y_pos w_pos h_pos

-- $hierarchy
-- @
-- "Graphics.UI.FLTK.LowLevel.Base.Widget"
--  |
--  v
-- "Graphics.UI.FLTK.LowLevel.Base.Valuator"
--  |
--  v
-- "Graphics.UI.FLTK.LowLevel.Base.ValueInput"
-- @

-- $functions
-- @
-- destroy :: 'Ref' 'ValueInputBase' -> 'IO' ()
--
-- draw :: 'Ref' 'ValueInputBase' -> 'IO' ()
--
-- getShortcut :: 'Ref' 'ValueInputBase' -> 'IO' ('Maybe' 'ShortcutKeySequence')
--
-- getSoft :: 'Ref' 'ValueInputBase' -> 'IO' ('Bool')
--
-- getTextcolor :: 'Ref' 'ValueInputBase' -> 'IO' ('Color')
--
-- getTextfont :: 'Ref' 'ValueInputBase' -> 'IO' ('Font')
--
-- getTextsize :: 'Ref' 'ValueInputBase' -> 'IO' ('FontSize')
--
-- handle :: 'Ref' 'ValueInputBase' -> 'Event' -> 'IO' ('Either' 'UnknownEvent' ())
--
-- hide :: 'Ref' 'ValueInputBase' -> 'IO' ()
--
-- resize :: 'Ref' 'ValueInputBase' -> 'Rectangle' -> 'IO' ()
--
-- setShortcut :: 'Ref' 'ValueInputBase' -> 'ShortcutKeySequence' -> 'IO' ()
--
-- setSoft :: 'Ref' 'ValueInputBase' -> 'Bool'>- 'IO' ()
--
-- setTextcolor :: 'Ref' 'ValueInputBase' -> 'Color' -> 'IO' ()
--
-- setTextfont :: 'Ref' 'ValueInputBase' -> 'Font' -> 'IO' ()
--
-- setTextsize :: 'Ref' 'ValueInputBase' -> 'FontSize' -> 'IO' ()
--
-- showWidget :: 'Ref' 'ValueInputBase' -> 'IO' ()
-- @

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_OverriddenValue_Input_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/Base/ValueInput.chs.h Fl_OverriddenValue_Input_New"
  overriddenWidgetNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))))))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_New"
  valueInputNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_New_WithLabel"
  valueInputNewWithLabel''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO (C2HSImp.Ptr ())))))))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_Destroy"
  valueInputDestroy''_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_soft"
  soft''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CChar))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_set_soft"
  setSoft''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CChar -> (IO ())))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_shortcut"
  shortcut''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_set_shortcut"
  setShortcut''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_textfont"
  textfont''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_set_textfont"
  setTextfont''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_textsize"
  textsize''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CInt))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_set_textsize"
  setTextsize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_textcolor"
  textcolor''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CUInt))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_set_textcolor"
  setTextcolor''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_draw_super"
  drawSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_handle_super"
  handleSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_resize_super"
  resizeSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_hide_super"
  hideSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_show_super"
  showSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_draw"
  draw'''_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_handle"
  valueInputHandle''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_hide"
  hide''_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_show"
  show''_ :: ((C2HSImp.Ptr ()) -> (IO ()))

foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/ValueInput.chs.h Fl_Value_Input_resize"
  resize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))