Dgs-dxprogressbar: Difference between revisions
(Created page with "DGS Properties is always used to change the gui style and make it more fantastic. This page shows the properties of dgs-dxlabel that you could use. ==Main Functions=...") |
|||
Line 45: | Line 45: | ||
===styleData=== | ===styleData=== | ||
This property stores the style data of the progress bar. See [[dgsProgressBarGetStyleProperty]]/[[dgsProgressBarSetStyleProperty]] for detail. | |||
<syntaxhighlight lang="lua">dgsSetProperty(progressbar,"styleData",styleData)</syntaxhighlight> | |||
*'''styleData''' : A table of the style data. | |||
==Style Properties== | |||
===normal=== | |||
None | |||
===ring-round=== | |||
====ring-round==== | |||
This property stores the style data of the progress bar. See [[dgsProgressBarGetStyleProperty]]/[[dgsProgressBarSetStyleProperty]] for detail. | This property stores the style data of the progress bar. See [[dgsProgressBarGetStyleProperty]]/[[dgsProgressBarSetStyleProperty]] for detail. | ||
<syntaxhighlight lang="lua">dgsSetProperty(progressbar,"styleData",styleData)</syntaxhighlight> | <syntaxhighlight lang="lua">dgsSetProperty(progressbar,"styleData",styleData)</syntaxhighlight> |
Revision as of 13:17, 16 April 2020
DGS Properties is always used to change the gui style and make it more fantastic.
This page shows the properties of dgs-dxlabel that you could use.
Main Functions
Properties
bgColor
This property determines the background color of the progress bar.
dgsSetProperty(progressbar,"bgColor",bgColor)
- bgColor : An integer of the color that can be converted by tocolor.
bgImage
This property determines the background image of the progress bar.
dgsSetProperty(progressbar,"bgImage",bgImage)
- bgImage : A material element that serves as the background image of the progress bar (texture/shader/screen source/renderTarget).
indicatorColor
This property determines the indicator color of the progress bar.
dgsSetProperty(progressbar,"indicatorColor",indicatorColor)
- indicatorColor : An integer of the color that can be converted by tocolor.
indicatorImage
This property determines the indicator image of the progress bar.
dgsSetProperty(progressbar,"indicatorImage",indicatorImage)
- indicatorImage : A material element that serves as the indicator image of the progress bar (texture/shader/screen source/renderTarget).
padding
This property determines the padding of the progress bar.
dgsSetProperty(progressbar,"padding",{paddingX,paddingY})
- paddingX : An integer of 2D x padding value.
- paddingY : An integer of 2D y padding value.
progress
This property stores the progress value of progress bar.
dgsSetProperty(progressbar,"progress",progress)
- progress : A float of progress value.
style
This property stores the style name of progress bar, to change the style use dgsProgressBarSetStyle.
dgsSetProperty(progressbar,"style",style)
- style : A string of the style name.
styleData
This property stores the style data of the progress bar. See dgsProgressBarGetStyleProperty/dgsProgressBarSetStyleProperty for detail.
dgsSetProperty(progressbar,"styleData",styleData)
- styleData : A table of the style data.
Style Properties
normal
None
ring-round
ring-round
This property stores the style data of the progress bar. See dgsProgressBarGetStyleProperty/dgsProgressBarSetStyleProperty for detail.
dgsSetProperty(progressbar,"styleData",styleData)
- styleData : A table of the style data.
See Also
General Properties
Unique Properties For DGS Core Elements
- dgs-dx3dinterface
- dgs-dx3dimage
- dgs-dx3dtext
- dgs-dx3dline
- dgs-dxbutton
- dgs-dxcheckbox
- dgs-dxcombobox
- dgs-dxdetectarea
- dgs-dxedit
- dgs-dxgridlist
- dgs-dximage
- dgs-dxlabel
- dgs-dxline
- dgs-dxmemo
- dgs-dxprogressbar
- dgs-dxradiobutton
- dgs-dxscrollbar
- dgs-dxscrollpane
- dgs-dxselector
- dgs-dxswitchbutton
- dgs-dxtabpanel
- dgs-dxtab
- dgs-dxwindow