Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Core/MultiBotInit.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
-- Minimap config is resolved through MultiBot.GetMinimapConfig().

--local MB_INVENTORY_LABEL = INVENTORY_TOOLTIP or BAGSLOT or "Inventory"
local MB_PAGE_DEFAULT = string.format("%d/%d", 0, 0)
-- local MB_PAGE_DEFAULT = string.format("%d/%d", 0, 0)
MultiBot.MB_PAGE_DEFAULT = string.format("%d/%d", 0, 0)
--local MB_TAB_TITLE_DEFAULT = UNKNOWN or ""

-- =====================================================================
Expand Down Expand Up @@ -405,7 +406,7 @@ function MultiBot.BuildFormationUI(tLeft)
tFormat:Hide()

-- Grid 1 × N (columns) --
local COLS = 1 -- One column
--local COLS = 1 -- One column
local CELL_W = 40 -- wide (useless here but we keep the arg.)
local CELL_H = 30 -- high/vertival spacing

Expand Down
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TODO

* Voi si y'a pas d'autres appels à pageLabel:SetText(MB_PAGE_DEFAULT) dans les fichiers et remplacer par : + pageLabel:SetText(MultiBot.MB_PAGE_DEFAULT or "0/0")
* Ressortir les UI quetes dans leurs propre fichiers et uniformiser le tempklate de la frame comme celle de Itemus
* Uniformiser le templste de la frame reward comme celle de itemus
* Essayer de faire disparaitre la barre multibots au bout d'un temps et la faire apparaitre quand on passe la souris dessus.
Expand Down
3 changes: 2 additions & 1 deletion UI/MultiBotItemusFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,8 @@ local function createItemusContent(window, itemus)

local pageLabel = itemsPanel:CreateFontString(nil, "OVERLAY", "GameFontNormal")
pageLabel:SetPoint("TOP", itemsPanel, "TOP", 0, -8)
pageLabel:SetText(MB_PAGE_DEFAULT)
--pageLabel:SetText(MB_PAGE_DEFAULT)
pageLabel:SetText(MultiBot.MB_PAGE_DEFAULT or "0/0")

local resultsLabel = itemsPanel:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
resultsLabel:SetPoint("TOPRIGHT", itemsPanel, "TOPRIGHT", -12, -10)
Expand Down
3 changes: 2 additions & 1 deletion UI/MultiBotRewardFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ function MultiBot.InitializeRewardFrame()

local pageLabel = content:CreateFontString(nil, "OVERLAY", "GameFontNormal")
pageLabel:SetPoint("TOP", content, "TOP", 0, -2)
pageLabel:SetText(MB_PAGE_DEFAULT)
--pageLabel:SetText(MB_PAGE_DEFAULT)
pageLabel:SetText(MultiBot.MB_PAGE_DEFAULT or "0/0")

local prevButton = CreateFrame("Button", nil, content, "UIPanelButtonTemplate")
prevButton:SetSize(26, 20)
Expand Down
3 changes: 2 additions & 1 deletion UI/MultiBotSpellBookFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ local function getSpellBookUI()
end

local function getSpellBookDefaultPageLabel()
local tDefault = MB_PAGE_DEFAULT
--local tDefault = MB_PAGE_DEFAULT
local tDefault = MultiBot.MB_PAGE_DEFAULT
if(type(tDefault) ~= "string" or tDefault == "") then
return "1/1"
end
Expand Down
Loading