SetFramePosition() is now MainPanel:SetPosition()
SetFramePosition() is now MainPanel:SetPosition()
Moved MainPanel methods out of InitializeFrame() and into the main file body.
Moved creation of MainPanel out of InitializeFrame() and into the main file body.
Removed "playerFaction" and "exclude" parameters from GenerateTooltipContent(), since that information is available from the file scope. Updated both places where it is used.
ARL_SwitcherButton is now MainPanel.mode_button.
SetSwitcherTexture() has been re-written and is now mode_button:ChangeTexture().