Dgs-dxbutton: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Client Function}} | |||
dgsSetData(button,"image",{defimg,selimg,cliimg}) | dgsSetData(button,"image",{defimg,selimg,cliimg}) | ||
dgsSetData(button,"color",{defcolor,selcolor,clicolor}) | dgsSetData(button,"color",{defcolor,selcolor,clicolor}) |
Revision as of 12:42, 9 September 2017
dgsSetData(button,"image",{defimg,selimg,cliimg}) dgsSetData(button,"color",{defcolor,selcolor,clicolor}) dgsSetData(button,"text",tostring(text)) dgsSetData(button,"textcolor",textcolor or tocolor(255,255,255,255)) dgsSetData(button,"textsize",{tonumber(scalex) or 1,tonumber(scaley) or 1}) dgsSetData(button,"shadow",{_,_,_}) dgsSetData(button,"font",systemFont) dgsSetData(button,"clickoffset",{0,0}) dgsSetData(button,"clip",false) dgsSetData(button,"clickType",1) dgsSetData(button,"wordbreak",false) dgsSetData(button,"colorcoded",false) dgsSetData(button,"rightbottom",{"center","center"})