Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
fuba82
AddOnSkins
Commits
7c693837
Commit
7c693837
authored
Jul 12, 2020
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Altoholic
parent
e720eadf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
Skins/AddOns/Altoholic.lua
Skins/AddOns/Altoholic.lua
+7
-11
No files found.
Skins/AddOns/Altoholic.lua
View file @
7c693837
...
...
@@ -83,9 +83,11 @@ function AS:Altoholic(event, addon)
}
for
_
,
Button
in
pairs
(
Buttons
)
do
AS
:
StyleButton
(
AltoholicTabCharacters_MenuIcons
[
Button
])
AS
:
CreateBackdrop
(
AltoholicTabCharacters_MenuIcons
[
Button
])
AS
:
SkinTexture
(
AltoholicTabCharacters_MenuIcons
[
Button
].
Icon
)
if
AltoholicTabCharacters_MenuIcons
[
Button
]
then
AS
:
StyleButton
(
AltoholicTabCharacters_MenuIcons
[
Button
])
AS
:
CreateBackdrop
(
AltoholicTabCharacters_MenuIcons
[
Button
])
AS
:
SkinTexture
(
AltoholicTabCharacters_MenuIcons
[
Button
].
Icon
)
end
end
AS
:
EnumObjects
(
...
...
@@ -122,18 +124,12 @@ function AS:Altoholic(event, addon)
if
addon
==
"Altoholic_Guild"
then
AS
:
SkinFrame
(
AltoholicTabGuild
.
Members
)
AS
:
SkinFrame
(
AltoholicTabGuild
.
Bank
)
if
AltoholicTabGuild
.
Bank
then
AS
:
SkinFrame
(
AltoholicTabGuild
.
Bank
)
end
AS
:
SkinScrollBar
(
AltoholicTabGuild
.
Members
.
ScrollFrame
.
ScrollBar
)
AS
:
StripTextures
(
AltoholicTabGuild
.
Members
.
ScrollFrame
,
true
)
AS
:
EnumObjects
(
function
(
index
)
return
AltoholicTabGuild
[
'MenuItem'
..
index
]
end
,
function
(
obj
)
AS
:
SkinButton
(
obj
,
true
)
end
)
AS
:
EnumObjects
(
{
function
(
index
)
return
AltoholicTabGuild
.
Bank
[
'Entry'
..
index
]
end
,
function
(
obj
,
index
)
return
obj
[
'Item'
..
index
]
end
,
},
function
(
obj
)
SkinItemButton
(
obj
)
end
)
AS
:
EnumObjects
({
function
(
index
)
return
AS
.
Retail
and
AltoholicTabGuild
.
Bank
[
'Entry'
..
index
]
end
,
function
(
obj
,
index
)
return
obj
[
'Item'
..
index
]
end
},
function
(
obj
)
SkinItemButton
(
obj
)
end
)
AS
:
EnumObjects
(
function
(
index
)
return
AltoholicTabGuild
.
Members
[
'Item'
..
index
]
end
,
function
(
obj
)
SkinItemButton
(
obj
)
end
)
AS
:
EnumObjects
(
function
(
index
)
return
AltoholicTabGuild
[
"SortButtons"
][
"Sort"
..
index
]
end
,
function
(
obj
)
AS
:
SkinButton
(
obj
)
end
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment