Added Search into the options panel
This commit is contained in:
@@ -256,7 +256,7 @@ end
|
||||
{text = "Flask", width = 45},
|
||||
{text = "Rune", width = 45},
|
||||
--{text = "Pre-Pot Last Try", width = 100},
|
||||
{text = "Using Details!", width = 100},
|
||||
--{text = "Using Details!", width = 100},
|
||||
}
|
||||
local headerOptions = {
|
||||
padding = 2,
|
||||
@@ -334,7 +334,7 @@ end
|
||||
--no pre pot
|
||||
--local PrePotIndicator = DF:CreateImage (line, "", scroll_line_height, scroll_line_height)
|
||||
--using details!
|
||||
local DetailsIndicator = DF:CreateImage(line, "", scroll_line_height, scroll_line_height)
|
||||
--local DetailsIndicator = DF:CreateImage(line, "", scroll_line_height, scroll_line_height)
|
||||
|
||||
line:AddFrameToHeaderAlignment(roleIcon)
|
||||
line:AddFrameToHeaderAlignment(talentsRow)
|
||||
@@ -344,7 +344,7 @@ end
|
||||
line:AddFrameToHeaderAlignment(FlaskIndicator)
|
||||
line:AddFrameToHeaderAlignment(RuneIndicator)
|
||||
--line:AddFrameToHeaderAlignment(PrePotIndicator)
|
||||
line:AddFrameToHeaderAlignment(DetailsIndicator)
|
||||
--line:AddFrameToHeaderAlignment(DetailsIndicator)
|
||||
|
||||
line:AlignWithHeader (DetailsRaidCheck.Header, "left")
|
||||
|
||||
@@ -359,7 +359,7 @@ end
|
||||
line.FlaskIndicator = FlaskIndicator
|
||||
line.RuneIndicator = RuneIndicator
|
||||
--line.PrePotIndicator = PrePotIndicator
|
||||
line.DetailsIndicator = DetailsIndicator
|
||||
--line.DetailsIndicator = DetailsIndicator
|
||||
|
||||
return line
|
||||
end
|
||||
@@ -380,12 +380,10 @@ end
|
||||
--table.sort (dataInOrder, DF.SortOrder1R) --alphabetical
|
||||
data = dataInOrder
|
||||
|
||||
local raidStatusLib = LibStub:GetLibrary("LibRaidStatus-1.0")
|
||||
local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0")
|
||||
--get the information of all players
|
||||
local playersInfoData = raidStatusLib.playerInfoManager.GetAllPlayersInfo()
|
||||
local playersGearData = raidStatusLib.gearManager.GetAllPlayersGear()
|
||||
|
||||
local libRaidStatus = 0
|
||||
local playersInfoData = openRaidLib.playerInfoManager.GetAllPlayersInfo()
|
||||
local playersGearData = openRaidLib.gearManager.GetAllPlayersGear()
|
||||
|
||||
for i = 1, total_lines do
|
||||
local index = i + offset
|
||||
@@ -466,7 +464,7 @@ end
|
||||
line.FlaskIndicator.texture = playerTable.Flask and [[Interface\Scenarios\ScenarioIcon-Check]] or ""
|
||||
line.RuneIndicator.texture = playerTable.Rune and [[Interface\Scenarios\ScenarioIcon-Check]] or ""
|
||||
--line.PrePotIndicator.texture = playerTable.PrePot and [[Interface\Scenarios\ScenarioIcon-Check]] or ""
|
||||
line.DetailsIndicator.texture = playerTable.UseDetails and [[Interface\Scenarios\ScenarioIcon-Check]] or ""
|
||||
--line.DetailsIndicator.texture = playerTable.UseDetails and [[Interface\Scenarios\ScenarioIcon-Check]] or ""
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user