getglobal(this:GetName().."Text"):SetText("Show Minimap Button");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Toggle visibility of the minimap button");
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Proper Nameplates Occlusion");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Nameplates would also check camera's line of sight in addition to distance");
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Prioritize Target Nameplate");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Other nameplates would disappear when a target is selected");
xpsp3tooltip:AddLine("Need Proper Nameplates Occlusion to be also enabled",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Prioritize Marked Nameplate");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Other nameplates would disappear when some nameplates are raid-marked");
xpsp3tooltip:AddLine("Need Proper Nameplates Occlusion to be also enabled",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Hide Healthy Nameplates");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Aside from prioritized nameplates, only those in-combat/damaged/PvP-flagged nameplates would be shown");
xpsp3tooltip:AddLine("Need Proper Nameplates Occlusion to be also enabled",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Hide Critter Nameplates");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Aside from prioritized nameplates, only those in-combat critters would have nameplates");
xpsp3tooltip:AddLine("Need Proper Nameplates Occlusion to be also enabled",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Show In-combat Nameplates Nearby");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("In-combat nameplates in small range would be shown regardless of occlusion");
xpsp3tooltip:AddLine("Need Proper Nameplates Occlusion to be also enabled",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Taskbar Notification");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Flash operating system's taskbar icon when the game requires attention");
xpsp3tooltip:AddLine("When the game is in background/minimized",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("System Sound Notification");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Play operating system's default sound when the game requires attention");
xpsp3tooltip:AddLine("When the game is in background/minimized",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Pin Camera Height");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Camera would keep its height during shapeshifting");
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Keep Weather Clear");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("This would fix FPS-drop during bad weather at the cost of losing weather particles visual");
xpsp3tooltip:AddLine("Toggling the switch would influence the next weather event but not the current one",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Anti-aliased Combat Text");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Alternative style for floating combat text");
xpsp3tooltip:AddLine("It requires d3dx9_43.dll which is from DirectX End-User Runtimes",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
getglobal(this:GetName().."Text"):SetText("Hide EXP Text");
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
xpsp3tooltip:SetText("Don't show that purple message when gaining experience point");
xpsp3tooltip:AddLine("Some people don't like it...",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
xpsp3tooltip:SetOwner(this, "ANCHOR_LEFT");
xpsp3tooltip:SetText("Adjust combat text font size");
xpsp3tooltip:AddLine("Range from 10 to 99. Press Enter to confirm",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_LEFT");
xpsp3tooltip:SetText("Raise or lower combat text on enemies");
xpsp3tooltip:AddLine("Range from 0 to 256. Press Enter to confirm",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_LEFT");
xpsp3tooltip:SetText("Limit frames-per-second to the specific value");
xpsp3tooltip:AddLine("Zero means no limit. Press Enter to confirm",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
UnitXP_SP3_UI_OnClick(this);
xpsp3tooltip:SetOwner(this, "ANCHOR_LEFT");
xpsp3tooltip:SetText("Limit background-frames-per-second to the specific value");
xpsp3tooltip:AddLine("Zero means no limit. Press Enter to confirm",1,1,1);
xpsp3tooltip:Show();
xpsp3tooltip:Hide();
UnitXP_SP3_UI_OnClick(this);
UnitXP_SP3_OnLoad();
UnitXP_SP3_OnEvent(event);