diff --git a/boot.lua b/boot.lua index 2d4d1804..3507ed61 100644 --- a/boot.lua +++ b/boot.lua @@ -3,8 +3,8 @@ _ = nil _detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0") - _detalhes.build_counter = 250 --it's 250 for release - _detalhes.userversion = "v3.4.2" + _detalhes.build_counter = 252 --it's 252 for release + _detalhes.userversion = "v3.4.3" _detalhes.realversion = 49 --core version _detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" @@ -18,6 +18,11 @@ do local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" ) --[[ +|cFFFFFF00v3.4.3 (|cFFFFCC00Dec 02, 2014|r|cFFFFFF00)|r:\n\n +|cFFFFFF00-|r Removed 'Simple Gray' skin.\n\n +|cFFFFFF00-|r Addde new skin: 'Forced Square'.\n\n +|cFFFFFF00-|r 'Default Skin' got renamed to 'WoW Interface'.\n\n + |cFFFFFF00v3.4.2 (|cFFFFCC00Dec 01, 2014|r|cFFFFFF00)|r:\n\n |cFFFFFF00-|r Fixed a bug with menu desaturation where erase and close buttons stay colored after clicking on it.\n\n |cFFFFFF00-|r Fixed stretch where sometimes after release the window, all exceeded bars shows up and fade in again.\n\n @@ -25,7 +30,7 @@ do |cFFFFFF00-|r Fixed the border for sub menus on mode menu.\n\n --]] - Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v3.4.2 (|cFFFFCC00Dec 01, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed a bug with menu desaturation where erase and close buttons stay colored after clicking on it.\n\n|cFFFFFF00-|r Fixed stretch where sometimes after release the window, all exceeded bars shows up and fade in again.\n\n|cFFFFFF00-|r Fixed a bug with the +- buttons on the window's scale option.\n\n|cFFFFFF00-|r Fixed the border for sub menus on mode menu.\n\n|cFFFFFF00v3.4.0 (|cFFFFCC00Nov 29, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed custom displays ignoring 'target' setted.\n\n|cFFFFFF00-|r Fixed plugins showing its icon even when auto hide menus is enabled.\n\n|cFFFFFF00-|r .Updates slash command 'worldboss' now it shows Draenor bosses.\n\n|cFFFFFF00v3.3.0 (|cFFFFCC00Nov 25, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added 3D models for the bars in the window. The options are at Appearance -> Rows: Advanced.\n\n|cFFFFFF00-|r Now when showing custom displays, clicking on a bar report what is shown on bar's tooltip.\n\n|cFFFFFF00-|r More fixes for dungeon bosses identification.\n\n|cFFFFFF00-|r Fixed a tooltip bug with Debuff Uptime and Aura & Voidzone displays.\n\n|cFFFFFF00-|r Fixed Player Details Window for friendly fire and damage taken.\n\n|cFFFFFF00-|r Fixed Molten Core Raid Finder version where all bosses was considered trash segments.\n\n|cFFFFFF00v3.2.4 (|cFFFFCC00Nov 19, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r More fixes for dungeon bosses recognition.\n\n|cFFFFFF00-|r Fixes for few errors during combat parser.\n\n|cFFFFFF00v3.2.3 (|cFFFFCC00Nov 18, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed Monk's Stagger ability which was counting as damage done.\n\n|cFFFFFF00-|r Added WoD dungeon information, this fixes dungeon bosses being assigned as 'trash cleanup'.\n\n|cFFFFFF00-|r Added more information on API.txt document (is in Details! root folder).\n\n|cFFFFFF00v3.2.1 (|cFFFFCC00Nov 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Custom Displays updated to track WoD potions.\n\n|cFFFFFF00-|r Added Feedback panel at options panel.\n\n|cFFFFFF00v3.2.0 (|cFFFFCC00Nov 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Major changes on the way Details! store information, these changes saves up to 40% memory and 4% cpu usage.\n\n|cFFFFFF00-|r Fixed problem with pet's healing messing with the owner activity time.\n\n|cFFFFFF00-|r Added Energy -> Resources.\n\n|cFFFFFF00-|r Fixed combat initialization when the player start casting a Dot spell.\n\n|cFFFFFF00-|r Added new custom display: Damage Taken By Spell.\n\n|cFFFFFF00v2.2.3 (|cFFFFCC00Oct 26, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the healing done problem with Priest's Spirit of Redemption.\n\n|cFFFFFF00-|r Fixed avoidance by absorb when the hit missed was a multistrike hit.\n\n|cFFFFFF00-|r Fixed a script time out problem when erasing data while in combat.\n\n|cFFFFFF00-|r Fixed bug with interrupt tooltip when the player have a pet.\n\n|cFFFFFF00v2.2.1 (|cFFFFCC00Oct 22, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the gap between the button and its menu which sometimes traveling the mouse between them was activating tooltips from window's bars.\n\n|cFFFFFF00-|r Fixed an annoying menu blink when the window was near the right side of the screen.\n\n|cFFFFFF00-|r Fixed the stretch grab which was over other windows even with the 'stretch always on top' option disabled.\n\n|cFFFFFF00-|r Few fixes on healing done from absorbs.\n\n|cFFFFFF00v2.1.6 (|cFFFFCC00Oct 21, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed death's tooltip which wasn't respecting tooltip's configuration set on options panel.\n\n|cFFFFFF00-|r Now when the window is close to the top of the screen, menus will anchor on bottom side of the menu icons.\n\n|cFFFFFF00-|r Added micro displays options on Window Settings bracket.\n\n|cFFFFFF00-|r Fixed the problem with bar's custom texts.\n\n|cFFFFFF00-|r Lua functions inside custom texts, Chart Data scripts and Custom Displays scripts are now protected calls and won't break the addon functionality if an error occurs. Unfortunately we still doesn't have a documentation for Details! API.\n\n|cFFFFFF00-|r Fixed an incomum bug with tank avoidance tables.\n\n|cFFFFFF00-|r Tiny Threat: added option to use class colors instead of green-to-red colors.\n\n|cFFFFFF00-|r Added option to enable shadows on toolbar's buttons.\n\n|cFFFFFF00-|r Added option to set the specing between each button on toolbar.\n\n|cFFFFFF00-|r Finally we merged the left and right menus into only one with 6 icons.\n\n|cFFFFFF00-|r Removed window button and added a new option bracket to manage windows under Mode Menu.\n\n|cFFFFFF00-|r Few changes on 'Default Skin', 'Minimalistic', 'Simple Gray' and 'ElvUI Frame Style BW' (need reaply).\n\n|cFFFFFF00- Important:|r If the menus is out of the position, just reaply the skin.\n\nv2.0.15 (|cFFFFCC00Oct 15, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed tooltips where sometimes it wans't showing at all.\n\n|cFFFFFF00-|r Fixed the healing done amount on Malkorok encounter.\n\nv2.0.14 (|cFFFFCC00Oct 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added pre-potion recognition for WoD pots.\n\n|cFFFFFF00-|r Added spell list for Blackrock Foundry encounters.\n\n|cFFFFFF00-|r Added mouse wheel scroll speed option.\n\n|cFFFFFF00-|r Added support for healing multistrike and damage multistrike.\n\n|cFFFFFF00-|r Added a Change Log button on Options Panel.\n\n|cFFFFFF00-|r When the windows is locked, trying to move the window through toolbar will stretch it instead.\n\n|cFFFFFF00-|r Renamed overheal for shields, now its called 'shield wasted'.\n\n|cFFFFFF00-|r Fine tuning on healing done, should have high accuracy now.\n\n|cFFFFFF00-|r Encounter Details plugin now supports Highmaul and Blackrock Foundry.\n\n|cFFFFFF00-|r New class cooldowns and spells recognition.\n\n|cFFFFFF00-|r Fixed few bugs on comparison panel and avoidance panel.\n\n|cFFFFFF00-|r Fixed encounter recognition, now it should show the encounter name over segments menu.\n\n|cFFFFFF00-|r Fixed Graphic part of Encounter Details Plugin, now he draws more accurately.\n\n|cFFFFFF00v1.29.3 (|cFFFFCC00Oct 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an addon crash bug when clicking directly on the sword button.\n\n|cFFFFFF00-|r Removed Flat Skin, added new skin: Serenity.\n\n|cFFFFFF00-|r Fixed many issues with bar animations.\n\n|cFFFFFF00-|r Fixed combat encounter start if the player already is in combat when the boss is pulled.\n\n|cFFFFFF00-|r Fixed wheel scroll when sometimes it move very slow or doesn't move the bars at all.\n\n|cFFFFFF00-|r Added option 'Always Show Me' which when enabled and you aren't at the top ranked players shown in the window, it forces to show you in the last bar.\n\n|cFFFFFF00-|r Added option 'First Hit' which when enabled show who did the first struck in the combat (normally is who pulled the boss)." + Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v3.4.3 (|cFFFFCC00Dec 02, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Removed 'Simple Gray' skin.\n\n|cFFFFFF00-|r Addde new skin: 'Forced Square'.\n\n|cFFFFFF00-|r 'Default Skin' got renamed to 'WoW Interface'.\n\n|cFFFFFF00v3.4.2 (|cFFFFCC00Dec 01, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed a bug with menu desaturation where erase and close buttons stay colored after clicking on it.\n\n|cFFFFFF00-|r Fixed stretch where sometimes after release the window, all exceeded bars shows up and fade in again.\n\n|cFFFFFF00-|r Fixed a bug with the +- buttons on the window's scale option.\n\n|cFFFFFF00-|r Fixed the border for sub menus on mode menu.\n\n|cFFFFFF00v3.4.0 (|cFFFFCC00Nov 29, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed custom displays ignoring 'target' setted.\n\n|cFFFFFF00-|r Fixed plugins showing its icon even when auto hide menus is enabled.\n\n|cFFFFFF00-|r .Updates slash command 'worldboss' now it shows Draenor bosses.\n\n|cFFFFFF00v3.3.0 (|cFFFFCC00Nov 25, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added 3D models for the bars in the window. The options are at Appearance -> Rows: Advanced.\n\n|cFFFFFF00-|r Now when showing custom displays, clicking on a bar report what is shown on bar's tooltip.\n\n|cFFFFFF00-|r More fixes for dungeon bosses identification.\n\n|cFFFFFF00-|r Fixed a tooltip bug with Debuff Uptime and Aura & Voidzone displays.\n\n|cFFFFFF00-|r Fixed Player Details Window for friendly fire and damage taken.\n\n|cFFFFFF00-|r Fixed Molten Core Raid Finder version where all bosses was considered trash segments.\n\n|cFFFFFF00v3.2.4 (|cFFFFCC00Nov 19, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r More fixes for dungeon bosses recognition.\n\n|cFFFFFF00-|r Fixes for few errors during combat parser.\n\n|cFFFFFF00v3.2.3 (|cFFFFCC00Nov 18, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed Monk's Stagger ability which was counting as damage done.\n\n|cFFFFFF00-|r Added WoD dungeon information, this fixes dungeon bosses being assigned as 'trash cleanup'.\n\n|cFFFFFF00-|r Added more information on API.txt document (is in Details! root folder).\n\n|cFFFFFF00v3.2.1 (|cFFFFCC00Nov 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Custom Displays updated to track WoD potions.\n\n|cFFFFFF00-|r Added Feedback panel at options panel.\n\n|cFFFFFF00v3.2.0 (|cFFFFCC00Nov 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Major changes on the way Details! store information, these changes saves up to 40% memory and 4% cpu usage.\n\n|cFFFFFF00-|r Fixed problem with pet's healing messing with the owner activity time.\n\n|cFFFFFF00-|r Added Energy -> Resources.\n\n|cFFFFFF00-|r Fixed combat initialization when the player start casting a Dot spell.\n\n|cFFFFFF00-|r Added new custom display: Damage Taken By Spell.\n\n|cFFFFFF00v2.2.3 (|cFFFFCC00Oct 26, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the healing done problem with Priest's Spirit of Redemption.\n\n|cFFFFFF00-|r Fixed avoidance by absorb when the hit missed was a multistrike hit.\n\n|cFFFFFF00-|r Fixed a script time out problem when erasing data while in combat.\n\n|cFFFFFF00-|r Fixed bug with interrupt tooltip when the player have a pet.\n\n|cFFFFFF00v2.2.1 (|cFFFFCC00Oct 22, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the gap between the button and its menu which sometimes traveling the mouse between them was activating tooltips from window's bars.\n\n|cFFFFFF00-|r Fixed an annoying menu blink when the window was near the right side of the screen.\n\n|cFFFFFF00-|r Fixed the stretch grab which was over other windows even with the 'stretch always on top' option disabled.\n\n|cFFFFFF00-|r Few fixes on healing done from absorbs.\n\n|cFFFFFF00v2.1.6 (|cFFFFCC00Oct 21, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed death's tooltip which wasn't respecting tooltip's configuration set on options panel.\n\n|cFFFFFF00-|r Now when the window is close to the top of the screen, menus will anchor on bottom side of the menu icons.\n\n|cFFFFFF00-|r Added micro displays options on Window Settings bracket.\n\n|cFFFFFF00-|r Fixed the problem with bar's custom texts.\n\n|cFFFFFF00-|r Lua functions inside custom texts, Chart Data scripts and Custom Displays scripts are now protected calls and won't break the addon functionality if an error occurs. Unfortunately we still doesn't have a documentation for Details! API.\n\n|cFFFFFF00-|r Fixed an incomum bug with tank avoidance tables.\n\n|cFFFFFF00-|r Tiny Threat: added option to use class colors instead of green-to-red colors.\n\n|cFFFFFF00-|r Added option to enable shadows on toolbar's buttons.\n\n|cFFFFFF00-|r Added option to set the specing between each button on toolbar.\n\n|cFFFFFF00-|r Finally we merged the left and right menus into only one with 6 icons.\n\n|cFFFFFF00-|r Removed window button and added a new option bracket to manage windows under Mode Menu.\n\n|cFFFFFF00-|r Few changes on 'Default Skin', 'Minimalistic', 'Simple Gray' and 'ElvUI Frame Style BW' (need reaply).\n\n|cFFFFFF00- Important:|r If the menus is out of the position, just reaply the skin.\n\nv2.0.15 (|cFFFFCC00Oct 15, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed tooltips where sometimes it wans't showing at all.\n\n|cFFFFFF00-|r Fixed the healing done amount on Malkorok encounter.\n\nv2.0.14 (|cFFFFCC00Oct 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added pre-potion recognition for WoD pots.\n\n|cFFFFFF00-|r Added spell list for Blackrock Foundry encounters.\n\n|cFFFFFF00-|r Added mouse wheel scroll speed option.\n\n|cFFFFFF00-|r Added support for healing multistrike and damage multistrike.\n\n|cFFFFFF00-|r Added a Change Log button on Options Panel.\n\n|cFFFFFF00-|r When the windows is locked, trying to move the window through toolbar will stretch it instead.\n\n|cFFFFFF00-|r Renamed overheal for shields, now its called 'shield wasted'.\n\n|cFFFFFF00-|r Fine tuning on healing done, should have high accuracy now.\n\n|cFFFFFF00-|r Encounter Details plugin now supports Highmaul and Blackrock Foundry.\n\n|cFFFFFF00-|r New class cooldowns and spells recognition.\n\n|cFFFFFF00-|r Fixed few bugs on comparison panel and avoidance panel.\n\n|cFFFFFF00-|r Fixed encounter recognition, now it should show the encounter name over segments menu.\n\n|cFFFFFF00-|r Fixed Graphic part of Encounter Details Plugin, now he draws more accurately.\n\n|cFFFFFF00v1.29.3 (|cFFFFCC00Oct 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an addon crash bug when clicking directly on the sword button.\n\n|cFFFFFF00-|r Removed Flat Skin, added new skin: Serenity.\n\n|cFFFFFF00-|r Fixed many issues with bar animations.\n\n|cFFFFFF00-|r Fixed combat encounter start if the player already is in combat when the boss is pulled.\n\n|cFFFFFF00-|r Fixed wheel scroll when sometimes it move very slow or doesn't move the bars at all." Loc ["STRING_DETAILS1"] = "|cffffaeaeDetails!:|r " diff --git a/core/windows.lua b/core/windows.lua index d443babf..e9c0b81b 100644 --- a/core/windows.lua +++ b/core/windows.lua @@ -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 diff --git a/functions/profiles.lua b/functions/profiles.lua index 98cccf1f..96b891b0 100644 --- a/functions/profiles.lua +++ b/functions/profiles.lua @@ -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 diff --git a/functions/skins.lua b/functions/skins.lua index 0a4792ba..1f5c47bc 100644 --- a/functions/skins.lua +++ b/functions/skins.lua @@ -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}, diff --git a/gumps/janela_principal.lua b/gumps/janela_principal.lua index 6abf664f..efab1a59 100644 --- a/gumps/janela_principal.lua +++ b/gumps/janela_principal.lua @@ -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) diff --git a/gumps/janela_welcome.lua b/gumps/janela_welcome.lua index 176da67e..00ce3899 100644 --- a/gumps/janela_welcome.lua +++ b/gumps/janela_welcome.lua @@ -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 diff --git a/images/skins/simplygray_skin.tga b/images/skins/simplygray_skin.tga index cc5d70fa..dae05a42 100644 Binary files a/images/skins/simplygray_skin.tga and b/images/skins/simplygray_skin.tga differ