Safe Haskell | None |
---|
- getCurrentValue :: HG3DClass -> IO Float
- getMaxValue :: HG3DClass -> IO Float
- getClickStep :: HG3DClass -> IO Float
- getThumb :: HG3DClass -> IO HG3DClass
- initialiseComponents :: HG3DClass -> IO ()
- setMaxValue :: HG3DClass -> Float -> IO ()
- setCurrentValue :: HG3DClass -> Float -> IO ()
- setClickStep :: HG3DClass -> Float -> IO ()
- new :: String -> String -> IO HG3DClass
- delete :: HG3DClass -> IO ()
- getCurrentValue'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- getMaxValue'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- getClickStep'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- getThumb'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- initialiseComponents'_ :: HG3DClassPtr -> IO ()
- setMaxValue'_ :: HG3DClassPtr -> CFloat -> IO ()
- setCurrentValue'_ :: HG3DClassPtr -> CFloat -> IO ()
- setClickStep'_ :: HG3DClassPtr -> CFloat -> IO ()
- new'_ :: Ptr CChar -> Ptr CChar -> HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
Documentation
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Float | return value - float value equal to the sliders current value. |
return the current slider value.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Float | return value - float value equal to the currently set maximum value for this slider. |
return the maximum value set for this widget
Return a pointer to the ThumbSlider
return the current click step setting for the slider. - Details: The click step size is the amount the slider value will be adjusted when the widget is clicked wither side of the slider thumb.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO () | return value - Nothing |
set the maximum value for the slider. Note that the minimum value is fixed at 0.
Initialises the Window - Details: This must be called for every window created. Normally this is handled automatically by the WindowFactory for each Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | maxVal - float value specifying the maximum value for this slider widget. |
-> IO () | return value - Nothing. |
set the current slider value.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | value - float value specifying the new value for this slider widget. |
-> IO () | return value - Nothing. |
set the current click step setting for the slider. - Details: The click step size is the amount the slider value will be adjusted when the widget is clicked wither side of the slider thumb.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | step |
-> IO () |
Slider
Slider
getCurrentValue'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
getMaxValue'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
getClickStep'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
getThumb'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
initialiseComponents'_ :: HG3DClassPtr -> IO ()Source
setMaxValue'_ :: HG3DClassPtr -> CFloat -> IO ()Source
setCurrentValue'_ :: HG3DClassPtr -> CFloat -> IO ()Source
setClickStep'_ :: HG3DClassPtr -> CFloat -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source