- Removed 'Simple Gray' skin.

- Addde new skin: 'Force Square'.
- 'Default Skin' got renamed to 'WoW Interface'.
This commit is contained in:
tercio
2014-12-02 14:00:59 -02:00
parent fc164b7a8b
commit 75a69e0ded
7 changed files with 184 additions and 142 deletions
+8 -2
View File
@@ -275,7 +275,7 @@ function _detalhes:ApplyProfile (profile_name, nosave, is_copy)
--> check if there is a skin saved or this is a empty profile
if (#saved_skins == 0) then
--> is empty profile, let's set default skin on #1 window
--> is empty profile, let's set "WoW Interface" on #1 window
local instance1 = _detalhes:GetInstance (1)
if (not instance1) then
instance1 = _detalhes:CreateInstance (1)
@@ -314,6 +314,12 @@ function _detalhes:ApplyProfile (profile_name, nosave, is_copy)
if (skin.skin == "Flat Color") then
skin.skin = "Serenity"
end
if (skin.skin == "Simply Gray") then
skin.skin = "Forced Square"
end
if (skin.skin == "Default Skin") then
skin.skin = "WoW Interface"
end
--> fix for old left and right menus (15-10)
if (skin.menu_icons and type (skin.menu_icons[5]) ~= "boolean") then
@@ -852,7 +858,7 @@ local default_profile = {
--> skins
standard_skin = false,
skin = "Default Skin",
skin = "WoW Interface",
profile_save_pos = true,
--> tooltip