- 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 -3
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -2388,13 +2388,13 @@
if (not instance.iniciada) then
instance:RestauraJanela()
local skin = instance.skin
instance:ChangeSkin ("Default Skin")
instance:ChangeSkin ("WoW Interface")
instance:ChangeSkin ("Minimalistic")
instance:ChangeSkin (skin)
instance:DesativarInstancia()
else
local skin = instance.skin
instance:ChangeSkin ("Default Skin")
instance:ChangeSkin ("WoW Interface")
instance:ChangeSkin ("Minimalistic")
instance:ChangeSkin (skin)
end
+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
+158 -127
View File
@@ -46,13 +46,13 @@ local _
_detalhes:DelayOptionsRefresh()
end
--> install default skins:
_detalhes:InstallSkin ("Default Skin", {
--> install wow interface skin:
_detalhes:InstallSkin ("WoW Interface", {
file = [[Interface\AddOns\Details\images\skins\default_skin]],
author = "Details!",
version = "1.0",
site = "unknown",
desc = "This was the first skin made for Details!, inspired in the standart wow interface",
desc = "This was the first skin made for Details!, inspired in the standard wow interface",
can_change_alpha_head = false,
icon_anchor_main = {-1, 1},
@@ -535,12 +535,12 @@ local _
--reset 19 514 83 530
--close
_detalhes:InstallSkin ("Simply Gray", {
_detalhes:InstallSkin ("Forced Square", {
file = [[Interface\AddOns\Details\images\skins\simplygray_skin]],
author = "Details!",
version = "1.0",
site = "unknown",
desc = "Similar to minimalistic skin, but, this one have no transparency and also comes with the statusbar enabled.",
desc = "Very clean skin without textures and only with a black contour.",
--general
can_change_alpha_head = true,
@@ -575,20 +575,31 @@ local _
--[[ for the complete cprop list see the file classe_instancia_include.lua]]
instance_cprops = {
["hide_in_combat_type"] = 1,
["backdrop_texture"] = "Details Ground",
["color"] = {
0.450980392156863, -- [1]
0.450980392156863, -- [2]
0.450980392156863, -- [3]
0, -- [1]
0, -- [2]
0, -- [3]
1, -- [4]
},
["menu_anchor"] = {
-19, -- [1]
-1, -- [2]
["side"] = 1,
14, -- [1]
2, -- [2]
["side"] = 2,
},
["bg_r"] = 0,
["following"] = {
["enabled"] = false,
["bar_color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
},
["text_color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
},
},
["bg_r"] = 0.0941,
["hide_out_of_combat"] = false,
["color_buttons"] = {
1, -- [1]
1, -- [2]
@@ -596,75 +607,31 @@ local _
1, -- [4]
},
["bars_sort_direction"] = 1,
["tooltip"] = {
["n_abilities"] = 3,
["n_enemies"] = 3,
},
["instance_button_anchor"] = {
-27, -- [1]
1, -- [2]
},
["version"] = 3,
["row_info"] = {
["textR_outline"] = true,
["textL_outline"] = true,
["icon_file"] = "Interface\\AddOns\\Details\\images\\classes_small_alpha",
["fixed_texture_color"] = {
0, -- [1]
0, -- [2]
0, -- [3]
["name"] = "new simple gray 2",
["attribute_text"] = {
["enabled"] = true,
["shadow"] = true,
["side"] = 1,
["text_color"] = {
0.768627450980392, -- [1]
0.768627450980392, -- [2]
0.768627450980392, -- [3]
1, -- [4]
},
["backdrop"] = {
["enabled"] = false,
["texture"] = "Details BarBorder 2",
["color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
1, -- [4]
},
["size"] = 12,
},
["texture_highlight"] = "Interface\\FriendsFrame\\UI-FriendsList-Highlight",
["textR_enable_custom_text"] = false,
["start_after_icon"] = false,
["textL_enable_custom_text"] = false,
["textL_show_number"] = true,
["space"] = {
["right"] = 0,
["left"] = 0,
["between"] = 1,
},
["texture_background_class_color"] = false,
["textR_custom_text"] = "{data1} ({data2}, {data3}%)",
["texture"] = "Details Serenity",
["font_face_file"] = "Fonts\\ARIALN.TTF",
["texture_background_file"] = "Interface\\AddOns\\Details\\images\\bar4",
["fixed_text_color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
},
["textL_class_colors"] = false,
["textL_custom_text"] = "{data1}. {data3}{data2}",
["textR_class_colors"] = false,
["alpha"] = 1,
["no_icon"] = false,
["font_size"] = 10,
["texture_background"] = "Details Serenity",
["font_face"] = "Arial Narrow",
["texture_class_colors"] = true,
["height"] = 14,
["texture_file"] = "Interface\\AddOns\\Details\\images\\bar4",
["percent_type"] = 1,
["fixed_texture_background_color"] = {
0, -- [1]
0, -- [2]
0, -- [3]
0.2, -- [4]
["custom_text"] = "{name}",
["text_face"] = "FORCED SQUARE",
["anchor"] = {
-16, -- [1]
5, -- [2]
},
["text_size"] = 12,
["enable_custom_text"] = false,
},
["grab_on_top"] = false,
["switch_damager_in_combat"] = false,
["menu_alpha"] = {
["enabled"] = false,
["onleave"] = 1,
@@ -672,41 +639,123 @@ local _
["iconstoo"] = true,
["onenter"] = 1,
},
["total_bar"] = {
["enabled"] = false,
["only_in_group"] = true,
["icon"] = "Interface\\ICONS\\INV_Sigil_Thorim",
["color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
},
},
["micro_displays_side"] = 2,
["plugins_grow_direction"] = 2,
["menu_icons"] = {
true, -- [1]
true, -- [2]
true, -- [3]
true, -- [4]
true, -- [5]
true, -- [6]
["space"] = -4,
["shadow"] = true,
},
["desaturated_menu"] = false,
["show_sidebars"] = true,
["statusbar_info"] = {
["alpha"] = 1,
["overlay"] = {
0, -- [1]
0, -- [2]
0, -- [3]
},
},
["window_scale"] = 1,
["auto_hide_menu"] = {
["left"] = false,
["right"] = false,
},
["hide_icon"] = true,
["row_info"] = {
["textR_outline"] = false,
["textL_outline"] = false,
["fixed_texture_color"] = {
0, -- [1]
0, -- [2]
0, -- [3]
},
["icon_file"] = "Interface\\AddOns\\Details\\images\\classes_small_alpha",
["textL_show_number"] = true,
["texture"] = "Skyline",
["texture_background_file"] = "Interface\\AddOns\\Details\\images\\bar4",
["textR_enable_custom_text"] = false,
["textR_custom_text"] = "{data1} ({data2}, {data3}%)",
["textL_enable_custom_text"] = false,
["fixed_text_color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
},
["space"] = {
["right"] = -10,
["left"] = 5,
["between"] = 1,
},
["fixed_texture_background_color"] = {
0, -- [1]
0, -- [2]
0, -- [3]
0.2, -- [4]
},
["texture_background_class_color"] = false,
["start_after_icon"] = false,
["font_face_file"] = "Interface\\Addons\\Details\\fonts\\FORCED SQUARE.ttf",
["backdrop"] = {
["enabled"] = false,
["size"] = 12,
["color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
1, -- [4]
},
["texture"] = "Details BarBorder 2",
},
["textL_class_colors"] = false,
["models"] = {
["upper_model"] = "Spells\\AcidBreath_SuperGreen.M2",
["lower_model"] = "World\\EXPANSION02\\DOODADS\\Coldarra\\COLDARRALOCUS.m2",
["upper_alpha"] = 0.5,
["lower_enabled"] = false,
["lower_alpha"] = 0.1,
["upper_enabled"] = false,
},
["textL_custom_text"] = "{data1}. {data3}{data2}",
["textR_class_colors"] = false,
["alpha"] = 1,
["no_icon"] = false,
["font_size"] = 10,
["texture_background"] = "Details Serenity",
["font_face"] = "FORCED SQUARE",
["texture_class_colors"] = true,
["height"] = 14,
["texture_file"] = "Interface\\AddOns\\Details\\images\\bar4",
["texture_highlight"] = "Interface\\FriendsFrame\\UI-FriendsList-Highlight",
["percent_type"] = 1,
},
["menu_anchor_down"] = {
-20, -- [1]
-3, -- [2]
},
["micro_displays_side"] = 1,
["strata"] = "LOW",
["desaturated_menu"] = true,
["hide_in_combat_alpha"] = 0,
["plugins_grow_direction"] = 2,
["show_sidebars"] = false,
["bars_grow_direction"] = 2,
["row_show_animation"] = {
["anim"] = "Fade",
["options"] = {
},
},
["hide_icon"] = true,
["statusbar_info"] = {
["alpha"] = 1,
["overlay"] = {
0.450980392156863, -- [1]
0.450980392156863, -- [2]
0.450980392156863, -- [3]
},
},
["bg_alpha"] = 0.300000011920929,
["auto_current"] = true,
["toolbar_side"] = 2,
["bg_g"] = 0.0941,
["hide_in_combat"] = false,
["toolbar_side"] = 1,
["bg_g"] = 0,
["bars_grow_direction"] = 1,
["backdrop_texture"] = "Details Ground",
["show_statusbar"] = false,
["menu_icons_size"] = 1,
["menu_icons_size"] = 0.899999976158142,
["wallpaper"] = {
["enabled"] = true,
["enabled"] = false,
["width"] = 265.999943487933,
["texcoord"] = {
0.342000007629395, -- [1]
@@ -725,26 +774,8 @@ local _
["alpha"] = 0.807843208312988,
["texture"] = "Interface\\Glues\\CREDITS\\Fellwood5",
},
["stretch_button_side"] = 1,
["attribute_text"] = {
["enabled"] = true,
["shadow"] = true,
["side"] = 2,
["text_size"] = 11,
["anchor"] = {
65, -- [1]
5, -- [2]
},
["text_color"] = {
0.768627450980392, -- [1]
0.768627450980392, -- [2]
0.768627450980392, -- [3]
1, -- [4]
},
["text_face"] = "Friz Quadrata TT",
},
["window_scale"] = 1,
["bg_b"] = 0.0941,
["bg_alpha"] = 0.0491309501230717,
["bg_b"] = 0,
},
skin_options = {
@@ -756,13 +787,13 @@ local _
--[[
--> install default skins:
--> install imperial skin:
_detalhes:InstallSkin ("Imperial Skin", {
file = "Interface\\AddOns\\Details\\images\\skins\\imperial_skin",
author = "Details!",
version = "1.1",
site = "unknown",
desc = "default skin for Details!",
desc = "imperial skin for Details!",
can_change_alpha_head = true,
icon_anchor_main = {-1, -5},
+7 -7
View File
@@ -78,15 +78,15 @@ local menu_wallpaper_color = {1, 1, 1, 0.1}
--local COORDS_LEFT_BALL_NO_ICON = {0.44970703125, 0.57275390625, 0.08251953125, 0.20556640625} --460 84 587 211 (updated)
local COORDS_LEFT_BALL_NO_ICON = {0.44970703125, 0.57275390625, 0.08251953125, 0.20556640625} --460 84 587 211 (updated) 588 212
--local COORDS_LEFT_BALL_NO_ICON = {0.44921875, 0.57421875, 0.08203125, 0.20703125} --460 84 588 212 (updated)
--local COORDS_LEFT_SIDE_BAR = {0.76611328125, 0.82763671875, 0.00244140625, 0.50146484375} -- 784 2 848 514 (updated)
local COORDS_LEFT_SIDE_BAR = {0.765625, 0.828125, 0.001953125, 0.501953125} -- 784 2 848 514 (updated)
local COORDS_LEFT_SIDE_BAR = {0.76611328125, 0.82763671875, 0.00244140625, 0.50146484375} -- 784 2 848 514 (updated)
--local COORDS_LEFT_SIDE_BAR = {0.76611328125, 0.82666015625, 0.00244140625, 0.50048828125} -- 784 2 848 514 (updated)
--local COORDS_LEFT_SIDE_BAR = {0.765625, 0.8291015625, 0.00244140625, 0.5029296875} -- 784 2 848 514 (updated)
--784 2 847 513
--local COORDS_RIGHT_SIDE_BAR = {0.70068359375, 0.76220703125, 0.00244140625, 0.50146484375} -- 717 2 781 514 (updated)
--local COORDS_RIGHT_SIDE_BAR = {0.7001953125, 0.763671875, 0.00244140625, 0.50146484375} -- 717 2 781 514 (updated)
local COORDS_RIGHT_SIDE_BAR = {0.7001953125+0.00048828125, 0.76171875, 0.001953125, 0.5009765625} -- --717 2 780 513
--local COORDS_RIGHT_SIDE_BAR = {0.7001953125+0.00048828125, 0.76171875, 0.001953125, 0.5009765625} -- --717 2 780 513
local COORDS_RIGHT_SIDE_BAR = {0.7001953125, 0.7626953125, 0.001953125, 0.501953125} -- --717 2 781 513
local COORDS_BOTTOM_SIDE_BAR = {0.32861328125, 0.82666015625, 0.50537109375, 0.56494140625} -- 336 517 847 579 (updated)
@@ -6513,7 +6513,7 @@ function gump:CriaCabecalho (baseframe, instancia)
--> icone do atributo
--baseframe.cabecalho.atributo_icon = _detalhes.listener:CreateTexture (nil, "artwork")
baseframe.cabecalho.atributo_icon = baseframe:CreateTexture (nil, "background")
local icon_anchor = _detalhes.skins ["Default Skin"].icon_anchor_main
local icon_anchor = _detalhes.skins ["WoW Interface"].icon_anchor_main
baseframe.cabecalho.atributo_icon:SetPoint ("topright", baseframe.cabecalho.ball_point, "topright", icon_anchor[1], icon_anchor[2])
baseframe.cabecalho.atributo_icon:SetTexture (DEFAULT_SKIN)
baseframe.cabecalho.atributo_icon:SetWidth (32)
+1 -1
View File
@@ -551,7 +551,7 @@ local window_openned_at = time()
skin_dropdown:SetPoint ("left", skin_label, "right", 2)
skin_label:SetPoint ("topleft", window, "topleft", 30, -140)
--skin_dropdown:Select ("Default Skin")
--skin_dropdown:Select ("WoW Interface")
--wallpapper
--> agora cria os 2 dropdown da categoria e wallpaper
Binary file not shown.