diff --git a/Settings/Settings.lua b/Settings/Settings.lua
index a0d4a49..6b2d0b7 100644
--- a/Settings/Settings.lua
+++ b/Settings/Settings.lua
@@ -55,6 +55,7 @@ local PGFSettingsTable = {
type = "checkbox",
title = L["settings.ratingInfo.title"],
tooltip = L["settings.ratingInfo.tooltip"],
+ image = "Interface\\AddOns\\PremadeGroupsFilter\\Textures\\SettingsRatingInfo",
visible = true,
},
{
@@ -62,6 +63,7 @@ local PGFSettingsTable = {
type = "checkbox",
title = L["settings.specIcon.title"],
tooltip = L["settings.specIcon.tooltip"],
+ image = "Interface\\AddOns\\PremadeGroupsFilter\\Textures\\SettingsSpecIcon",
visible = PGF.SupportsSpecializations(),
},
{
@@ -76,6 +78,7 @@ local PGFSettingsTable = {
type = "checkbox",
title = L["settings.classBar.title"],
tooltip = L["settings.classBar.tooltip"],
+ image = "Interface\\AddOns\\PremadeGroupsFilter\\Textures\\SettingsClassBar",
visible = true,
},
{
@@ -83,6 +86,7 @@ local PGFSettingsTable = {
type = "checkbox",
title = L["settings.leaderCrown.title"],
tooltip = L["settings.leaderCrown.tooltip"],
+ image = "Interface\\AddOns\\PremadeGroupsFilter\\Textures\\SettingsLeaderCrown",
visible = true,
},
{
@@ -90,6 +94,7 @@ local PGFSettingsTable = {
type = "checkbox",
title = L["settings.missingRoles.title"],
tooltip = L["settings.missingRoles.tooltip"],
+ image = "Interface\\AddOns\\PremadeGroupsFilter\\Textures\\SettingsMissingRoles",
visible = true,
},
{
@@ -165,6 +170,9 @@ function PGFSettings.CreateListItem(factory, elementData)
elementData.callback(button:GetChecked())
end
end)
+ if elementData.image then
+ item.Image:SetTexture(elementData.image)
+ end
end)
elseif elementData.type == "header" then
factory("PremadeGroupsFilterSettingsListSectionHeaderTemplate", function(item, elementData)
diff --git a/Settings/Settings.xml b/Settings/Settings.xml
index 37ab5b8..2efadb8 100644
--- a/Settings/Settings.xml
+++ b/Settings/Settings.xml
@@ -44,6 +44,15 @@
+
+
+
+
+
+
+
+
+
diff --git a/Textures/SettingsClassBar.blp b/Textures/SettingsClassBar.blp
new file mode 100644
index 0000000..c2445b0
Binary files /dev/null and b/Textures/SettingsClassBar.blp differ
diff --git a/Textures/SettingsLeaderCrown.blp b/Textures/SettingsLeaderCrown.blp
new file mode 100644
index 0000000..d0709ba
Binary files /dev/null and b/Textures/SettingsLeaderCrown.blp differ
diff --git a/Textures/SettingsMissingRoles.blp b/Textures/SettingsMissingRoles.blp
new file mode 100644
index 0000000..a664515
Binary files /dev/null and b/Textures/SettingsMissingRoles.blp differ
diff --git a/Textures/SettingsRatingInfo.blp b/Textures/SettingsRatingInfo.blp
new file mode 100644
index 0000000..2894463
Binary files /dev/null and b/Textures/SettingsRatingInfo.blp differ
diff --git a/Textures/SettingsSpecIcon.blp b/Textures/SettingsSpecIcon.blp
new file mode 100644
index 0000000..763e2fd
Binary files /dev/null and b/Textures/SettingsSpecIcon.blp differ