Safe Haskell | None |
---|
- getProgress :: HG3DClass -> IO Float
- getStep :: HG3DClass -> IO Float
- setProgress :: HG3DClass -> Float -> IO ()
- setStepSize :: HG3DClass -> Float -> IO ()
- step :: HG3DClass -> IO ()
- adjustProgress :: HG3DClass -> Float -> IO ()
- new :: String -> String -> IO HG3DClass
- delete :: HG3DClass -> IO ()
- getProgress'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- getStep'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- setProgress'_ :: HG3DClassPtr -> CFloat -> IO ()
- setStepSize'_ :: HG3DClassPtr -> CFloat -> IO ()
- step'_ :: HG3DClassPtr -> IO ()
- adjustProgress'_ :: HG3DClassPtr -> CFloat -> IO ()
- new'_ :: Ptr CChar -> Ptr CChar -> HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
Documentation
return the current progress value
return the current step size
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | progress - The level of progress to set. If this value is >1.0f (100%) progress will be limited to 1.0f. |
-> IO () | return value - Nothing. |
set the size of the step
in percentage points (default is 0.01f or 1%).
set the current progress.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | step_val |
-> IO () | return value - Nothing. |
cause the progress to step - Details: The amount the progress bar will step can be changed by calling the setStepSize method. The default step size is 0.01f which is equal to 1%.
Modify the progress level by a specified delta.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | delta - amount to adjust the progress by. Whatever this value is, the progress of the bar will be kept within the range: 0.0f <= progress <= 1.0f. |
-> IO () | return value - Nothing. |
Constructor for ProgressBar
Destructor for ProgressBar
getProgress'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
setProgress'_ :: HG3DClassPtr -> CFloat -> IO ()Source
setStepSize'_ :: HG3DClassPtr -> CFloat -> IO ()Source
step'_ :: HG3DClassPtr -> IO ()Source
adjustProgress'_ :: HG3DClassPtr -> CFloat -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source