Skip to content

Commit

Permalink
ignore tweak pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed Aug 14, 2024
1 parent b981d4a commit 15deb62
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 44 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ local ElementSettings = {
}

---@class SUI.UF.Elements.Positioning
---@field anchor AnchorPoint
---@field anchor FramePoint
---@field relativeTo SUI.UF.Elements.list
---@field relativePoint AnchorPoint
---@field relativePoint FramePoint
local ElementPositioning = {
anchor = 'CENTER',
relativeTo = 'Frame',
Expand All @@ -59,8 +59,8 @@ local ElementPositioning = {
local FramePositioning = {}

---@class ElementTextData
---@field SetJustifyH JustifyH
---@field SetJustifyV JustifyV
---@field SetJustifyH JustifyHorizontal
---@field SetJustifyV JustifyVertical
---@field position SUI.UF.Elements.Positioning
local ElementTextData = {
enabled = false,
Expand Down
40 changes: 40 additions & 0 deletions Definitions/UnitFrames/Style.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---@class SUI.Style.Settings.UnitFrames
---@field displayName? string
---@field setup? UFStyleSetupSettings
---@field positions? SUI.UF.FramePositions
---@field artwork? SUI.Style.Settings.UnitFrames.Art.Positions
local UFStyleSettings = {}

---@class UFStyleSetupSettings
---@field image string
---@field imageCoords? table
local UFStyleSetupSettings = {}

---@class SUI.Style.Settings.UnitFrames.Art.Positions
---@field top? SUI.Style.Settings.UnitFrames.Art.Settings
---@field bg? SUI.Style.Settings.UnitFrames.Art.Settings
---@field bottom? SUI.Style.Settings.UnitFrames.Art.Settings
---@field full? SUI.Style.Settings.UnitFrames.Art.Settings
local SUIUFArtworkSettings = {}

---@class SUI.Style.Settings.UnitFrames.Art.Settings
---@field perUnit? boolean
---@field UnitFrameCallback? function
---@field path? function|string
---@field TexCoord? function|table
---@field heightScale? integer
---@field yScale? integer
---@field PVPAlpha? integer
---@field height? integer
---@field y? integer
---@field alpha? integer
---@field VertexColor? table
---@field position? SUI.Style.Settings.UnitFrames.Art.PositionTable
---@field scale? integer
local artSettings = {}

---@class SUI.Style.Settings.UnitFrames.Art.PositionTable
---@field anchor FramePoint
---@field x integer
---@field y integer
local oUFSpartanArtPositionTable = {}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@class FramePositioning
---@field point AnchorPoint
---@field relativePoint AnchorPoint
---@field point FramePoint
---@field relativePoint FramePoint
---@field xOfs integer
---@field yOfs integer
local FramePositioning = {}
Expand Down
38 changes: 0 additions & 38 deletions Modules/UnitFrames/Handlers/_Style.Definition.lua

This file was deleted.

0 comments on commit 15deb62

Please sign in to comment.