Skip to content

Commit

Permalink
Renamed media to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- committed Feb 25, 2018
1 parent 4128acd commit 26e7252
Show file tree
Hide file tree
Showing 47 changed files with 191 additions and 194 deletions.
2 changes: 1 addition & 1 deletion .packager.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ $includedItems = @(
".\init.lua",
".\LICENSE.txt",
".\ls_UI.toc",
".\assets\",
".\config\",
".\core\",
".\embeds\",
".\locales\",
".\media\",
".\modules\"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions core/button.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ local function skinButton(button)
hooksecurefunc(button, "SetNormalTexture", setNormalTextureHook)

local border = E:CreateBorder(button)
border:SetTexture("Interface\\AddOns\\ls_UI\\media\\border-thin")
border:SetTexture("Interface\\AddOns\\ls_UI\\assets\\border-thin")
border:SetSize(16)
border:SetOffset(-4)
button.Border_ = border
Expand Down Expand Up @@ -433,7 +433,7 @@ function E:CreateButton(parent, name, isSandwich, isSecure)
button.Icon = setIcon(button)

local border = E:CreateBorder(button)
border:SetTexture("Interface\\AddOns\\ls_UI\\media\\border-thin")
border:SetTexture("Interface\\AddOns\\ls_UI\\assets\\border-thin")
border:SetSize(16)
border:SetOffset(-4)
button.Border = border
Expand Down Expand Up @@ -468,7 +468,7 @@ function E:CreateCheckButton(parent, name, isSandwich, isSecure)
button.Icon = setIcon(button)

local border = E:CreateBorder(button)
border:SetTexture("Interface\\AddOns\\ls_UI\\media\\border-thin")
border:SetTexture("Interface\\AddOns\\ls_UI\\assets\\border-thin")
border:SetSize(16)
border:SetOffset(-4)
button.Border = border
Expand Down
98 changes: 49 additions & 49 deletions core/constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -219,61 +219,61 @@ local textures = {
},
inlineicons = {
-- first line
["LEADER"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:1:33:1:33|t",
["DAMAGER"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:34:66:1:33|t",
["HEALER"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:67:99:1:33|t",
["TANK"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:100:132:1:33|t",
["RESTING"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:133:165:1:33|t",
["COMBAT"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:166:198:1:33|t",
["HORDE"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:199:231:1:33|t",
["LEADER"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:1:33:1:33|t",
["DAMAGER"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:34:66:1:33|t",
["HEALER"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:67:99:1:33|t",
["TANK"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:100:132:1:33|t",
["RESTING"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:133:165:1:33|t",
["COMBAT"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:166:198:1:33|t",
["HORDE"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:199:231:1:33|t",
-- second line
["ALLIANCE"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:1:33:34:66|t",
["FFA"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:34:66:34:66|t",
["PHASE"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:67:99:34:66|t",
["QUEST"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:100:132:34:66|t",
["SHEEP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:133:165:34:66|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:166:198:34:66|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:199:231:34:66|t",
["ALLIANCE"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:1:33:34:66|t",
["FFA"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:34:66:34:66|t",
["PHASE"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:67:99:34:66|t",
["QUEST"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:100:132:34:66|t",
["SHEEP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:133:165:34:66|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:166:198:34:66|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:199:231:34:66|t",
-- third line
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:1:33:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:34:66:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:67:99:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:100:132:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:133:165:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:166:198:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:199:231:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:1:33:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:34:66:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:67:99:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:100:132:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:133:165:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:166:198:67:99|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:199:231:67:99|t",
-- fourth line
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:1:33:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:34:66:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:67:99:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:100:132:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:133:165:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:166:198:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:199:231:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:1:33:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:34:66:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:67:99:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:100:132:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:133:165:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:166:198:100:132|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:199:231:100:132|t",
-- fifth line
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:1:33:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:34:66:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:67:99:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:100:132:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:133:165:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:166:198:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:199:231:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:1:33:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:34:66:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:67:99:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:100:132:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:133:165:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:166:198:133:165|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:199:231:133:165|t",
-- sixth line
["WARRIOR"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:1:33:166:198|t",
["MAGE"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:34:66:166:198|t",
["ROGUE"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:67:99:166:198|t",
["DRUID"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:100:132:166:198|t",
["HUNTER"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:133:165:166:198|t",
["SHAMAN"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:166:198:166:198|t",
["PRIEST"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:199:231:166:198|t",
["WARRIOR"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:1:33:166:198|t",
["MAGE"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:34:66:166:198|t",
["ROGUE"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:67:99:166:198|t",
["DRUID"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:100:132:166:198|t",
["HUNTER"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:133:165:166:198|t",
["SHAMAN"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:166:198:166:198|t",
["PRIEST"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:199:231:166:198|t",
-- seventh line
["WARLOCK"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:1:33:199:231|t",
["PALADIN"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:34:66:199:231|t",
["DEATHKNIGHT"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:67:99:199:231|t",
["MONK"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:100:132:199:231|t",
["DEMONHUNTER"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:133:165:199:231|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:166:198:199:231|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\media\\unit-frame-icons:%d:%d:0:0:256:256:199:231:199:231|t",
["WARLOCK"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:1:33:199:231|t",
["PALADIN"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:34:66:199:231|t",
["DEATHKNIGHT"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:67:99:199:231|t",
["MONK"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:100:132:199:231|t",
["DEMONHUNTER"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:133:165:199:231|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:166:198:199:231|t",
-- ["TEMP"] = "|TInterface\\AddOns\\ls_UI\\assets\\unit-frame-icons:%d:%d:0:0:256:256:199:231:199:231|t",
},
}

Expand Down
6 changes: 3 additions & 3 deletions core/statusbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -409,16 +409,16 @@ do
object.Tube[i]:SetTexture(nil)
object.Tube[i]:ClearAllPoints()
else
object.Tube[i]:SetTexture("Interface\\AddOns\\ls_UI\\media\\statusbar")
object.Tube[i]:SetTexture("Interface\\AddOns\\ls_UI\\assets\\statusbar")
object.Tube[i]:SetTexCoord(unpack(LAYOUT[s][v][i].coords))
object.Tube[i]:ClearAllPoints()
object.Tube[i]:SetSize(unpack(LAYOUT[s][v][i].size))
end
end

object.Tube[5]:SetTexture("Interface\\AddOns\\ls_UI\\media\\statusbar-glass")
object.Tube[5]:SetTexture("Interface\\AddOns\\ls_UI\\assets\\statusbar-glass")
object.Tube[5]:SetAllPoints()
object.Tube[6]:SetTexture("Interface\\AddOns\\ls_UI\\media\\statusbar-glass-shadow")
object.Tube[6]:SetTexture("Interface\\AddOns\\ls_UI\\assets\\statusbar-glass-shadow")
object.Tube[6]:SetAllPoints()

if s == "HORIZONTAL" then
Expand Down
4 changes: 2 additions & 2 deletions modules/auras/auras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ local function HandleButton(button)
button.Icon = E:SetIcon(button, [[Interface\ICONS\INV_Misc_QuestionMark]])

local border = E:CreateBorder(button)
border:SetTexture("Interface\\AddOns\\ls_UI\\media\\border-thin")
border:SetTexture("Interface\\AddOns\\ls_UI\\assets\\border-thin")
border:SetSize(16)
border:SetOffset(-4)
button.Border = border
Expand Down Expand Up @@ -294,7 +294,7 @@ local function CreateHeader(filter)
totem.Icon = E:SetIcon(icon)

border = E:CreateBorder(totem)
border:SetTexture("Interface\\AddOns\\ls_UI\\media\\border-thin")
border:SetTexture("Interface\\AddOns\\ls_UI\\assets\\border-thin")
border:SetSize(16)
border:SetOffset(-4)
totem.Border = border
Expand Down
14 changes: 7 additions & 7 deletions modules/bars/controller.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ WIDGETS.BAG = {
point = {"BOTTOMLEFT", "LSActionBarControllerBag", "BOTTOMLEFT", 17, 11},
on_add = function(self)
local texture = anim_controller.Bag:CreateTexture(nil, "ARTWORK")
texture:SetTexture("Interface\\AddOns\\ls_UI\\media\\console")
texture:SetTexture("Interface\\AddOns\\ls_UI\\assets\\console")
texture:SetTexCoord(unpack(elements.bottom.bag.coords))
texture:SetAllPoints()
texture:SetSize(unpack(elements.bottom.bag.size))
Expand Down Expand Up @@ -262,20 +262,20 @@ function MODULE.SetupActionBarController()
anim_controller.Top = top

local texture = top:CreateTexture(nil, "ARTWORK")
texture:SetTexture("Interface\\AddOns\\ls_UI\\media\\console")
texture:SetTexture("Interface\\AddOns\\ls_UI\\assets\\console")
texture:SetTexCoord(unpack(elements.top.left.coords))
texture:SetPoint("BOTTOMRIGHT", top, "BOTTOMLEFT", 0, 0)
texture:SetSize(unpack(elements.top.left.size))
top.Left = texture

texture = top:CreateTexture(nil, "ARTWORK")
texture:SetTexture("Interface\\AddOns\\ls_UI\\media\\console")
texture:SetTexture("Interface\\AddOns\\ls_UI\\assets\\console")
texture:SetTexCoord(unpack(elements.top.mid.coords))
texture:SetAllPoints()
top.Mid = texture

texture = top:CreateTexture(nil, "ARTWORK")
texture:SetTexture("Interface\\AddOns\\ls_UI\\media\\console")
texture:SetTexture("Interface\\AddOns\\ls_UI\\assets\\console")
texture:SetTexCoord(unpack(elements.top.right.coords))
texture:SetPoint("BOTTOMLEFT", top, "BOTTOMRIGHT", 0, 0)
texture:SetSize(unpack(elements.top.right.size))
Expand All @@ -288,20 +288,20 @@ function MODULE.SetupActionBarController()
anim_controller.Bottom = bottom

texture = bottom:CreateTexture(nil, "ARTWORK")
texture:SetTexture("Interface\\AddOns\\ls_UI\\media\\console")
texture:SetTexture("Interface\\AddOns\\ls_UI\\assets\\console")
texture:SetTexCoord(unpack(elements.bottom.left.coords))
texture:SetPoint("BOTTOMRIGHT", bottom, "BOTTOMLEFT", 0, 0)
texture:SetSize(unpack(elements.bottom.left.size))
bottom.Left = texture

texture = bottom:CreateTexture(nil, "ARTWORK")
texture:SetTexture("Interface\\AddOns\\ls_UI\\media\\console")
texture:SetTexture("Interface\\AddOns\\ls_UI\\assets\\console")
texture:SetTexCoord(unpack(elements.bottom.mid.coords))
texture:SetAllPoints()
bottom.Mid = texture

texture = bottom:CreateTexture(nil, "ARTWORK")
texture:SetTexture("Interface\\AddOns\\ls_UI\\media\\console")
texture:SetTexture("Interface\\AddOns\\ls_UI\\assets\\console")
texture:SetTexCoord(unpack(elements.bottom.right.coords))
texture:SetPoint("BOTTOMLEFT", bottom, "BOTTOMRIGHT", 0, 0)
texture:SetSize(unpack(elements.bottom.right.size))
Expand Down
8 changes: 4 additions & 4 deletions modules/bars/micromenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ local function SetPushedTexture(button)
local pushed = button:GetPushedTexture()

if pushed then
pushed:SetTexture("Interface\\AddOns\\ls_UI\\media\\micromenu")
pushed:SetTexture("Interface\\AddOns\\ls_UI\\assets\\micromenu")
pushed:SetTexCoord(unpack(TEXTURE_COORDS.pushed))
pushed:ClearAllPoints()
pushed:SetPoint("TOPLEFT", 1, -1)
Expand Down Expand Up @@ -256,13 +256,13 @@ local function HandleMicroButton(button)
SetDisabledTexture(button)

local border = E:CreateBorder(button)
border:SetTexture("Interface\\AddOns\\ls_UI\\media\\border-thin")
border:SetTexture("Interface\\AddOns\\ls_UI\\assets\\border-thin")
border:SetSize(16)
border:SetOffset(-4)
button.Border = border

if highlight then
highlight:SetTexture("Interface\\AddOns\\ls_UI\\media\\micromenu")
highlight:SetTexture("Interface\\AddOns\\ls_UI\\assets\\micromenu")
highlight:SetTexCoord(unpack(TEXTURE_COORDS.highlight))
highlight:ClearAllPoints()
highlight:SetPoint("TOPLEFT", 1, -1)
Expand All @@ -282,7 +282,7 @@ local function HandleMicroButton(button)
bg:SetAllPoints()

local icon = button:CreateTexture(nil, "BACKGROUND", nil, 1)
icon:SetTexture("Interface\\AddOns\\ls_UI\\media\\micromenu")
icon:SetTexture("Interface\\AddOns\\ls_UI\\assets\\micromenu")
icon:SetPoint("TOPLEFT", 1, -1)
icon:SetPoint("BOTTOMRIGHT", -1, 1)
button.Icon = icon
Expand Down
4 changes: 2 additions & 2 deletions modules/bars/xpbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,13 @@ function BARS.CreateXPBar()

local sep = texParent:CreateTexture(nil, "ARTWORK", nil, -7)
sep:SetPoint("LEFT", bar[1], "RIGHT", -5, 0)
sep:SetTexture("Interface\\AddOns\\ls_UI\\media\\statusbar-sep", "REPEAT", "REPEAT")
sep:SetTexture("Interface\\AddOns\\ls_UI\\assets\\statusbar-sep", "REPEAT", "REPEAT")
sep:Hide()
bar[1].Sep = sep

sep = texParent:CreateTexture(nil, "ARTWORK", nil, -7)
sep:SetPoint("LEFT", bar[2], "RIGHT", -5, 0)
sep:SetTexture("Interface\\AddOns\\ls_UI\\media\\statusbar-sep", "REPEAT", "REPEAT")
sep:SetTexture("Interface\\AddOns\\ls_UI\\assets\\statusbar-sep", "REPEAT", "REPEAT")
sep:Hide()
bar[2].Sep = sep

Expand Down
Loading

0 comments on commit 26e7252

Please sign in to comment.