Dgs-dxbutton: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
==Properties== | ==Properties== | ||
===image=== | |||
Require [texture/shader] that can be used as the background of button. | |||
<syntaxhighlight lang="lua">dgsDxGUISetProperty(button,"image",{})</syntaxhighlight> | <syntaxhighlight lang="lua">dgsDxGUISetProperty(button,"image",{})</syntaxhighlight> | ||
*color | *color |
Revision as of 12:53, 9 September 2017
DGS Properties is always used to change the gui style and make it more fantastic.
This page shows the properties of dgs-dxbutton that you could use.
Main Functions
Properties
image
Require [texture/shader] that can be used as the background of button.
dgsDxGUISetProperty(button,"image",{})
- color
- text
- textcolor
- textsize
- shadow
- font
- clickoffset
- clip
- clickType
- wordbreak
- colorcoded
- rightbottom