From e8a3f3d74c3e15246cd7d54241130b160e763ae0 Mon Sep 17 00:00:00 2001 From: Tercio Date: Mon, 7 Dec 2015 13:21:49 -0200 Subject: [PATCH] - Fixed some corner border for elvui skins. - /run Details.death_tooltip_width = 500 makes the deathlog tooltip be 500 width. --- boot.lua | 14 +++++++++----- classes/classe_others.lua | 2 +- functions/profiles.lua | 1 + gumps/janela_options.lua | 35 +++++++++++++++++++++++++++++++--- gumps/janela_principal.lua | 38 ++++++++++++++++++++++++++++++++++--- images/skins/elvui.tga | Bin 174364 -> 175644 bytes 6 files changed, 78 insertions(+), 12 deletions(-) diff --git a/boot.lua b/boot.lua index cf1ac20a..a53a82c8 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 = 2063 --it's 2063 for release - _detalhes.userversion = "v4.0.6e" + _detalhes.build_counter = 2101 --it's 2101 for release + _detalhes.userversion = "v4.0.7" _detalhes.realversion = 76 --core version _detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" Details = _detalhes @@ -21,13 +21,17 @@ do local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" ) --[[ -|cFFFFFF00v4.0.6e (|cFFFFCC00Nov 23, 2015|r|cFFFFFF00)|r:\n\n -|cFFFFFF00-|r Fixed an issue where sometimes some actors are duplicated at the end of an encounter.\n\n +|cFFFFFF00v4.0.6e (|cFFFFCC00Dec 07, 2015|r|cFFFFFF00)|r:\n\n +|cFFFFFF00-|r Fixed some corner border for elvui skins.\n\n +|cFFFFFF00-|r /run Details.death_tooltip_width = 500 makes the deathlog tooltip be 500 width.\n\n +|cFFFFFF00-|r .\n\n --]] + -- - Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v4.0.6e (|cFFFFCC00Nov 23, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an issue where sometimes some actors are duplicated at the end of an encounter.\n\n|cFFFFFF00-|r Fixed bookmark for segments (shift+right click).\n\n|cFFFFFF00-|r Fixed an issue with Chat Tab Embed when embeding only one window.\n\n|cFFFFFF00v4.0.6c (|cFFFFCC00Nov 04, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an option for numeral system: Western/East Asian.\n\n|cFFFFFF00v4.0.5c (|cFFFFCC00Oct 24, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an option to disable the all-displays window (right click on title bar).\n\n|cFFFFFF00-|r Added an option to suppress segment changes after killing a boss encounter (experimental).\n\n|cFFFFFF00-|r Fixed pet battles auto hide.\n\n|cFFFFFF00-|r Fixed an issue with bar animations starting from the middle of the bar.\n\n|cFFFFFF00-|r Fixed buffs and spell cast start on weakauras creator tool.\n\n|cFFFFFF00v4.0.3a (|cFFFFCC00Set 29, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fix for an error on Damage Taken By Spell display.\n\n|cFFFFFF00v4.0.3 (|cFFFFCC00Set 27, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Some improvements on Plugin's icon at the title bar.\n\n|cFFFFFF00v4.0.2 (|cFFFFCC00Set 26, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added 'ShielTronic Shield' on HealthPotion & Stone display.\n\n|cFFFFFF00-|r Improvements done on Vanguard Plugin.\n\n|cFFFFFF00-|r Fixed an alignment issue which was happening with few tooltips.\n\n|cFFFFFF00-|r Fixed a problem where sometimes the addon crashes while doing a /reload during raid.\n\n|cFFFFFF00-|r Fixed the creation of auras for weakauras from the Forge (/details forge).\n\n|cFFFFFF00v4.0.1 (|cFFFFCC00Set 21, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an options to use a customized skin file.\n\n|cFFFFFF00-|r Added an options to use a customized bar texture file.\n\n|cFFFFFF00-|r A Package with photoshop files with examples and the skin file for Minimalistic skin are available at WoW Interface.\n\n|cFFFFFF00-|r Added 'API Custom Displays.txt' on Details! folder, this file explain how to create scripts for custom displays.\n\n|cFFFFFF00v4.0h (|cFFFFCC00Set 19, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Created new plugin 'Target Caller' for RBGs, it's available at Curse.com.\n\n|cFFFFFF00-|r Fixed death display color when not using colored by the player class.\n\n|cFFFFFF00-|r Fixed a rare bug where the window for Encounter Details Plugin won't open when clicking on its icon.\n\n|cFFFFFF00-|r Added officer channel to 'Announce Death' feature.\n\n|cFFFFFF00v4.0f (|cFFFFCC00Set 16, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fix for the title bar encounter timer.\n\n|cFFFFFF00v4.0e (|cFFFFCC00Set 14, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added a custom display for Crowd Control Received.\n\n|cFFFFFF00-|r Weak Aura Creator Tool, now has full support for BigWigs and Dbm time bars.\n\n|cFFFFFF00-|r Auras for interrupt and dispelling has been added on the Weak Aura Creator Tool.\n\n|cFFFFFF00-|r Details! Forge now has support for DBM and BigWigs time bars.\n\n|cFFFFFF00-|r Solo Plugins now has a close button on their panels.\n\n|cFFFFFF00-|r Fixed damage/healing score message after a boss kill.\n\n|cFFFFFF00-|r Now, an alert to open the history panel is shown after killing a boss.\n\n|cFFFFFF00-|r Added a 'all-displays' menu when right clicking title bar.\n\n|cFFFFFF00-|r Removed few texture from bookmarks panel, now it has a more clean appearance.\n\n|cFFFFFF00-|r Updated Details! Framework.\n\n|cFFFFFF00-|r Added option in order to change the bar orientation.\n\n|cFFFFFF00-|r Added an option to make the menus on title bar work with clicks instead of hovering over them.\n\n|cFFFFFF00-|r Healing for battleground enemies is now placed on healing done instead of enemy healing done.\n\n|cFFFFFF00-|r Improvements on our support for Arena battles.\n\n|cFFFFFF00-|r Fixed some issues on the Player Detail Window.\n\n|cFFFFFF00-|r Fixed encounter time on title bar text.\n\n|cFFFFFF00-|r Fixed death display tooltip, wasn't respecting the font and size set on options panel.\n\n|cFFFFFF00v3.18.5 (|cFFFFCC00Aug 19, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Improvements on Weakauras creation from Encounter Details plugin.\n\n|cFFFFFF00-|r Improvements on 'Auto Switch to Current' feature. Details! windows are now more responsible about auto changing a segment while the player, for instance, has the report window opened.\n\n|cFFFFFF00-|r Added slash command '/de wipe'. It ends the raid encounter segment and stop capturing data.\nIf you are the raid leader, all other users of Details! will also stop.\nWorks great for players not make damage padding after a wipe call.\n\n|cFFFFFF00-|r Added the overheal made by pets on tooltip and player details window.\n\n|cFFFFFF00-|r Added an option to disable stretch button and bar highlight.\n\n|cFFFFFF00-|r Disabling nicknames now also disable avatars.\n\n|cFFFFFF00-|r Added 'spinal healing injector' on custom display 'Health Potion & Stone' used.\n\n|cFFFFFF00-|r Fixed title text width when auto-hide menu buttons is enabled.\n\n|cFFFFFF00-|r Fixed item level of timewarped items.\n\n|cFFFFFF00-|r Fixed report for custom display Crowd Control.\n\n|cFFFFFF00-|r Fixed role icons on custom displays.\n\n|cFFFFFF00-|r Fixed an issue with dropdown boxes where wasn't showing all options.\n\n|cFFFFFF00-|r Fixed Ticket #53: background alpha after stretching which wasn't correctly coming back to original color.\n\n|cFFFFFF00-|r Fixed ticket #51: API Call 'GetCombat('overall')' wasn't returning the overall combat object.\n\n|cFFFFFF00-|r Fixed ticket #50: issue opening icon selection frame.\n\n|cFFFFFF00v3.17.12 (|cFFFFCC00Aug 05, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an option for lock micro displays. When locked they don't interact with mouse or stay on top of menus.\n\n|cFFFFFF00-|r Fixed ticket #49: death display not working correctly with sort direction bottom-to-top.\n\n|cFFFFFF00-|r Fixed an issue with death display where the text wasn't updating their width correctly.\n\n|cFFFFFF00-|r Fixed an issue with energy and miscellaneous displays type not working correctly with bar animations.\n\n|cFFFFFF00-|r Fixed an issue while loading old profiles wans't updating their values for newer versions of the addon.\n\n|cFFFFFF00-|r Fixed an issue with bookmarks panel not opening correctly.\n\n|cFFFFFF00v3.17.10 (|cFFFFCC00Aug 02, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed ticket #47: Title bar font resets with UI reload / relog.\n\n|cFFFFFF00-|r Fixed ticket #46: Icon select panel wasn't opening.\n\n|cFFFFFF00-|r Fixed ticket #45: Windwalker icon for Mistweaver monks.\n\n|cFFFFFF00-|r Fixed issue with vehicles exchanging ownership, e.g. Soulbound Constructor on HFC raid.\n\n|cFFFFFF00v3.17.6 (|cFFFFCC00Jul 16, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Major improvements on the aura tool creation for WeakAuras.\n\n|cFFFFFF00-|r Fixed some issues with spec icons where sometimes it shows four small icons.\n\n|cFFFFFF00-|r Added an option to show a stopwatch on the title text showing the elapsed time of an encounter.\n\n|cFFFFFF00-|r Window title text now shrinks correctly when isn't enough space for it.\n\n|cFFFFFF00-|r For some special cases, left click now open the report window and shift+click shows the tooltip content in the window.\n\n|cFFFFFF00-|r Damage Taken by Spells now are a part of Damage bracket (no more on custom).\n\n|cFFFFFF00-|r Fixed custom functions for the customized bar left text." + + Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v4.0.7 (|cFFFFCC00Dec 07, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed some corner border for elvui skins.\n\n|cFFFFFF00-|r /run Details.death_tooltip_width = 500 makes the deathlog tooltip be 500 width.\n\n|cFFFFFF00v4.0.6e (|cFFFFCC00Nov 23, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an issue where sometimes some actors are duplicated at the end of an encounter.\n\n|cFFFFFF00-|r Fixed bookmark for segments (shift+right click).\n\n|cFFFFFF00-|r Fixed an issue with Chat Tab Embed when embeding only one window.\n\n|cFFFFFF00v4.0.6c (|cFFFFCC00Nov 04, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an option for numeral system: Western/East Asian.\n\n|cFFFFFF00v4.0.5c (|cFFFFCC00Oct 24, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an option to disable the all-displays window (right click on title bar).\n\n|cFFFFFF00-|r Added an option to suppress segment changes after killing a boss encounter (experimental).\n\n|cFFFFFF00-|r Fixed pet battles auto hide.\n\n|cFFFFFF00-|r Fixed an issue with bar animations starting from the middle of the bar.\n\n|cFFFFFF00-|r Fixed buffs and spell cast start on weakauras creator tool.\n\n|cFFFFFF00v4.0.3a (|cFFFFCC00Set 29, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fix for an error on Damage Taken By Spell display.\n\n|cFFFFFF00v4.0.3 (|cFFFFCC00Set 27, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Some improvements on Plugin's icon at the title bar.\n\n|cFFFFFF00v4.0.2 (|cFFFFCC00Set 26, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added 'ShielTronic Shield' on HealthPotion & Stone display.\n\n|cFFFFFF00-|r Improvements done on Vanguard Plugin.\n\n|cFFFFFF00-|r Fixed an alignment issue which was happening with few tooltips.\n\n|cFFFFFF00-|r Fixed a problem where sometimes the addon crashes while doing a /reload during raid.\n\n|cFFFFFF00-|r Fixed the creation of auras for weakauras from the Forge (/details forge).\n\n|cFFFFFF00v4.0.1 (|cFFFFCC00Set 21, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an options to use a customized skin file.\n\n|cFFFFFF00-|r Added an options to use a customized bar texture file.\n\n|cFFFFFF00-|r A Package with photoshop files with examples and the skin file for Minimalistic skin are available at WoW Interface.\n\n|cFFFFFF00-|r Added 'API Custom Displays.txt' on Details! folder, this file explain how to create scripts for custom displays.\n\n|cFFFFFF00v4.0h (|cFFFFCC00Set 19, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Created new plugin 'Target Caller' for RBGs, it's available at Curse.com.\n\n|cFFFFFF00-|r Fixed death display color when not using colored by the player class.\n\n|cFFFFFF00-|r Fixed a rare bug where the window for Encounter Details Plugin won't open when clicking on its icon.\n\n|cFFFFFF00-|r Added officer channel to 'Announce Death' feature.\n\n|cFFFFFF00v4.0f (|cFFFFCC00Set 16, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fix for the title bar encounter timer.\n\n|cFFFFFF00v4.0e (|cFFFFCC00Set 14, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added a custom display for Crowd Control Received.\n\n|cFFFFFF00-|r Weak Aura Creator Tool, now has full support for BigWigs and Dbm time bars.\n\n|cFFFFFF00-|r Auras for interrupt and dispelling has been added on the Weak Aura Creator Tool.\n\n|cFFFFFF00-|r Details! Forge now has support for DBM and BigWigs time bars.\n\n|cFFFFFF00-|r Solo Plugins now has a close button on their panels.\n\n|cFFFFFF00-|r Fixed damage/healing score message after a boss kill.\n\n|cFFFFFF00-|r Now, an alert to open the history panel is shown after killing a boss.\n\n|cFFFFFF00-|r Added a 'all-displays' menu when right clicking title bar.\n\n|cFFFFFF00-|r Removed few texture from bookmarks panel, now it has a more clean appearance.\n\n|cFFFFFF00-|r Updated Details! Framework.\n\n|cFFFFFF00-|r Added option in order to change the bar orientation.\n\n|cFFFFFF00-|r Added an option to make the menus on title bar work with clicks instead of hovering over them.\n\n|cFFFFFF00-|r Healing for battleground enemies is now placed on healing done instead of enemy healing done.\n\n|cFFFFFF00-|r Improvements on our support for Arena battles.\n\n|cFFFFFF00-|r Fixed some issues on the Player Detail Window.\n\n|cFFFFFF00-|r Fixed encounter time on title bar text.\n\n|cFFFFFF00-|r Fixed death display tooltip, wasn't respecting the font and size set on options panel.\n\n|cFFFFFF00v3.18.5 (|cFFFFCC00Aug 19, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Improvements on Weakauras creation from Encounter Details plugin.\n\n|cFFFFFF00-|r Improvements on 'Auto Switch to Current' feature. Details! windows are now more responsible about auto changing a segment while the player, for instance, has the report window opened.\n\n|cFFFFFF00-|r Added slash command '/de wipe'. It ends the raid encounter segment and stop capturing data.\nIf you are the raid leader, all other users of Details! will also stop.\nWorks great for players not make damage padding after a wipe call.\n\n|cFFFFFF00-|r Added the overheal made by pets on tooltip and player details window.\n\n|cFFFFFF00-|r Added an option to disable stretch button and bar highlight.\n\n|cFFFFFF00-|r Disabling nicknames now also disable avatars.\n\n|cFFFFFF00-|r Added 'spinal healing injector' on custom display 'Health Potion & Stone' used.\n\n|cFFFFFF00-|r Fixed title text width when auto-hide menu buttons is enabled.\n\n|cFFFFFF00-|r Fixed item level of timewarped items.\n\n|cFFFFFF00-|r Fixed report for custom display Crowd Control.\n\n|cFFFFFF00-|r Fixed role icons on custom displays.\n\n|cFFFFFF00-|r Fixed an issue with dropdown boxes where wasn't showing all options.\n\n|cFFFFFF00-|r Fixed Ticket #53: background alpha after stretching which wasn't correctly coming back to original color.\n\n|cFFFFFF00-|r Fixed ticket #51: API Call 'GetCombat('overall')' wasn't returning the overall combat object.\n\n|cFFFFFF00-|r Fixed ticket #50: issue opening icon selection frame.\n\n|cFFFFFF00v3.17.12 (|cFFFFCC00Aug 05, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added an option for lock micro displays. When locked they don't interact with mouse or stay on top of menus.\n\n|cFFFFFF00-|r Fixed ticket #49: death display not working correctly with sort direction bottom-to-top.\n\n|cFFFFFF00-|r Fixed an issue with death display where the text wasn't updating their width correctly.\n\n|cFFFFFF00-|r Fixed an issue with energy and miscellaneous displays type not working correctly with bar animations.\n\n|cFFFFFF00-|r Fixed an issue while loading old profiles wans't updating their values for newer versions of the addon.\n\n|cFFFFFF00-|r Fixed an issue with bookmarks panel not opening correctly.\n\n|cFFFFFF00v3.17.10 (|cFFFFCC00Aug 02, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed ticket #47: Title bar font resets with UI reload / relog.\n\n|cFFFFFF00-|r Fixed ticket #46: Icon select panel wasn't opening.\n\n|cFFFFFF00-|r Fixed ticket #45: Windwalker icon for Mistweaver monks.\n\n|cFFFFFF00-|r Fixed issue with vehicles exchanging ownership, e.g. Soulbound Constructor on HFC raid.\n\n|cFFFFFF00v3.17.6 (|cFFFFCC00Jul 16, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Major improvements on the aura tool creation for WeakAuras.\n\n|cFFFFFF00-|r Fixed some issues with spec icons where sometimes it shows four small icons.\n\n|cFFFFFF00-|r Added an option to show a stopwatch on the title text showing the elapsed time of an encounter.\n\n|cFFFFFF00-|r Window title text now shrinks correctly when isn't enough space for it." Loc ["STRING_DETAILS1"] = "|cffffaeaeDetails!:|r " diff --git a/classes/classe_others.lua b/classes/classe_others.lua index 7ee500cc..e0d51ec9 100644 --- a/classes/classe_others.lua +++ b/classes/classe_others.lua @@ -278,7 +278,7 @@ function _detalhes:ToolTipDead (instancia, morte, esta_barra, keydown) end GameCooltip:SetOption ("StatusBarHeightMod", -6) - GameCooltip:SetOption ("FixedWidth", 300) + GameCooltip:SetOption ("FixedWidth", (type (_detalhes.death_tooltip_width) == "number" and _detalhes.death_tooltip_width) or 300) GameCooltip:SetOption ("TextSize", _detalhes.tooltip.fontsize) GameCooltip:SetOption ("TextFont", _detalhes.tooltip.fontface) diff --git a/functions/profiles.lua b/functions/profiles.lua index ce99ce1e..2da10e5f 100644 --- a/functions/profiles.lua +++ b/functions/profiles.lua @@ -982,6 +982,7 @@ local default_profile = { pvp_as_group = true, use_battleground_server_parser = true, force_activity_time_pvp = true, + death_tooltip_width = 300, --> skins standard_skin = false, diff --git a/gumps/janela_options.lua b/gumps/janela_options.lua index edcfaff4..5ae711e8 100644 --- a/gumps/janela_options.lua +++ b/gumps/janela_options.lua @@ -143,6 +143,8 @@ function _detalhes:OpenOptionsWindow (instance, no_reopen, section) window.close_with_right = true window.backdrop = nil + window.using_skin = 1 + DetailsOptionsWindow.instance = instance DetailsOptionsWindow.loading_settings = true @@ -198,6 +200,7 @@ function _detalhes:OpenOptionsWindow (instance, no_reopen, section) window_icon:SetDrawLayer ("background") window_icon:SetTexCoord (0, 0.054199, 0.591308, 0.646972) --605 663 + --> title local title = g:NewLabel (window, nil, nil, "title", Loc ["STRING_OPTIONS_WINDOW"], "GameFontHighlightLeft", 12, {227/255, 186/255, 4/255}) title:SetPoint ("center", window, "center") @@ -676,9 +679,12 @@ local menus2 = { info_text:Hide() window.descAnchorImage:Hide() window.descBackgroundImage:Hide() - window.descAnchorTopLeftImage:Show() - window.descAnchorBottomLeftImage:Show() - window.descAnchorTopRightImage:Show() + + if (window.using_skin == 1) then --normal skin + window.descAnchorTopLeftImage:Show() + window.descAnchorBottomLeftImage:Show() + window.descAnchorTopRightImage:Show() + end end end @@ -1306,6 +1312,29 @@ local menus2 = { end + + --SKINS + function window:UseElvUISkin() + background:SetTexture ([[Interface\AddOns\Details\images\background]]) + background:SetVertexColor (0.27, 0.27, 0.27, 0.7) + window:SetBackdrop ({edgeFile = [[Interface\Buttons\WHITE8X8]], edgeSize = 1}) + window:SetBackdropColor (1, 1, 1, 1) + window:SetBackdropBorderColor (0, 0, 0, 1) + + bigdog:Hide() + window.descAnchorTopLeftImage:Hide() + window.descAnchorBottomLeftImage:Hide() + window.descAnchorTopRightImage:Hide() + + window.using_skin = 2 + end + + --window:UseElvUISkin() + + function window:UseClassicSkin() + + window.using_skin = 1 + end --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -- Advanced Settings - Tooltips ~20 diff --git a/gumps/janela_principal.lua b/gumps/janela_principal.lua index 215991ca..132aba69 100644 --- a/gumps/janela_principal.lua +++ b/gumps/janela_principal.lua @@ -5057,7 +5057,7 @@ function gump:CriaRodape (baseframe, instancia) baseframe.rodape = {} - --> esquerdo + --> esquerdo com statusbar baseframe.rodape.esquerdo = instancia.floatingframe:CreateTexture (nil, "overlay") baseframe.rodape.esquerdo:SetPoint ("topright", baseframe, "bottomleft", 16, 0) baseframe.rodape.esquerdo:SetTexture (DEFAULT_SKIN) @@ -5065,7 +5065,15 @@ function gump:CriaRodape (baseframe, instancia) baseframe.rodape.esquerdo:SetWidth (32) baseframe.rodape.esquerdo:SetHeight (32) - --> direito + --> esquerdo sem statusbar + baseframe.rodape.esquerdo_nostatusbar = instancia.floatingframe:CreateTexture (nil, "overlay") + baseframe.rodape.esquerdo_nostatusbar:SetPoint ("topright", baseframe, "bottomleft", 16, 14) + baseframe.rodape.esquerdo_nostatusbar:SetTexture (DEFAULT_SKIN) + baseframe.rodape.esquerdo_nostatusbar:SetTexCoord (unpack (COORDS_PIN_LEFT)) + baseframe.rodape.esquerdo_nostatusbar:SetWidth (32) + baseframe.rodape.esquerdo_nostatusbar:SetHeight (32) + + --> direito com statusbar baseframe.rodape.direita = instancia.floatingframe:CreateTexture (nil, "overlay") baseframe.rodape.direita:SetPoint ("topleft", baseframe, "bottomright", -16, 0) baseframe.rodape.direita:SetTexture (DEFAULT_SKIN) @@ -5073,6 +5081,14 @@ function gump:CriaRodape (baseframe, instancia) baseframe.rodape.direita:SetWidth (32) baseframe.rodape.direita:SetHeight (32) + --> direito sem statusbar + baseframe.rodape.direita_nostatusbar = instancia.floatingframe:CreateTexture (nil, "overlay") + baseframe.rodape.direita_nostatusbar:SetPoint ("topleft", baseframe, "bottomright", -16, 14) + baseframe.rodape.direita_nostatusbar:SetTexture (DEFAULT_SKIN) + baseframe.rodape.direita_nostatusbar:SetTexCoord (unpack (COORDS_PIN_RIGHT)) + baseframe.rodape.direita_nostatusbar:SetWidth (32) + baseframe.rodape.direita_nostatusbar:SetHeight (32) + --> barra centro baseframe.rodape.top_bg = baseframe:CreateTexture (nil, "background") baseframe.rodape.top_bg:SetTexture (DEFAULT_SKIN) @@ -5081,7 +5097,7 @@ function gump:CriaRodape (baseframe, instancia) baseframe.rodape.top_bg:SetHeight (128) baseframe.rodape.top_bg:SetPoint ("left", baseframe.rodape.esquerdo, "right", -16, -48) baseframe.rodape.top_bg:SetPoint ("right", baseframe.rodape.direita, "left", 16, -48) - + local StatusBarLeftAnchor = CreateFrame ("frame", "DetailsStatusBarAnchorLeft" .. instancia.meu_id, baseframe) StatusBarLeftAnchor:SetPoint ("left", baseframe.rodape.top_bg, "left", 5, 57) StatusBarLeftAnchor:SetWidth (1) @@ -6299,6 +6315,8 @@ function _detalhes:ChangeSkin (skin_name) self.baseframe.rodape.top_bg:SetTexture (skin_file) --> rodape top background self.baseframe.rodape.esquerdo:SetTexture (skin_file) --> rodape esquerdo self.baseframe.rodape.direita:SetTexture (skin_file) --> rodape direito + self.baseframe.rodape.esquerdo_nostatusbar:SetTexture (skin_file) --> rodape direito + self.baseframe.rodape.direita_nostatusbar:SetTexture (skin_file) --> rodape direito self.baseframe.button_stretch.texture:SetTexture (skin_file) --> botão de esticar a janela @@ -7518,6 +7536,11 @@ function _detalhes:HideStatusBar (instancia) self.baseframe.rodape.StatusBarCenterAnchor:Hide() self.baseframe.DOWNFrame:Hide() + --debug + self.baseframe.rodape.direita_nostatusbar:Show() + self.baseframe.rodape.esquerdo_nostatusbar:Show() + -- + if (self.toolbar_side == 2) then self:ToolbarSide() end @@ -7551,6 +7574,10 @@ function _detalhes:StatusBarColor (r, g, b, a, no_save) self.baseframe.rodape.esquerdo:SetAlpha (a) self.baseframe.rodape.direita:SetVertexColor (r, g, b) self.baseframe.rodape.direita:SetAlpha (a) + self.baseframe.rodape.direita_nostatusbar:SetVertexColor (r, g, b) + self.baseframe.rodape.esquerdo_nostatusbar:SetVertexColor (r, g, b) + self.baseframe.rodape.direita_nostatusbar:SetAlpha (a) + self.baseframe.rodape.esquerdo_nostatusbar:SetAlpha (a) self.baseframe.rodape.top_bg:SetVertexColor (r, g, b) self.baseframe.rodape.top_bg:SetAlpha (a) @@ -7570,6 +7597,11 @@ function _detalhes:ShowStatusBar (instancia) self.baseframe.rodape.StatusBarCenterAnchor:Show() self.baseframe.DOWNFrame:Show() + --debug + self.baseframe.rodape.direita_nostatusbar:Hide() + self.baseframe.rodape.esquerdo_nostatusbar:Hide() + -- + self:ToolbarSide() self:StretchButtonAnchor() diff --git a/images/skins/elvui.tga b/images/skins/elvui.tga index 7fa2bb5b690976a2af2e0021a2b24364498ddcc2..66440b627fc1c0c7238c7543fee114d254796c56 100644 GIT binary patch delta 2562 zcmchZPiS0K6vp4VlZnmLCaH0fCT+}^LgL1Mm7t)|X{e!8FfDGT3z05uKvFa-Nna)v zMQmb=nB!uI6gLtCQ;;Tz&_xZQ)R;z;Rx!E`ii?u9p%gPl>1zuNZB2bU{rI=U{8>(Hzm()=A6%FR|%d^z9@W^y|J zoxG_xZbtYwK5-B0_?n#2r@oaoy|F5fXzqI%(ZyAHMyJ-KN&mbntvWR)M>Kz1o?Uu- zU2ZiWzUm1V78ZhHxm*r{QmGX9HQ{S{c{%t|AH5{~dTLx+^tVar)baCjy!SKeq);dX zlr^k)`GRz5>s>h>3ShX3Gcz-Bqcq{z*jTW!u|YQ2+S>BpMS={1Al}^E^cfRFk_sx} z0#l^am$eNK4|_N;(ljX)!dN7*?d|O(QOyO=bFtVyFfiadv$C?X5>&@1B8H82)~1>* z*`u=ZD;XC3~O(qX*Rl= zo0x^v-ZYIYMnLuDnVg)gIZ0zPakjlkO5PX7FU>SV7ptpWY}E5o?fi(@@2%L%-!DhM zmw(-pBMpBq0iwZ7V}{6^p@L$S?5Y;? z(yL#7E@?gSv%Ge$_IX2|0%y$3{uTM>O%H!llecn_iX`%$ z^OAnZ`}L_WMPvlIayBdXb@80!^~ph(zH+op7cWR=>D^zXYiO@m@Lq&3-`A_N5$5QA z_n7vzyTd!F{{H^2E2(2m6zKC=H#&E~bFRv_(A97z@`UjZO#h?HH delta 1200 zcmd5*OKVe65S}?CN^b)ZO>UZ)$2Aesg7HzkT4)LZZJ~&|aw8@!0h6vIapNLbQmu{E zKvF~pA^2Db3PQRN0-}f;QQBA$6`{61z>O7B^aoteITw;HLUrN7yP7jI-#6d+?wra; zrSe9}Kg9Z6PZ{`kF&>Y@w1~joc@r*);DX3OB9VaeA}Z65IUMgSiIUk)rJtzUA(cwO zlNvJfLM`G3f;lmg0Jqx>j4>z* zOzWzks;W7Dg(hMcq|v*$ftE|Snex}McUTgE&1QoM!GuoL35d8xgmi2pPs+T<;{k`m z0lKb3GMSX)vuCoVhY@Q0!X#y0VINK2z!Ma+Glh=5M7_4SfY+>4ZeWOJ-{F`Uy*`Il zIy#OnI{h9G(QJ-a69uks>j!>Z?dIU8B^;zx1BZlgg(_#!L-|GQ6$BCbROZ;7OXe{| z)q9-p`7(}}^qPT>Yq`(p(&<@gH>S6AVrj?Wl zFb|C)(@86G6`Y}cOUA`=c1bO