File ../../LibScriptableWidgets-1.0/LibScriptableWidgetColor-1.0/LibScriptableWidgetColor-1.0.lua
Functions
WidgetColor:Del () | Delete a LibScriptableWidgetColor object |
WidgetColor:GetOptions (db, callback, data) | Get an Ace3 option table. |
WidgetColor:New (visitor, name, config, errorLevel, callback, timer) | Create a new LibScriptableWidgetColor object |
WidgetColor:Start () | Start a LibScriptableWidgetColor |
WidgetColor:Stop () | Stop a LibScriptableWidgetColor |
WidgetColor:Update () | Update this widget |
Functions
- WidgetColor:Del ()
-
Delete a LibScriptableWidgetColor object
Usage:
object:Del()Return value:
Nothing - WidgetColor:GetOptions (db, callback, data)
-
Get an Ace3 option table. Plug this into a group type's args.
Parameters
- db: The database table
- callback: Provide this if you want to execute the callback once an option is changed
- data: Some data to pass when executing the callback
Return value:
An Ace3 options table -- `name.args = options`. - WidgetColor:New (visitor, name, config, errorLevel, callback, timer)
-
Create a new LibScriptableWidgetColor object
Parameters
- visitor: An LibScriptableCore-1.0 object, or provide your own
- name: A name for the timer widget
- config: This timeer's parameters
- errorLevel: The errorLevel for this object
- callback: An optional callback function to be executed when the gesture is performed.
- timer: An optional timer. This should have a :Start() and :Stop().
Usage:
WidgetColor:New(visitor, name, config, errorLevel)Return value:
A new LibScriptableWidgetColor widget - WidgetColor:Start ()
-
Start a LibScriptableWidgetColor
Usage:
object:Start()Return value:
Nothing - WidgetColor:Stop ()
-
Stop a LibScriptableWidgetColor
Usage:
object:Stop()Return value:
Nothing - WidgetColor:Update ()
-
Update this widget
Usage:
object:Update()Return value:
Nothing