IupGLProgressBar

Definition: include pGUI.e

Ihandle ih = IupGLProgressBar(string attributes="", sequence data={})
Description: Creates an embedded OpenGL progress bar control.
Shows a percent value that can be updated to simulate a progression.
It inherits from IupGLSubCanvas. It exists only inside an IupGLCanvasBox.

For more information on the attributes and data parameters see IupSetAttributes.

Returns: the identifier of the created element.
Notes: The natural size is the height of one character in one direction and the width of 15 characters in the other, plus PADDING and BORDERWIDTH.
Attributes: The IupGLProgressBar element handles all attributes defined for a IupGLSubCanvas control.
BACKIMAGE (non inheritable) image name to be used as background.
It will be zoomed to fill the background (it does not includes the border).
Use IupSetHandle or IupSetAttributeHandle to associate an image to a name. See also IupImage. (since 3.11.2)
BACKIMAGEHIGHLIGHT (non inheritable) background image name of the element in highlight state.
If it is not defined then the BACKIMAGE is used. (since 3.11.2)
BACKIMAGEINACTIVE (non inheritable) background image name of the element when inactive.
If it is not defined then the BACKIMAGE is used and its colors will be replaced by a modified version creating the disabled effect. (since 3.11.2)
BACKIMAGEPRESS (non inheritable) background image name of the element in pressed state.
If it is not defined then the BACKIMAGE is used.(since 3.11.2)
FGCOLOR Controls the bar color. Can have an alpha component. Default: "200 225 245".
FITTOBACKIMAGE (non inheritable) enable the natural size to be computed from the BACKIMAGE.
If BACKIMAGE is not defined will be ignored.
When set to Yes it will set BORDERWIDTH to 0. Can be Yes or No. Default: No. (since 3.11.2)
MAX (non inheritable) Contains the maximum value. Default is "1".
MIN (non inheritable) Contains the minimum value. Default is "0".
ORIENTATION can be "VERTICAL" or "HORIZONTAL". Default: "HORIZONTAL". Horizontal goes from left to right, and vertical from bottom to top.
PADDING internal margin.
Works just like the MARGIN attribute of the IupHbox and IupVbox containers, but uses a different name to avoid inheritance problems. Default value: "0x0".
SHOWTEXT Indicates if the text inside the bar is to be shown or not. Possible values: "YES" or "NO". Default: "YES".
TEXT (non inheritable) Contains a text to be shown inside the bar when SHOW_TEXT=YES.
If it is NULL, the percentage calculated from VALUE will be used.
TXTCOLOR Text color. Can have an alpha component. Default: "0 0 0".
VALUE (non inheritable) Contains a number between "MIN" and "MAX", controlling the current position.