cwBusinessCustom panelclient
Panel defined in core/derma/cl_business.lua
Summary
Methods
Init()client
Builds a custom business entry (
cwBusinessCustom) from the parent's customData table.Paint(width, height)client
Draws the custom entry's translucent white background.
Think()client
Keeps the custom entry's information label at the bottom of the entry.
Methods
Builds a custom business entry (cwBusinessCustom) from the parent's customData table.
customData may hold name, information (a number is formatted as cash, 0 as free), description
(the tooltip), model, skin, spawnIconColor, cooldown (expireTime and textureID) and
Callback, which runs when the icon is clicked.
Draws the custom entry's translucent white background.
Parameters
- width
- height
Keeps the custom entry's information label at the bottom of the entry.