File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 <Script file =" Functions\Mover.lua" />
1212
1313 <Script file =" Core.lua" />
14+ <Script file =" Texture.lua" />
1415 <Script file =" API.lua" />
1516 <Script file =" Database.lua" />
1617 <Script file =" Setting.lua" />
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ function E:BuildSettings()
167167 type = " launcher" ,
168168 text = self .title ,
169169 label = self .title ,
170- icon = [[ Interface\ICONS\Ability_Ardenweald_Paladin_Winter ]] ,
170+ icon = E . Texture . Logo ,
171171 OnClick = UnwindTools_OnAddonCompartmentClick ,
172172 OnTooltipShow = function (tooltip )
173173 tooltip :AddLine (self .title )
Original file line number Diff line number Diff line change 1+ local ns = select (2 , ... ) --- @type Namespace
2+ local E = ns [1 ] --- @class Engine
3+
4+ --- @class Engine.Texture
5+ E .Texture = {}
6+
7+ local directory = ([[ Interface\Addons\%s\Media\]] ):format (E .name )
8+ E .Texture .Logo = directory .. [[ Textures\Logo.png]]
Original file line number Diff line number Diff line change 1313## LoadSavedVariablesFirst : 1
1414## SavedVariables : UnwindToolsDB
1515## AddonCompartmentFunc : UnwindTools_OnAddonCompartmentClick
16- ## IconTexture : Interface\ICONS\Ability_Ardenweald_Paladin_Winter
16+ ## IconTexture : Interface\Addons\UnwindTools\Media\Textures\Logo.png
1717## X-Curse-Project-ID : 1462042
1818## X-Wago-ID : x618OxN1
1919
You can’t perform that action at this time.
0 commit comments