Dgs-dxbutton: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
DGS Properties is always used to change the gui style and make it more fantastic.
DGS Properties is always used to change the gui style and make it more fantastic.
==Main Functions==
==Main Functions==
*[[dgsDxGUISetProperty]]
*[[dgsDxGUISetProperty]]
*[[dgsDxGUIGetProperty]]
*[[dgsDxGUIGetProperty]]
dgsSetData(button,"image",{defimg,selimg,cliimg})
 
dgsSetData(button,"color",{defcolor,selcolor,clicolor})
==Properties==
dgsSetData(button,"text",tostring(text))
*image",{defimg,selimg,cliimg})
dgsSetData(button,"textcolor",textcolor or tocolor(255,255,255,255))
*color",{defcolor,selcolor,clicolor})
dgsSetData(button,"textsize",{tonumber(scalex) or 1,tonumber(scaley) or 1})
*text",tostring(text))
dgsSetData(button,"shadow",{_,_,_})
*textcolor",textcolor or tocolor(255,255,255,255))
dgsSetData(button,"font",systemFont)
*textsize",{tonumber(scalex) or 1,tonumber(scaley) or 1})
dgsSetData(button,"clickoffset",{0,0})
*shadow",{_,_,_})
dgsSetData(button,"clip",false)
*font",systemFont)
dgsSetData(button,"clickType",1)
*clickoffset",{0,0})
dgsSetData(button,"wordbreak",false)
*clip",false)
dgsSetData(button,"colorcoded",false)
*clickType",1)
dgsSetData(button,"rightbottom",{"center","center"})
*wordbreak",false)
*colorcoded",false)
*rightbottom",{"center","center"})

Revision as of 12:46, 9 September 2017

DGS Properties is always used to change the gui style and make it more fantastic.

Main Functions

Properties

  • image",{defimg,selimg,cliimg})
  • color",{defcolor,selcolor,clicolor})
  • text",tostring(text))
  • textcolor",textcolor or tocolor(255,255,255,255))
  • textsize",{tonumber(scalex) or 1,tonumber(scaley) or 1})
  • shadow",{_,_,_})
  • font",systemFont)
  • clickoffset",{0,0})
  • clip",false)
  • clickType",1)
  • wordbreak",false)
  • colorcoded",false)
  • rightbottom",{"center","center"})