{-# LINE 1 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
{-# LANGUAGE CPP, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Graphics.UI.FLTK.LowLevel.Base.Valuator
(
valuatorNew,
valuatorCustom,
ValuatorType(..)
, handleValuatorBase
, resizeValuatorBase
, hideValuatorBase
)
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_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
import Graphics.UI.FLTK.LowLevel.Base.Widget
import Data.Ratio
data ValuatorType = VerticalValuatorType
| HorizontalValuatorType
deriving (Int -> ValuatorType -> ShowS
[ValuatorType] -> ShowS
ValuatorType -> String
(Int -> ValuatorType -> ShowS)
-> (ValuatorType -> String)
-> ([ValuatorType] -> ShowS)
-> Show ValuatorType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ValuatorType] -> ShowS
$cshowList :: [ValuatorType] -> ShowS
show :: ValuatorType -> String
$cshow :: ValuatorType -> String
showsPrec :: Int -> ValuatorType -> ShowS
$cshowsPrec :: Int -> ValuatorType -> ShowS
Show,ValuatorType -> ValuatorType -> Bool
(ValuatorType -> ValuatorType -> Bool)
-> (ValuatorType -> ValuatorType -> Bool) -> Eq ValuatorType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ValuatorType -> ValuatorType -> Bool
$c/= :: ValuatorType -> ValuatorType -> Bool
== :: ValuatorType -> ValuatorType -> Bool
$c== :: ValuatorType -> ValuatorType -> Bool
Eq)
instance Enum ValuatorType where
succ VerticalValuatorType = HorizontalValuatorType
succ HorizontalValuatorType = error "ValuatorType.succ: HorizontalValuatorType has no successor"
pred HorizontalValuatorType = VerticalValuatorType
pred VerticalValuatorType = error "ValuatorType.pred: VerticalValuatorType has no predecessor"
enumFromTo from to = go from
where
end = fromEnum to
go v = case compare (fromEnum v) end of
LT -> v : go (succ v)
EQ -> [v]
GT -> []
enumFrom from = enumFromTo from HorizontalValuatorType
fromEnum VerticalValuatorType = 0
fromEnum HorizontalValuatorType = 1
toEnum 0 = VerticalValuatorType
toEnum 1 = HorizontalValuatorType
toEnum unmatched = error ("ValuatorType.toEnum: Cannot match " ++ show unmatched)
{-# LINE 40 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
valuatorNew' :: (Int) -> (Int) -> (Int) -> (Int) -> IO ((Ptr ()))
valuatorNew' a1 a2 a3 a4 =
let {a1' = fromIntegral a1} in
let {a2' = fromIntegral a2} in
let {a3' = fromIntegral a3} in
let {a4' = fromIntegral a4} in
valuatorNew''_ a1' a2' a3' a4' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 41 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
valuatorNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (CString) -> IO ((Ptr ()))
valuatorNewWithLabel' 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' ->
valuatorNewWithLabel''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 42 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
overriddenValuatorNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (CString) -> (Ptr ()) -> IO ((Ptr ()))
overriddenValuatorNewWithLabel' 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
overriddenValuatorNewWithLabel''_ a1' a2' a3' a4' a5' a6' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 43 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
overriddenValuatorNew' :: (Int) -> (Int) -> (Int) -> (Int) -> (Ptr ()) -> IO ((Ptr ()))
overriddenValuatorNew' 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
overriddenValuatorNew''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 44 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
valuatorCustom :: Rectangle -> Maybe T.Text -> Maybe (Ref Valuator -> IO ()) -> Maybe (CustomWidgetFuncs Valuator) -> IO (Ref Valuator)
valuatorCustom rectangle l' draw' funcs' =
widgetMaker
rectangle
l'
draw'
funcs'
overriddenValuatorNew'
overriddenValuatorNewWithLabel'
valuatorNew :: Rectangle -> Maybe T.Text -> IO (Ref Valuator)
valuatorNew rectangle l' =
widgetMaker
rectangle
l'
Nothing
Nothing
overriddenValuatorNew'
overriddenValuatorNewWithLabel'
valuatorDestroy' :: (Ptr ()) -> IO ((()))
valuatorDestroy' a1 =
let {a1' = id a1} in
valuatorDestroy''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 65 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (IO ())) => Op (Destroy ()) ValuatorBase orig impl where
runOp _ _ win = swapRef win $ \winPtr -> do
valuatorDestroy' winPtr
return nullPtr
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 71 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
handleValuatorBase :: Ref ValuatorBase -> Event -> IO (Either UnknownEvent ())
handleValuatorBase valuator event = withRef valuator $ \valuatorPtr -> handleSuper' valuatorPtr (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 74 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
resizeValuatorBase :: Ref ValuatorBase -> Rectangle -> IO ()
resizeValuatorBase valuator rectangle =
let (x_pos, y_pos, width, height) = fromRectangle rectangle
in withRef valuator $ \valuatorPtr -> resizeSuper' valuatorPtr 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 79 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
hideValuatorBase :: Ref ValuatorBase -> IO ()
hideValuatorBase valuator = withRef valuator $ \valuatorPtr -> hideSuper' valuatorPtr
valuatorHandle' :: (Ptr ()) -> (CInt) -> IO ((Int))
valuatorHandle' a1 a2 =
let {a1' = id a1} in
let {a2' = id a2} in
valuatorHandle''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 83 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (Handle ()) ValuatorBase orig impl where
runOp _ _ valuator event = withRef valuator (\p -> valuatorHandle' p (fromIntegral . fromEnum $ event)) >>= return . successOrUnknownEvent
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 87 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ ( Rectangle -> IO ())) => Op (Resize ()) ValuatorBase orig impl where
runOp _ _ valuator rectangle = withRef valuator $ \valuatorPtr -> do
let (x_pos,y_pos,w_pos,h_pos) = fromRectangle rectangle
resize' valuatorPtr x_pos y_pos w_pos h_pos
hide' :: (Ptr ()) -> IO ((()))
hide' a1 =
let {a1' = id a1} in
hide''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 93 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (IO ())) => Op (Hide ()) ValuatorBase orig impl where
runOp _ _ valuator = withRef valuator $ \valuatorPtr -> hide' valuatorPtr
bounds' :: (Ptr ()) -> (Double) -> (Double) -> IO ((()))
bounds' a1 a2 a3 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
let {a3' = realToFrac a3} in
bounds''_ a1' a2' a3' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 97 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> Double -> IO ())) => Op (Bounds ()) ValuatorBase orig impl where
runOp _ _ valuator a b = withRef valuator $ \valuatorPtr -> bounds' valuatorPtr a b
minimum' :: (Ptr ()) -> IO ((Double))
minimum' a1 =
let {a1' = id a1} in
minimum''_ a1' >>= \res ->
let {res' = realToFrac res} in
return (res')
maximum' :: Ptr () -> IO Double
{-# LINE 100 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ ( IO (Double))) => Op (GetMinimum ()) ValuatorBase orig impl where
runOp _ _ valuator = withRef valuator $ \valuatorPtr -> minimum' valuatorPtr
setMinimum' :: (Ptr ()) -> (Double) -> IO ((()))
setMinimum' a1 a2 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
setMinimum''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 103 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> IO ())) => Op (SetMinimum ()) ValuatorBase orig impl where
runOp _ _ valuator a = withRef valuator $ \valuatorPtr -> setMinimum' valuatorPtr a
maximum' :: (Ptr ()) -> IO ((Double))
maximum' a1 =
let {a1' = id a1} in
maximum''_ a1' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 106 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ ( IO (Double))) => Op (GetMaximum ()) ValuatorBase orig impl where
runOp _ _ valuator = withRef valuator $ \valuatorPtr -> maximum' valuatorPtr
setMaximum' :: (Ptr ()) -> (Double) -> IO ((()))
setMaximum' a1 a2 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
setMaximum''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 109 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> IO ())) => Op (SetMaximum ()) ValuatorBase orig impl where
runOp _ _ valuator a = withRef valuator $ \valuatorPtr -> setMaximum' valuatorPtr a
range' :: (Ptr ()) -> (Double) -> (Double) -> IO ((()))
range' a1 a2 a3 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
let {a3' = realToFrac a3} in
range''_ a1' a2' a3' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 112 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> Double -> IO ())) => Op (Range ()) ValuatorBase orig impl where
runOp _ _ valuator a b = withRef valuator $ \valuatorPtr -> range' valuatorPtr a b
setStepWithAB' :: (Ptr ()) -> (Double) -> (Int) -> IO ((()))
setStepWithAB' a1 a2 a3 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
let {a3' = fromIntegral a3} in
setStepWithAB''_ a1' a2' a3' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 115 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Rational -> IO ())) => Op (SetStep ()) ValuatorBase orig impl where
runOp _ _ valuator r = withRef valuator $ \valuatorPtr -> setStepWithAB' valuatorPtr (fromIntegral (numerator r)) (fromIntegral (denominator r))
step' :: (Ptr ()) -> IO ((Double))
step' a1 =
let {a1' = id a1} in
step''_ a1' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 118 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ ( IO (Rational))) => Op (GetStep ()) ValuatorBase orig impl where
runOp _ _ valuator = withRef valuator $ \valuatorPtr -> step' valuatorPtr >>= \r -> return $ approxRational r 0
precision' :: (Ptr ()) -> (Int) -> IO ((()))
precision' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
precision''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 121 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Int -> IO ())) => Op (Precision ()) ValuatorBase orig impl where
runOp _ _ valuator p' = withRef valuator $ \valuatorPtr -> precision' valuatorPtr p'
value' :: (Ptr ()) -> IO ((Double))
value' a1 =
let {a1' = id a1} in
value''_ a1' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 124 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ ( IO (Double))) => Op (GetValue ()) ValuatorBase orig impl where
runOp _ _ valuator = withRef valuator $ \valuatorPtr -> value' valuatorPtr
setValue' :: (Ptr ()) -> (Double) -> IO ((Int))
setValue' a1 a2 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
setValue''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 127 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> IO (Either NoChange ()))) => Op (SetValue ()) ValuatorBase orig impl where
runOp _ _ valuator v = withRef valuator $ \valuatorPtr -> do
ret <- setValue' valuatorPtr v
return (if (ret == 0) then Left NoChange else Right ())
format' :: (Ptr ()) -> (Ptr CChar) -> IO ((Int))
format' a1 a2 =
let {a1' = id a1} in
let {a2' = id a2} in
format''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 132 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (IO (Either UnknownError T.Text))) => Op (Format ()) ValuatorBase orig impl where
runOp _ _ valuator =
let bufSize = 128
in
withRef valuator
(\valuatorPtr ->
allocaBytes 128
(\bufPtr -> do
res <- format' valuatorPtr bufPtr
if (res < 0 || res > bufSize)
then return (Left UnknownError)
else fmap Right (cStringToText (castPtr bufPtr))
)
)
round' :: (Ptr ()) -> (Double) -> IO ((Double))
round' :: Ptr () -> Double -> IO Double
round' a1 :: Ptr ()
a1 a2 :: Double
a2 =
let {a1' = id a1} in
let {a2' :: CDouble
a2' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
a2} in
Ptr () -> CDouble -> IO CDouble
round''_ Ptr ()
a1' CDouble
a2' IO CDouble -> (CDouble -> IO Double) -> IO Double
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
>>= \res :: CDouble
res ->
let {res' = realToFrac res} in
Double -> IO Double
forall (m :: * -> *) a. Monad m => a -> m a
return (Double
res')
{-# LINE 147 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> IO (Double))) => Op (Round ()) ValuatorBase orig impl where
runOp _ _ valuator v = withRef valuator $ \valuatorPtr -> round' valuatorPtr v
clamp' :: (Ptr ()) -> (Double) -> IO ((Double))
clamp' a1 a2 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
clamp''_ a1' a2' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 150 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> IO (Double))) => Op (Clamp ()) ValuatorBase orig impl where
runOp _ _ valuator v = withRef valuator $ \valuatorPtr -> clamp' valuatorPtr v
increment' :: (Ptr ()) -> (Double) -> (Int) -> IO ((Double))
increment' a1 a2 a3 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
let {a3' = fromIntegral a3} in
increment''_ a1' a2' a3' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 153 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (Double -> Int -> IO (Double))) => Op (Increment ()) ValuatorBase orig impl where
runOp _ _ valuator v n = withRef valuator $ \valuatorPtr -> increment' valuatorPtr v n
setType' :: (Ptr ()) -> (Word8) -> IO ((()))
setType' a1 a2 =
let {a1' = id a1} in
let {a2' = fromIntegral a2} in
setType''_ a1' a2' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 156 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ (ValuatorType -> IO ())) => Op (SetType ()) ValuatorBase orig impl where
runOp _ _ widget t = withRef widget $ \widgetPtr -> setType' widgetPtr (fromInteger $ toInteger $ fromEnum t)
type' :: (Ptr ()) -> IO ((Word8))
type' a1 =
let {a1' = id a1} in
type''_ a1' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 159 "src/Graphics/UI/FLTK/LowLevel/Base/Valuator.chs" #-}
instance (impl ~ IO (ValuatorType)) => Op (GetType_ ()) ValuatorBase orig impl where
runOp _ _ widget = withRef widget $ \widgetPtr -> type' widgetPtr >>= return . toEnum . fromInteger . toInteger
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_New"
valuatorNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO (C2HSImp.Ptr ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_New_WithLabel"
valuatorNewWithLabel''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO (C2HSImp.Ptr ())))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_OverriddenValuator_New_WithLabel"
overriddenValuatorNewWithLabel''_ :: (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/Valuator.chs.h Fl_OverriddenValuator_New"
overriddenValuatorNew''_ :: (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> ((C2HSImp.Ptr ()) -> (IO (C2HSImp.Ptr ())))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_Destroy"
valuatorDestroy''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_handle_super"
handleSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_resize_super"
resizeSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_hide_super"
hideSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_DerivedValuator_handle"
valuatorHandle''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_DerivedValuator_resize"
resize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_DerivedValuator_hide"
hide''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_bounds"
bounds''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (C2HSImp.CDouble -> (IO ()))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_minimum"
minimum''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_set_minimum"
setMinimum''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_maximum"
maximum''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_set_maximum"
setMaximum''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_range"
range''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (C2HSImp.CDouble -> (IO ()))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_set_step_with_a_b"
setStepWithAB''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (C2HSImp.CInt -> (IO ()))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_step"
step''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_precision"
precision''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_value"
value''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_set_value"
setValue''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_format"
format''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_round"
round''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO C2HSImp.CDouble)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_clamp"
clamp''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO C2HSImp.CDouble)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Valuator_increment"
increment''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (C2HSImp.CInt -> (IO C2HSImp.CDouble))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Widget_set_type"
setType''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CUChar -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Base/Valuator.chs.h Fl_Widget_type"
type''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CUChar))