| Safe Haskell | None |
|---|
HGamer3D.Bindings.CEGUI.ClassProgressBar
- 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
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> IO Float |
return the current progress value
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> IO Float |
return the current step size
Arguments
| :: 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.
Arguments
| :: 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%.
Arguments
| :: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
| -> IO () |
Modify the progress level by a specified delta.
Arguments
| :: 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
Arguments
| :: HG3DClass | classpointer - pointer of Class instance which is going to be deleted. |
| -> IO () |
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