-
Notifications
You must be signed in to change notification settings - Fork 0
WidgetIcon
Starlon edited this page Nov 30, 2011
·
1 revision
<tr>
<td class="name" nowrap><a href="#WidgetIcon:Del">WidgetIcon:Del</a> ()</td>
<td class="summary">Delete a LibScriptableWidgetIcon object </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetIcon:Draw">WidgetIcon:Draw</a> ()</td>
<td class="summary">Draw the image.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetIcon:New">WidgetIcon:New</a> (visitor, name, config, row, col, layer, errorLevel, callback, timer)</td>
<td class="summary">Create a new LibScriptableWidgetIcon object </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetIcon:Resize">WidgetIcon:Resize</a> (rows, cols, old_rows, old_cols)</td>
<td class="summary">Resize this icon.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetIcon:SetupChars">WidgetIcon:SetupChars</a> ()</td>
<td class="summary">Allocate space for this icon's special character </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetIcon:Start">WidgetIcon:Start</a> ()</td>
<td class="summary">Start a LibScriptableWidgetIcon </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetIcon:Stop">WidgetIcon:Stop</a> ()</td>
<td class="summary">Stop a LibScriptableWidgetIcon </td>
</tr>
<tr>
<td class="name" nowrap><a href="#WidgetIcon:Update">WidgetIcon:Update</a> ()</td>
<td class="summary">Update icon data.</td>
</tr>
- WidgetIcon:Del ()
- Delete a LibScriptableWidgetIcon object :Del() Nothing
- WidgetIcon:Draw ()
- Draw the image. Note that this simply calls the callback provided in the object's creation. :Draw() Nothing
- WidgetIcon:New (visitor, name, config, row, col, layer, errorLevel, callback, timer)
-
Create a new LibScriptableWidgetIcon object
WidgetIcon:New(visitor, name, config, row, col, layer, errorLevel, timer) A new LibScriptableWidgetIcon widget
<li> visitor: An LibScriptableCore-1.0 object, or provide your own </li> <li> name: A name for this widget </li> <li> config: This widget's settings </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 widget </li> <li> callback: The draw function </li> <li> timer: An optional timer. This should have a :Start() and :Stop(). </li> - WidgetIcon:Resize (rows, cols, old_rows, old_cols)
-
Resize this icon. Note that this repositions this widget on the surface described.
Nothing
<li> rows: The new row height. </li> <li> cols: The new column width. </li> <li> old_rows: The old row height. </li> <li> old_cols: The new column width. </li> - WidgetIcon:SetupChars ()
- Allocate space for this icon's special character :SetupChars() Nothing
- WidgetIcon:Start ()
- Start a LibScriptableWidgetIcon object:Start() Nothing
- WidgetIcon:Stop ()
- Stop a LibScriptableWidgetIcon object:Stop() Nothing
- WidgetIcon:Update ()
- Update icon data. This will usually just increment the icon face. :Update() Nothing