WoW:API StatusBar SetStatusBarColor: Difference between revisions
Jump to navigation
Jump to search
({{widgetmethod}}) |
(Updated to match the current API boilerplate.) |
||
| Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} __NOTOC__ | ||
Sets the color of a StatusBar object. | Sets the color of a StatusBar object. | ||
StatusBar:SetStatusBarColor(r, g, b, a) | |||
Arguments: | |||
== Arguments == | |||
:(r, g, b, a) | |||
:; r : Number - The red value of the color | |||
:; g : Number - The green value of the color | |||
:; b : Number - The blue value of the color | |||
:; a : Number - The alpha value of the color | |||
== Returns == | |||
:nil | |||
Revision as of 15:35, 27 June 2007
← Widget API ← StatusBar < SetStatusBarColor
Sets the color of a StatusBar object.
StatusBar:SetStatusBarColor(r, g, b, a)
Arguments
- (r, g, b, a)
- r
- Number - The red value of the color
- g
- Number - The green value of the color
- b
- Number - The blue value of the color
- a
- Number - The alpha value of the color
Returns
- nil