FCMCtrlStatic

Summary of modifications:

  • Added hooks for control state restoration
  • SetTextColor updates visible color immediately if window is showing

Functions

Init

fcmctrlstatic.Init(self)

View source

[Internal]

Input Type Description
self FCMCtrlStatic

SetTextColor

fcmctrlstatic.SetTextColor(self, red, green, blue)

View source

[Fluid] [Override] Displays the new text color immediately. Also hooks into control state restoration.

Input Type Description
self FCMCtrlStatic
red number
green number
blue number

RestoreState

fcmctrlstatic.RestoreState(self)

View source

[Fluid] [Internal] Restores the control’s stored state. Do not disable this method. Override as needed but call the parent first.

Input Type Description
self FCMCtrlStatic