{-# LINE 1 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
{-# LANGUAGE CPP, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Graphics.UI.FLTK.LowLevel.Valuator
(
valuatorNew,
valuatorCustom,
ValuatorType(..),
)
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.Widget
import Data.Ratio
data ValuatorType = VerticalValuatorType
| HorizontalValuatorType
deriving (Show,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 37 "src/Graphics/UI/FLTK/LowLevel/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 38 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
valuatorNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (T.Text) -> 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
let {a5' = unsafeToCString a5} in
valuatorNewWithLabel''_ a1' a2' a3' a4' a5' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 39 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
overriddenValuatorNewWithLabel' :: (Int) -> (Int) -> (Int) -> (Int) -> (T.Text) -> (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
let {a5' = unsafeToCString a5} in
let {a6' = id a6} in
overriddenValuatorNewWithLabel''_ a1' a2' a3' a4' a5' a6' >>= \res ->
let {res' = id res} in
return (res')
{-# LINE 40 "src/Graphics/UI/FLTK/LowLevel/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 41 "src/Graphics/UI/FLTK/LowLevel/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' =
let (x_pos, y_pos, width, height) = fromRectangle rectangle
in case l' of
Nothing -> valuatorNew' x_pos y_pos width height >>=
toRef
Just l -> valuatorNewWithLabel' x_pos y_pos width height l >>=
toRef
valuatorDestroy' :: (Ptr ()) -> IO ((()))
valuatorDestroy' a1 =
let {a1' = id a1} in
valuatorDestroy''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 61 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (IO ())) => Op (Destroy ()) Valuator orig impl where
runOp _ _ win = swapRef win $ \winPtr -> do
valuatorDestroy' winPtr
return nullPtr
hide' :: (Ptr ()) -> IO ((()))
hide' a1 =
let {a1' = id a1} in
hide''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 66 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (( IO ()))) => Op (Hide ()) Valuator orig impl where
runOp _ _ button = withRef button $ \buttonPtr -> hide' buttonPtr
hideSuper' :: (Ptr ()) -> IO ((()))
hideSuper' a1 =
let {a1' = id a1} in
hideSuper''_ a1' >>= \res ->
let {res' = supressWarningAboutRes res} in
return (res')
{-# LINE 69 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (( IO ()))) => Op (HideSuper ()) Valuator orig impl where
runOp _ _ button = withRef button $ \buttonPtr -> hideSuper' buttonPtr
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 72 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (Handle ()) Valuator orig impl where
runOp _ _ valuator event = withRef valuator (\p -> valuatorHandle' p (fromIntegral . fromEnum $ event)) >>= return . successOrUnknownEvent
valuatorHandleSuper' :: (Ptr ()) -> (CInt) -> IO ((Int))
valuatorHandleSuper' a1 a2 =
let {a1' = id a1} in
let {a2' = id a2} in
valuatorHandleSuper''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 75 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Event -> IO (Either UnknownEvent ()))) => Op (HandleSuper ()) Valuator orig impl where
runOp _ _ valuator event = withRef valuator (\p -> valuatorHandleSuper' p (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 78 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Rectangle -> IO ())) => Op (ResizeSuper ()) Valuator orig impl where
runOp _ _ valuator rectangle = withRef valuator $ \valuatorPtr -> do
let (x_pos,y_pos,w_pos,h_pos) = fromRectangle rectangle
resizeSuper' valuatorPtr x_pos y_pos w_pos h_pos
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 83 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Rectangle -> IO ())) => Op (Resize ()) Valuator 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
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 88 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> Double -> IO ())) => Op (Bounds ()) Valuator 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')
{-# LINE 91 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ ( IO (Double))) => Op (GetMinimum ()) Valuator 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 94 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> IO ())) => Op (SetMinimum ()) Valuator 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 97 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ ( IO (Double))) => Op (GetMaximum ()) Valuator 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 100 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> IO ())) => Op (SetMaximum ()) Valuator 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 103 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> Double -> IO ())) => Op (Range ()) Valuator 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 106 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Rational -> IO ())) => Op (SetStep ()) Valuator orig impl where
runOp _ _ valuator r = withRef valuator $ \valuatorPtr -> setStepWithAB' valuatorPtr (fromIntegral (denominator r)) (fromIntegral (numerator r))
step' :: (Ptr ()) -> IO ((Double))
step' a1 =
let {a1' = id a1} in
step''_ a1' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 109 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ ( IO (Rational))) => Op (GetStep ()) Valuator 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 112 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Int -> IO ())) => Op (Precision ()) Valuator 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 115 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ ( IO (Double))) => Op (GetValue ()) Valuator 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 118 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> IO (Int))) => Op (SetValue ()) Valuator orig impl where
runOp _ _ valuator v = withRef valuator $ \valuatorPtr -> setValue' valuatorPtr v
format' :: (Ptr ()) -> (T.Text) -> IO ((Int))
format' a1 a2 =
let {a1' = id a1} in
let {a2' = unsafeToCString a2} in
format''_ a1' a2' >>= \res ->
let {res' = fromIntegral res} in
return (res')
{-# LINE 121 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (T.Text -> IO (Int))) => Op (SetFormat ()) Valuator orig impl where
runOp _ _ valuator f = withRef valuator $ \valuatorPtr -> format' valuatorPtr f
round' :: (Ptr ()) -> (Double) -> IO ((Double))
round' a1 a2 =
let {a1' = id a1} in
let {a2' = realToFrac a2} in
round''_ a1' a2' >>= \res ->
let {res' = realToFrac res} in
return (res')
{-# LINE 124 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> IO (Double))) => Op (Round ()) Valuator 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 127 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> IO (Double))) => Op (Clamp ()) Valuator 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 130 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (Double -> Int -> IO (Double))) => Op (Increment ()) Valuator 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 133 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ (ValuatorType -> IO ())) => Op (SetType ()) Valuator 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 136 "src/Graphics/UI/FLTK/LowLevel/Valuator.chs" #-}
instance (impl ~ IO (ValuatorType)) => Op (GetType_ ()) Valuator orig impl where
runOp _ _ widget = withRef widget $ \widgetPtr -> type' widgetPtr >>= return . toEnum . fromInteger . toInteger
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/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/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/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/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/Valuator.chs.h Fl_Valuator_Destroy"
valuatorDestroy''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_hide"
hide''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_hide_super"
hideSuper''_ :: ((C2HSImp.Ptr ()) -> (IO ()))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_handle"
valuatorHandle''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_handle_super"
valuatorHandleSuper''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/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/Valuator.chs.h Fl_Valuator_resize"
resize''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (C2HSImp.CInt -> (IO ()))))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_bounds"
bounds''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (C2HSImp.CDouble -> (IO ()))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_minimum"
minimum''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_set_minimum"
setMinimum''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_maximum"
maximum''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_set_maximum"
setMaximum''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_range"
range''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (C2HSImp.CDouble -> (IO ()))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/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/Valuator.chs.h Fl_Valuator_step"
step''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_precision"
precision''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CInt -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_value"
value''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CDouble))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_set_value"
setValue''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_format"
format''_ :: ((C2HSImp.Ptr ()) -> ((C2HSImp.Ptr C2HSImp.CChar) -> (IO C2HSImp.CInt)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_round"
round''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO C2HSImp.CDouble)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_clamp"
clamp''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (IO C2HSImp.CDouble)))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Valuator_increment"
increment''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CDouble -> (C2HSImp.CInt -> (IO C2HSImp.CDouble))))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Widget_set_type"
setType''_ :: ((C2HSImp.Ptr ()) -> (C2HSImp.CUChar -> (IO ())))
foreign import ccall safe "Graphics/UI/FLTK/LowLevel/Valuator.chs.h Fl_Widget_type"
type''_ :: ((C2HSImp.Ptr ()) -> (IO C2HSImp.CUChar))