diff --git a/UnitXP_SP3_Addon.lua b/UnitXP_SP3_Addon.lua
index a21a71e..d363481 100755
--- a/UnitXP_SP3_Addon.lua
+++ b/UnitXP_SP3_Addon.lua
@@ -387,6 +387,20 @@ local function UnitXP_SP3_setWeatherAlwaysClear(enable)
return result;
end
+local function UnitXP_SP3_screenshotQuality(perfect)
+ local test, result = pcall(UnitXP, "screenshot", perfect);
+
+ if not test then
+ if not skipUpdateMessage then
+ skipUpdateMessage = true;
+ UnitXP_SP3_Print(
+ "UnitXP_SP3.dll failed to execute \"screenshot\". You might need to update UnitXP_SP3.dll to support this method.");
+ end
+ return false;
+ end
+ return result;
+end
+
local function UnitXP_SP3_setCameraPinHeight(enable)
local test, result = pcall(UnitXP, "cameraPinHeight", enable);
@@ -600,6 +614,14 @@ local function UnitXP_SP3_reloadConfig()
xpsp3_checkButton_weatherAlwaysClear:SetChecked(false);
end
+ if UnitXP_SP3_Addon["perfectScreenshot"] then
+ UnitXP_SP3_screenshotQuality("perfect");
+ xpsp3_checkButton_perfectScreenshot:SetChecked(true);
+ else
+ UnitXP_SP3_screenshotQuality("good");
+ xpsp3_checkButton_perfectScreenshot:SetChecked(false);
+ end
+
for ev, v in pairs(UnitXP_SP3_Addon["notify_flashTaskbarIcon"]) do
xpsp3Frame:UnregisterEvent(ev);
end
@@ -766,6 +788,14 @@ function UnitXP_SP3_UI_OnClick(widget)
end
end
+ if string.find(widget:GetName(), "_perfectScreenshot") then
+ if widget:GetChecked() then
+ UnitXP_SP3_Addon["perfectScreenshot"] = true;
+ else
+ UnitXP_SP3_Addon["perfectScreenshot"] = false;
+ end
+ end
+
if string.find(widget:GetName(), "_showInCombatNameplatesNearPlayer") then
if widget:GetChecked() then
UnitXP_SP3_Addon["showInCombatNameplatesNearPlayer"] = true;
@@ -856,7 +886,7 @@ end
function UnitXP_SP3_OnEvent(event)
if event == "ADDON_LOADED" and arg1 == "UnitXP_SP3_Addon" then
- local dataVersion = 33;
+ local dataVersion = 34;
if UnitXP_SP3_Addon == nil or UnitXP_SP3_Addon["dataVersion"] ~= dataVersion then
UnitXP_SP3_Addon = {};
UnitXP_SP3_Addon["dataVersion"] = dataVersion;
@@ -879,6 +909,7 @@ function UnitXP_SP3_OnEvent(event)
UnitXP_SP3_Addon["combatTextSP3_nameplateHeight"] = 55;
UnitXP_SP3_Addon["combatTextSP3_fontName"] = "Cambria";
UnitXP_SP3_Addon["hideEXPtext"] = false;
+ UnitXP_SP3_Addon["perfectScreenshot"] = false;
UnitXP_SP3_Addon["notify_flashTaskbarIcon"] = {};
UnitXP_SP3_Addon["notify_flashTaskbarIcon"]["PLAYER_REGEN_DISABLED"] = true;
diff --git a/UnitXP_SP3_Addon.xml b/UnitXP_SP3_Addon.xml
old mode 100755
new mode 100644
index 93ed0d8..f003b7c
--- a/UnitXP_SP3_Addon.xml
+++ b/UnitXP_SP3_Addon.xml
@@ -1,866 +1,856 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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("Change the font of combat text");
- xpsp3tooltip:AddLine("Input a font name in operating system. 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);
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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("Perfect Screenshot");
+
+
+ UnitXP_SP3_UI_OnClick(this);
+
+
+ xpsp3tooltip:SetOwner(this, "ANCHOR_RIGHT");
+ xpsp3tooltip:SetText("Generate PNG screenshot");
+ xpsp3tooltip:AddLine("In-game screenshots would be in larger PNG files instead of JPEG files",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("Change the font of combat text");
+ xpsp3tooltip:AddLine("Input a font name in operating system. 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);
+
+
+
+
+