Wikia

WoWWiki

Changes: API ScrollingMessageFrame SetFading

Edit

Back to page

m (catfix, Replaced: {{widgetmethod}} → {{widgetmethod}}<br>)
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
 
Line 1: Line 1:
{{widgetmethod}}<br>
+
{{widgetmethod}}
 
Enables or disables fading of lines on a ScrollingMessageFrame.
 
Enables or disables fading of lines on a ScrollingMessageFrame.
   

Latest revision as of 00:04, July 15, 2008

Widget API

Enables or disables fading of lines on a ScrollingMessageFrame.

ScrollingMessageFrame:SetFading([isEnabled]);

Arguments
(Boolean [isEnabled])
isEnabled 
Enables or disables fading for the ScrollingMessageFrame. If not specified, fading will be enabled.

Returns
nil

Example
DEFAULT_CHAT_FRAME:SetFading(false);
Result
Disables fading on DEFAULT_CHAT_FRAME.

DetailsEdit

When fading is enabled, the values set by SetTimeVisible and SetFadeDuration are used to determine when lines should start to fade, and how fast the fading should be.
When fading is disabled, these values are ignored, and lines are shown indefinitely or until scrolled out of the visible area of the frame.
See also ScrollingMessageFrame:SetFadeDuration(seconds) and ScrollingMessageFrame:SetTimeVisible(seconds).

Around Wikia's network

Random Wiki