Skip to content

Commit

Permalink
v0.3.28
Browse files Browse the repository at this point in the history
  • Loading branch information
D4KiR committed Oct 11, 2023
1 parent 8e0457a commit bc2ca75
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 12 deletions.
4 changes: 2 additions & 2 deletions DarkMode.toc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## Interface-Classic: 11404
## Interface-BCC: 20504
## Interface-Wrath: 30402
## Interface-Wrath: 30403
## Interface: 100107

## Version: 0.3.27
## Version: 0.3.28
## Title: DarkMode by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion DarkMode_TBC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20504
## Version: 0.3.27
## Version: 0.3.28
## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion DarkMode_Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11404
## Version: 0.3.27
## Version: 0.3.28
## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
4 changes: 2 additions & 2 deletions DarkMode_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 30402
## Version: 0.3.27
## Interface: 30403
## Version: 0.3.28
## Title: DarkMode |T136122:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
17 changes: 13 additions & 4 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ function DarkMode:SearchUi()
local max = 12
--[[ Bar Addons ]]
if name == "BT4Button" or name == "DominosActionButton" then
max = 120
max = 200
end

for x = 1, max do
Expand Down Expand Up @@ -638,9 +638,18 @@ function DarkMode:SearchUi()
end
end
elseif index == "Minimap" or index == "Artworks" or index == "Chat" or index == "Castbar" then
for i, v in pairs(tab) do
if v ~= "MainMenuBarBackpackButtonNormalTexture" or DarkMode:GetWoWBuild() ~= "RETAIL" then
DarkMode:FindTexturesByName(v, "ui")
for ind, name in pairs(tab) do
if index == "Artworks" and name == "BT4BarBlizzardArt.nineSliceParent" then
local frame = DarkMode:GetFrame(name)
for i, v in pairs({frame:GetChildren()}) do
if i == 1 then
DarkMode:FindTextures(v, "ui") -- Bartender Border in BlizzardArt
end
end
end

if name ~= "MainMenuBarBackpackButtonNormalTexture" or DarkMode:GetWoWBuild() ~= "RETAIL" then
DarkMode:FindTexturesByName(name, "ui")
end
end
elseif index == "Gryphons" then
Expand Down
2 changes: 1 addition & 1 deletion data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ local DMUi = {
["Minimap"] = {"MinimapBorder", "MinimapBorderTop", "TimeManagerClockButton", "MinimapCompassTexture", "MinimapCluster.BorderTop",},
["UnitFrames"] = {"PlayerFrameTexture", "TargetFrameTextureFrameTexture", "FocusFrameTextureFrameTexture", "TargetFrameToTTextureFrameTexture", "PetFrameTexture", "PlayerFrame.PlayerFrameContainer.AlternatePowerFrameTexture", "PlayerFrame.PlayerFrameContainer.FrameTexture", "TargetFrame.TargetFrameContainer.FrameTexture", "FocusFrame.TargetFrameContainer.FrameTexture", "PartyMemberFrame1Texture", "PartyMemberFrame2Texture", "PartyMemberFrame3Texture", "PartyMemberFrame4Texture", "PartyFrame.MemberFrame1.Texture", "PartyFrame.MemberFrame2.Texture", "PartyFrame.MemberFrame3.Texture", "PartyFrame.MemberFrame4.Texture", "CompactRaidFrameContainerBorderFrame", "TargetFrameSpellBar", "FocusFrameSpellBar"},
["Tooltips"] = {"GameTooltip.NineSlice", "ItemRefTooltip.NineSlice", "ShoppingTooltip1.NineSlice", "ShoppingTooltip2.NineSlice", "WhatsTrainingTooltip.NineSlice"},
["Artworks"] = {"MainMenuBarTexture0", "MainMenuBarTexture1", "MainMenuBarTexture2", "MainMenuBarTexture3", "MainMenuExpBar", "ReputationWatchBar.StatusBar", "MainStatusTrackingBarContainer.BarFrameTexture", "SecondaryStatusTrackingBarContainer.BarFrameTexture", "MainMenuBarMaxLevelBar", "BT4BarBlizzardArt", "BlizzardArtLeftCap", "BlizzardArtRightCap", "CompactRaidFrameManager", "CharacterReagentBag0SlotNormalTexture", "CharacterBag0SlotNormalTexture", "CharacterBag1SlotNormalTexture", "CharacterBag2SlotNormalTexture", "CharacterBag3SlotNormalTexture", "MainMenuBarBackpackButtonNormalTexture"},
["Artworks"] = {"MainMenuBarTexture0", "MainMenuBarTexture1", "MainMenuBarTexture2", "MainMenuBarTexture3", "MainMenuExpBar", "ReputationWatchBar.StatusBar", "MainStatusTrackingBarContainer.BarFrameTexture", "SecondaryStatusTrackingBarContainer.BarFrameTexture", "MainMenuBarMaxLevelBar", "BT4BarBlizzardArt", "BT4BarBlizzardArt.nineSliceParent", "BlizzardArtLeftCap", "BlizzardArtRightCap", "CompactRaidFrameManager", "CharacterReagentBag0SlotNormalTexture", "CharacterBag0SlotNormalTexture", "CharacterBag1SlotNormalTexture", "CharacterBag2SlotNormalTexture", "CharacterBag3SlotNormalTexture", "MainMenuBarBackpackButtonNormalTexture"},
["Gryphons"] = {"MA_LeftEndCap", "MA_RightEndCap", "MainMenuBar.EndCaps", "MainMenuBarLeftEndCap", "MainMenuBarRightEndCap"},
["Chat"] = {"ChatFrame1Tab", "ChatFrame2Tab", "ChatFrame3Tab", "ChatFrame4Tab", "ChatFrame5Tab", "ChatFrame6Tab", "ChatFrame7Tab", "ChatFrame8Tab", "ChatFrame9Tab", "ChatFrame10Tab",},
["Castbar"] = {"CastingBarFrame.Border"}
Expand Down
2 changes: 1 addition & 1 deletion settings.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local _, DarkMode = ...
local config = {
["title"] = format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.3.27")
["title"] = format("DarkMode |T136122:16:16:0:0|t v|cff3FC7EB%s", "0.3.28")
}

local searchStr = ""
Expand Down

0 comments on commit bc2ca75

Please sign in to comment.