diff --git a/Modules/Appearance/Appearance.lua b/Modules/Appearance/Appearance.lua
index 3e39d84..e1179ec 100644
--- a/Modules/Appearance/Appearance.lua
+++ b/Modules/Appearance/Appearance.lua
@@ -412,8 +412,8 @@ function mod:GetOptions()
end
function mod:SetUnit()
- self.origBackdrop = self.origBackdrop or _G["StarTipQTipMain"]:GetBackdrop()
- self.origBackdropColor = self.origBackdropColor or {_G["StarTipQTipMain"]:GetBackdropColor()}
+ self.origBackdrop = self.origBackdrop or _G["StarTipTooltipMain"]:GetBackdrop()
+ self.origBackdropColor = self.origBackdropColor or {_G["StarTipTooltipMain"]:GetBackdropColor()}
self:SetBackdropColor()
end
@@ -427,12 +427,12 @@ end
function mod:SetScale(reset)
if reset then
- _G["StarTipQTipMain"]:SetScale(1)
+ _G["StarTipTooltipMain"]:SetScale(1)
ShoppingTooltip1:SetScale(1)
ShoppingTooltip2:SetScale(1)
else
- _G["StarTipQTipMain"]:SetScale(self.db.profile.scale)
+ _G["StarTipTooltipMain"]:SetScale(self.db.profile.scale)
ShoppingTooltip1:SetScale(self.db.profile.scale)
ShoppingTooltip2:SetScale(self.db.profile.scale)
@@ -442,11 +442,11 @@ end
local tmp, tmp2 = {}, {}
function mod:SetBackdrop()
if reset then
- _G["StarTipQTipMain"]:SetBackdrop(self.origBackdrop)
+ _G["StarTipTooltipMain"]:SetBackdrop(self.origBackdrop)
ShoppingTooltip1:SetBackdrop(self.origBackdrop)
ShoppingTooltip2:SetBackdrop(self.origBackdrop)
else
- local bd = _G["StarTipQTipMain"]:GetBackdrop()
+ local bd = _G["StarTipTooltipMain"]:GetBackdrop()
local changed = false
local bgFile = LSM:Fetch('background', self.db.profile.background)
local edgeFile = LSM:Fetch('border', self.db.profile.edgeFile)
@@ -465,7 +465,7 @@ function mod:SetBackdrop()
tmp2.right = self.db.profile.paddingRight
tmp2.top = self.db.profile.paddingTop
tmp2.bottom = self.db.profile.paddingBottom
- _G["StarTipQTipMain"]:SetBackdrop(tmp)
+ _G["StarTipTooltipMain"]:SetBackdrop(tmp)
ShoppingTooltip1:SetBackdrop(tmp)
ShoppingTooltip2:SetBackdrop(tmp)
end
@@ -475,11 +475,11 @@ end
function mod:SetBackdropColor(reset)
if reset then
if self.origBackdropColor then
- _G["StarTipQTipMain"]:SetBackdropColor(unpack(self.origBackdropColor))
+ _G["StarTipTooltipMain"]:SetBackdropColor(unpack(self.origBackdropColor))
ShoppingTooltip1:SetBackdropColor(unpack(self.origBackdropColor))
ShoppingTooltip2:SetBackdropColor(unpack(self.origBackdropColor))
else
- _G["StarTipQTipMain"]:SetBackdropColor(0,0,0,1)
+ _G["StarTipTooltipMain"]:SetBackdropColor(0,0,0,1)
ShoppingTooltip1:SetBackdropColor(0,0,0,1)
ShoppingTooltip2:SetBackdropColor(0,0,0,1)
end
@@ -528,7 +528,7 @@ function mod:SetBackdropColor(reset)
else
kind = 'other'
end
- _G["StarTipQTipMain"]:SetBackdropColor(unpack(self.db.profile.bgColor[kind]))
+ _G["StarTipTooltipMain"]:SetBackdropColor(unpack(self.db.profile.bgColor[kind]))
if kind == 'other' then
ShoppingTooltip1:SetBackdropColor(unpack(self.db.profile.bgColor[kind]))
ShoppingTooltip2:SetBackdropColor(unpack(self.db.profile.bgColor[kind]))
diff --git a/Modules/Bars/Bars.lua b/Modules/Bars/Bars.lua
index 5ab00fd..fd93175 100644
--- a/Modules/Bars/Bars.lua
+++ b/Modules/Bars/Bars.lua
@@ -81,12 +81,12 @@ return r, g, b
]],
height = 6,
length = 0,
- points = {{"BOTTOM", "StarTipQTipMain", "TOP", 0, 0}, {"LEFT", "StarTipQTipMain", "LEFT", 5, 0}, {"RIGHT", "StarTipQTipMain", "RIGHT", -5, 0}},
+ points = {{"BOTTOM", "StarTipTooltipMain", "TOP", 0, 0}, {"LEFT", "StarTipTooltipMain", "LEFT", 5, 0}, {"RIGHT", "StarTipTooltipMain", "RIGHT", -5, 0}},
texture1 = LSM:GetDefault("statusbar"),
enabled = true,
layer = 1,
level = 100,
- parent = "StarTipQTipMain"
+ parent = "StarTipTooltipMain"
},
[2] = {
name = "Mana Bar",
@@ -109,12 +109,12 @@ return self.lastR, self.lastG, self.lastB
]],
height = 6,
length = 0,
- points = {{"TOP", "StarTipQTipMain", "BOTTOM", 0, 0}, {"LEFT", "StarTipQTipMain", "LEFT", 5, 0}, {"RIGHT", "StarTipQTipMain", "RIGHT", -5, 0}},
+ points = {{"TOP", "StarTipTooltipMain", "BOTTOM", 0, 0}, {"LEFT", "StarTipTooltipMain", "LEFT", 5, 0}, {"RIGHT", "StarTipTooltipMain", "RIGHT", -5, 0}},
texture1 = LSM:GetDefault("statusbar"),
enabled = true,
layer = 1,
level = 100,
- parent = "StarTipQTipMain"
+ parent = "StarTipTooltipMain"
},
[3] = {
name = "Threat Bar",
@@ -133,14 +133,14 @@ return status
]],
length = 6,
height = 0,
- points = {{"LEFT", "StarTipQTipMain", "RIGHT", 0, 0}, {"TOP", "StarTipQTipMain", "TOP", 0, -5}, {"BOTTOM", "StarTipQTipMain", "BOTTOM", 0, 5}},
+ points = {{"LEFT", "StarTipTooltipMain", "RIGHT", 0, 0}, {"TOP", "StarTipTooltipMain", "TOP", 0, -5}, {"BOTTOM", "StarTipTooltipMain", "BOTTOM", 0, 5}},
texture = LSM:GetDefault("statusbar"),
min = "return 0",
max = "return 100",
enabled = true,
layer = 1,
level = 100,
- parent = "StarTipQTipMain",
+ parent = "StarTipTooltipMain",
orientation = WidgetBar.ORIENTATION_VERTICAL
}
@@ -167,7 +167,7 @@ local optionsDefaults = {
max = "return 100",
length = 12,
height = 0,
- points = {{"RIGHT", "StarTipQTipMain", "LEFT", 0, 0}, {"TOP", "StarTipQTipMain", "TOP", 0, -5}, {"BOTTOM", "StarTipQTipMain", "BOTTOM", 0, 5}},
+ points = {{"RIGHT", "StarTipTooltipMain", "LEFT", 0, 0}, {"TOP", "StarTipTooltipMain", "TOP", 0, -5}, {"BOTTOM", "StarTipTooltipMain", "BOTTOM", 0, 5}},
level = 100,
layer = 1,
texture = LSM:GetDefault("statusbar"),
@@ -176,7 +176,7 @@ local optionsDefaults = {
orientation = WidgetBar.ORIENTATION_VERTICAL,
custom = true,
enabled = true,
- parent = "StarTipQTipMain"
+ parent = "StarTipTooltipMain"
}
tinsert(mod.db.profile.bars, widget)
StarTip:RebuildOpts()
@@ -237,7 +237,7 @@ do
parent = _G[parent]
end
if type(parent) ~= "table" then
- parent = _G["StarTipQTipMain"]
+ parent = _G["StarTipTooltipMain"]
end
if bar then
pool[bar] = nil
@@ -253,7 +253,7 @@ do
end
end
-local defaultPoint = {"BOTTOMLEFT", "StarTipQTipMain", "TOPLEFT"}
+local defaultPoint = {"BOTTOMLEFT", "StarTipTooltipMain", "TOPLEFT"}
local strataNameList = {
"TOOLTIP", "FULLSCREEN_DIALOG", "FULLSCREEN", "DIALOG", "HIGH", "MEDIUM", "LOW", "BACKGROUND"
diff --git a/Modules/Border/Border.lua b/Modules/Border/Border.lua
index e7173fb..21917d3 100644
--- a/Modules/Border/Border.lua
+++ b/Modules/Border/Border.lua
@@ -74,7 +74,7 @@ local function copy(tbl)
end
local function draw(widget)
- _G["StarTipQTipMain"]:SetBackdropBorderColor(widget.r or 1, widget.g or 1, widget.b or 1, widget.a or 1)
+ _G["StarTipTooltipMain"]:SetBackdropBorderColor(widget.r or 1, widget.g or 1, widget.b or 1, widget.a or 1)
end
function mod:CreateBorders()
diff --git a/Modules/Histograms/Histograms.lua b/Modules/Histograms/Histograms.lua
index d728e2a..3655e6a 100644
--- a/Modules/Histograms/Histograms.lua
+++ b/Modules/Histograms/Histograms.lua
@@ -54,13 +54,13 @@ local defaultWidgets = {
enabled = true,
width = 10,
height = 50,
- points = {{"TOPLEFT", "StarTipQTipMain", "BOTTOMLEFT", 0, -12}},
+ points = {{"TOPLEFT", "StarTipTooltipMain", "BOTTOMLEFT", 0, -12}},
color = [[
return HPColor(UnitHealth(unit), UnitHealthMax(unit))
]],
layer = 1,
update = 1000,
- parent = "StarTipQTipMain"
+ parent = "StarTipTooltipMain"
},
[2] = {
name = "Power",
@@ -70,13 +70,13 @@ return HPColor(UnitHealth(unit), UnitHealthMax(unit))
enabled = true,
width = 10,
height = 50,
- points = {{"TOPRIGHT", "StarTipQTipMain", "BOTTOMRIGHT", -100, -12}},
+ points = {{"TOPRIGHT", "StarTipTooltipMain", "BOTTOMRIGHT", -100, -12}},
color = [[
return PowerColor("RAGE", unit)
]],
layer = 1,
update = 1000,
- parent = "StarTipQTipMain"
+ parent = "StarTipTooltipMain"
},
[3] = {
name = "Mem",
@@ -105,13 +105,13 @@ end
char = "0",
width = 10,
height = 50,
- points = {{"TOPLEFT", "StarTipQTipMain", "BOTTOMLEFT", 0, -77}},
+ points = {{"TOPLEFT", "StarTipTooltipMain", "BOTTOMLEFT", 0, -77}},
layer = 1,
update = 1000,
persistent = true,
intersect = true,
intersectPad = 1000,
- parent = "StarTipQTipMain"
+ parent = "StarTipTooltipMain"
},
[4] = {
name = "CPU",
@@ -140,7 +140,7 @@ end
char = "0",
width = 10,
height = 50,
- points = {{"TOPRIGHT", "StarTipQTipMain", "BOTTOMRIGHT", -100, -77}},
+ points = {{"TOPRIGHT", "StarTipTooltipMain", "BOTTOMRIGHT", -100, -77}},
layer = 1,
update = 1000,
persistent = true,
@@ -174,7 +174,7 @@ local optionsDefaults = {
height = WidgetHistogram.defaults.height,
width = WidgetHistogram.defaults.width,
enabled = true,
- points = {{"TOPLEFT", "StarTipQTipMain", "BOTTOMLEFT", 0, -50}},
+ points = {{"TOPLEFT", "StarTipTooltipMain", "BOTTOMLEFT", 0, -50}},
texture = LSM:GetDefault("statusbar"),
expression = "return random(100)",
color = "return 0, 0, 1",
@@ -231,7 +231,7 @@ do
parent = _G[parent]
end
if type(parent) ~= "table" then
- parent = _G["StarTipQTipMain"]
+ parent = _G["StarTipTooltipMain"]
end
local histogram = next(pool)
@@ -318,8 +318,8 @@ local function createHistograms()
bar:SetWidth(v.width or 6)
end
else
- bar:SetPoint("TOPLEFT", v.parent or _G["StarTipQTipMain"], "TOPLEFT")
- bar:SetPoint("BOTTOMLEFT", v.parent or _G["StarTipQTipMain"], "BOTTOMLEFT")
+ bar:SetPoint("TOPLEFT", v.parent or _G["StarTipTooltipMain"], "TOPLEFT")
+ bar:SetPoint("BOTTOMLEFT", v.parent or _G["StarTipTooltipMain"], "BOTTOMLEFT")
end
bar:SetHeight(v.height)
bar:SetMinMaxValues(0, 100)
diff --git a/Modules/PvP/PvP.lua b/Modules/PvP/PvP.lua
index 48cb0e7..f829809 100644
--- a/Modules/PvP/PvP.lua
+++ b/Modules/PvP/PvP.lua
@@ -12,7 +12,7 @@ local defaults = {
profile = {
width = 30,
height = 30,
- points = {{"TOP", "StarTipQTipMain", "TOPRIGHT", 0, 0}}
+ points = {{"TOP", "StarTipTooltipMain", "TOPRIGHT", 0, 0}}
}
}
@@ -80,7 +80,7 @@ function mod:GetOptions()
desc = L["Add a new point"],
type = "input",
set = function(info, v)
- tinsert(db.points, {"TOP", "StarTipQTip", "TOPRIGHT", 0, 0})
+ tinsert(db.points, {"TOP", "StarTipTooltipMain", "TOPRIGHT", 0, 0})
end,
order = 1
}
diff --git a/Modules/RaidIcon/RaidIcon.lua b/Modules/RaidIcon/RaidIcon.lua
index 54ccb17..778a5e5 100644
--- a/Modules/RaidIcon/RaidIcon.lua
+++ b/Modules/RaidIcon/RaidIcon.lua
@@ -12,7 +12,7 @@ local defaults = {
profile = {
width = 16,
height = 16,
- points = {{"TOP", "StarTipQTipMain", "TOP", 0, 4}}
+ points = {{"TOP", "StarTipTooltipMain", "TOP", 0, 4}}
}
}
@@ -74,7 +74,7 @@ function mod:GetOptions()
desc = L["Add a new point"],
type = "input",
set = function(info, v)
- tinsert(db.points, {"TOP", "StarTipQTip", "TOP", 0, 0})
+ tinsert(db.points, {"TOP", "StarTipTooltipMain", "TOP", 0, 0})
end,
order = 1
}
diff --git a/Modules/Texts/Texts.lua b/Modules/Texts/Texts.lua
index a67c8e4..5ecaff6 100644
--- a/Modules/Texts/Texts.lua
+++ b/Modules/Texts/Texts.lua
@@ -74,8 +74,8 @@ end
speed = 100,
direction = SCROLL_LEFT,
dontRtrim = true,
- points = {{"BOTTOMLEFT", "StarTipQTipMain", "TOPLEFT", 0, 12}},
- parent = "StarTipQTipMain",
+ points = {{"BOTTOMLEFT", "StarTipTooltipMain", "TOPLEFT", 0, 12}},
+ parent = "StarTipTooltipMain",
frameName = "StarTipTextsName",
strata = 1,
level = 1,
@@ -96,8 +96,8 @@ return Gradient(health / max)
]],
cols = 20,
update = 1000,
- points = {{"TOPLEFT", "StarTipQTipMain", "BOTTOMLEFT", 0, 1}},
- parent = "StarTipQTipMain",
+ points = {{"TOPLEFT", "StarTipTooltipMain", "BOTTOMLEFT", 0, 1}},
+ parent = "StarTipTooltipMain",
strata = 1,
level = 1
},
@@ -118,8 +118,8 @@ return Gradient(mana / max)
cols = 20,
update = 1000,
align = WidgetText.ALIGN_RIGHT,
- points = {{"TOPRIGHT", "StarTipQTipMain", "BOTTOMRIGHT", 0, 1}},
- parent = "StarTipQTipMain",
+ points = {{"TOPRIGHT", "StarTipTooltipMain", "BOTTOMRIGHT", 0, 1}},
+ parent = "StarTipTooltipMain",
strata = 1,
level = 1
},
@@ -150,8 +150,8 @@ end
cols = 20,
update = 1000,
dontRtrim = true,
- points = {{"TOPLEFT", "StarTipQTipMain", "BOTTOMLEFT", 0, -62}},
- parent = "StarTipQTipMain",
+ points = {{"TOPLEFT", "StarTipTooltipMain", "BOTTOMLEFT", 0, -62}},
+ parent = "StarTipTooltipMain",
strata = 1,
level = 1,
intersect = true,
@@ -174,8 +174,8 @@ return Color2RGBA(0xffff00)
cols = 20,
update = 1000,
dontRtrim = true,
- points = {{"TOPLEFT", "StarTipQTipMain", "BOTTOMLEFT", 0, -124}},
- parent = "StarTipQTipMain",
+ points = {{"TOPLEFT", "StarTipTooltipMain", "BOTTOMLEFT", 0, -124}},
+ parent = "StarTipTooltipMain",
strata = 1,
level = 1,
intersect = true,
@@ -206,8 +206,8 @@ end
align = WidgetText.ALIGN_RIGHT,
update = 1000,
dontRtrim = true,
- points = {{"TOPRIGHT", "StarTipQTipMain", "BOTTOMRIGHT", 0, -62}},
- parent = "StarTipQTipMain",
+ points = {{"TOPRIGHT", "StarTipTooltipMain", "BOTTOMRIGHT", 0, -62}},
+ parent = "StarTipTooltipMain",
strata = 1,
level = 1,
intersect = true,
@@ -232,8 +232,8 @@ return 1, 1, 0
align = WidgetText.ALIGN_RIGHT,
update = 1000,
dontRtrim = true,
- points = {{"TOPRIGHT", "StarTipQTipMain", "BOTTOMRIGHT", 0, -124}},
- parent = "StarTipQTipMain",
+ points = {{"TOPRIGHT", "StarTipTooltipMain", "BOTTOMRIGHT", 0, -124}},
+ parent = "StarTipTooltipMain",
strata = 1,
level = 1,
intersect = true,
@@ -261,7 +261,7 @@ local optionsDefaults = {
min = "return 0",
max = "return 100",
height = 6,
- points = {{"BOTTOMLEFT", "StarTipQTipMain", "TOPLEFT"}},
+ points = {{"BOTTOMLEFT", "StarTipTooltipMain", "TOPLEFT"}},
texture = LSM:GetDefault("statustext"),
expression = "",
strata = 1,
@@ -334,7 +334,7 @@ do
end
if type(parent) ~= "table" then
- parent = _G["StarTipQTipMain"]
+ parent = _G["StarTipTooltipMain"]
end
if text then
pool[text] = nil
@@ -369,7 +369,7 @@ do
end
end
-local defaultPoint = {"BOTTOMLEFT", "StarTipQTipMain", "TOPLEFT"}
+local defaultPoint = {"BOTTOMLEFT", "StarTipTooltipMain", "TOPLEFT"}
local strataNameList = {
"TOOLTIP", "FULLSCREEN_DIALOG", "FULLSCREEN", "DIALOG", "HIGH", "MEDIUM", "LOW", "BACKGROUND"