HGamer3D-CEGUI-Binding-0.1.9: Windows Game Engine for the Haskell Programmer - CEGUI Bindings

Safe HaskellNone

HGamer3D.Bindings.CEGUI.ClassProgressBar

Synopsis

Documentation

getProgressSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Float 

return the current progress value

getStepSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Float 

return the current step size

setProgressSource

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.

setStepSizeSource

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%.

stepSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Modify the progress level by a specified delta.

adjustProgressSource

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

newSource

Arguments

:: String

type

-> String

name

-> IO HG3DClass 

deleteSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance which is going to be deleted.

-> IO () 

Destructor for ProgressBar