-
Notifications
You must be signed in to change notification settings - Fork 0
WidgetBar
Starlon edited this page Nov 30, 2011
·
1 revision
<tr>
<td class="name" nowrap><a href="#Draw()">Draw()</a> ()</td>
<td class="summary">Draw the widget.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:Del">WidgetBar:Del</a> ()</td>
<td class="summary">Delete a LibScriptableWidgetBar object </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:GetOptions">WidgetBar:GetOptions</a> (db, callback, data)</td>
<td class="summary">Get an Ace3 option table.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:IntersectUpdate">WidgetBar:IntersectUpdate</a> (frame)</td>
<td class="summary">Check for frames intersecting the mouse's focus </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:New">WidgetBar:New</a> (visitor, name, config, row, col, layer, errorLevel, callback)</td>
<td class="summary">Create a new LibScriptableWidgetBar object </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:Resize">WidgetBar:Resize</a> (rows, cols, old_rows, old_cols)</td>
<td class="summary">Resize the widget.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:Start">WidgetBar:Start</a> (unit)</td>
<td class="summary">Start the widget's timer </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:Stop">WidgetBar:Stop</a> ()</td>
<td class="summary">Stop the widget's timer </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetBar:Update">WidgetBar:Update</a> ()</td>
<td class="summary">Update the widget </td>
</tr>
- Draw() ()
- Draw the widget. This just calls the real draw function you provided. object:Draw() Nothing
- WidgetBar:Del ()
- Delete a LibScriptableWidgetBar object object:Del() Nothing
- WidgetBar:GetOptions (db, callback, data)
-
Get an Ace3 option table. Plug this into a group type's args.
An Ace3 options table: `name.args = options`.
<li> db: The database table </li> <li> callback: Provide this if you want to execute the callback once an option is changed </li> <li> data: Some data to pass when executing the callback </li> - WidgetBar:IntersectUpdate (frame)
-
Check for frames intersecting the mouse's focus
object:IntersectUpdate(bars) Nothing [[
<li> frame: An optional Frame object. </li> - WidgetBar:New (visitor, name, config, row, col, layer, errorLevel, callback)
-
Create a new LibScriptableWidgetBar object
WidgetBar:New(visitor, name, config, row, col, layer, errorLevel, callback, data) A new LibScriptableWidgetBar object
<li> visitor: An LibScriptableCore-1.0 object, or provide your own </li> <li> name: </li> <li> config: This widget's parameters </li> <li> row: This widget's row </li> <li> col: This widget's column </li> <li> layer: This widget's layer </li> <li> errorLevel: The errorLevel for this object </li> <li> callback: This widget's real draw function </li> - WidgetBar:Resize (rows, cols, old_rows, old_cols)
-
Resize the widget. Note that this simply repositions this widget on your surface.
Nothing
<li> rows: The new row size </li> <li> cols: The new column size </li> <li> old_rows: The old rows size </li> <li> old_cols: The old cols size </li> - WidgetBar:Start (unit)
-
Start the widget's timer
object:Start() Nothing
<li> unit: </li> - WidgetBar:Stop ()
- Stop the widget's timer object:Stop() Nothing
- WidgetBar:Update ()
- Update the widget object:Update() Nothing