Skip to content

Commit

Permalink
Updated Classic image files
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed Jul 30, 2024
1 parent ede1276 commit 5695902
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Themes/Classic/Style.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ local function UnitFrameCallback(self, unit)
unit = self.unitOnCreate

if not self.Art_Classic and SUI:IsInTable(FramesToSkin, unit) then
local base_ring1 = 'Interface\\AddOns\\SpartanUI\\images\\classic\\base_ring1' -- Player and Target
local base_ring1 = 'Interface\\AddOns\\SpartanUI\\images\\classic\\base_ring1.png' -- Player and Target
local circle = 'Interface\\AddOns\\SpartanUI\\images\\circle'
local ring = CreateFrame('Frame', nil, self)
ring:SetFrameStrata('BACKGROUND')
Expand All @@ -187,6 +187,7 @@ local function UnitFrameCallback(self, unit)

ring.bg = ring:CreateTexture(nil, 'BACKGROUND')
ring.bg:SetParent(ring)
ring.bg:SetPoint('CENTER', ring, 'CENTER', 0, 0)
ring.bg:SetTexture(base_ring1)
if unit == 'target' then ring.bg:SetTexCoord(1, 0, 0, 1) end

Expand All @@ -200,15 +201,15 @@ local function UnitFrameCallback(self, unit)
self.Portrait:SetPoint('TOPRIGHT', self, 'TOPRIGHT', 72, 15)
self.Portrait:SetPoint('BOTTOMLEFT', self, 'BOTTOMRIGHT', 10, 0)

self.Art_Classic.bg:SetPoint('CENTER', self.Art_Classic, 'CENTER', -80, 0)
self.Art_Classic.bg:SetPoint('CENTER', self.Art_Classic, 'CENTER', 12, -2)
elseif unit == 'targettarget' then
self.SpartanArt:SetFrameLevel(1)
elseif unit == 'target' then
self.Portrait:ClearAllPoints()
self.Portrait:SetPoint('TOPLEFT', self, 'TOPLEFT', -72, 15)
self.Portrait:SetPoint('BOTTOMRIGHT', self, 'BOTTOMLEFT', -10, 0)

self.Art_Classic.bg:SetPoint('CENTER', self.Art_Classic, 'CENTER', 80, 0)
self.Art_Classic.bg:SetPoint('CENTER', self.Art_Classic, 'CENTER', -13, -2)
end
end

Expand Down
Binary file modified images/classic/base_plate1.tga
Binary file not shown.
Binary file removed images/classic/base_ring1.blp
Binary file not shown.
Binary file added images/classic/base_ring1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/classic/base_ring1.tga
Binary file not shown.
Binary file removed images/classic/base_ring3.tga
Binary file not shown.
Binary file added images/classic/ring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5695902

Please sign in to comment.