Browse Source

add click frame names

dev
Jørgen Lien Sellæg 4 months ago
parent
commit
acaa3a5150
  1. 2
      TradeSkillMaster/TradeSkillMaster.toc
  2. 4
      TradeSkillMaster_AuctionDB/TradeSkillMaster_AuctionDB.toc
  3. 2
      TradeSkillMaster_Auctioning/modules/GUI.lua
  4. 8
      TradeSkillMaster_Mailing/Modules/Inbox.lua

2
TradeSkillMaster/TradeSkillMaster.toc

@ -2,7 +2,7 @@
## Title: |cff00fe00TradeSkillMaster: Revived|r ## Title: |cff00fe00TradeSkillMaster: Revived|r
## Notes: Core addon for the TradeSkillMaster suite, revived for Wrath of the Lich King. Does nothing without modules installed. ## Notes: Core addon for the TradeSkillMaster suite, revived for Wrath of the Lich King. Does nothing without modules installed.
## Author: Sapu94, Bart39, Gnomezilla [Warmane-Icecrown(A)], BlueAo [Warmane], andrew6180, Yoshiyuka, DimaSheiko, and other contributors... ## Author: Sapu94, Bart39, Gnomezilla [Warmane-Icecrown(A)], BlueAo [Warmane], andrew6180, Yoshiyuka, DimaSheiko, and other contributors...
## Version: 2.3.29 ## Version: 2.3.30
## SavedVariables: TradeSkillMasterAppDB, AscensionTSMDB ## SavedVariables: TradeSkillMasterAppDB, AscensionTSMDB
## OptionalDeps: AccurateTime, Ace3, LibDataBroker-1.1, LibDBIcon-1.0, LibExtraTip, TipHelper, LibParse, LibCompress, LibGraph-2.0, SharedMedia, TheUndermineJournal, TheUndermineJournalGE ## OptionalDeps: AccurateTime, Ace3, LibDataBroker-1.1, LibDBIcon-1.0, LibExtraTip, TipHelper, LibParse, LibCompress, LibGraph-2.0, SharedMedia, TheUndermineJournal, TheUndermineJournalGE
## X-Embeds: AccurateTime, Ace3, LibDataBroker-1.1, LibDBIcon-1.0, LibExtraTip, TipHelper, LibParse, LibCompress, LibGraph-2.0 ## X-Embeds: AccurateTime, Ace3, LibDataBroker-1.1, LibDBIcon-1.0, LibExtraTip, TipHelper, LibParse, LibCompress, LibGraph-2.0

4
TradeSkillMaster_AuctionDB/TradeSkillMaster_AuctionDB.toc

@ -2,10 +2,10 @@
## Title: |cff00ff00TradeSkillMaster_AuctionDB|r ## Title: |cff00ff00TradeSkillMaster_AuctionDB|r
## Notes: Stores auction house data and calculates market prices. ## Notes: Stores auction house data and calculates market prices.
## Author: Sapu94, Bart39 ## Author: Sapu94, Bart39
## Version: 2.3.29 ## Version: 2.3.30
## SavedVariables: AscensionTSM_AuctionDB ## SavedVariables: AscensionTSM_AuctionDB
## Dependency: TradeSkillMaster ## Dependency: TradeSkillMaster
## X-Curse-Packaged-Version: 2.3.29 ## X-Curse-Packaged-Version: 2.3.30
## X-Curse-Project-Name: TradeSkillMaster_AuctionDB ## X-Curse-Project-Name: TradeSkillMaster_AuctionDB
## X-Curse-Project-ID: tradeskillmaster_auctiondb ## X-Curse-Project-ID: tradeskillmaster_auctiondb
## X-Curse-Repository-ID: wow/tradeskillmaster_auctiondb/mainline ## X-Curse-Repository-ID: wow/tradeskillmaster_auctiondb/mainline

2
TradeSkillMaster_Auctioning/modules/GUI.lua

@ -86,7 +86,7 @@ function private:CreateButtons(parent)
button:SetScript("OnClick", OnClick) button:SetScript("OnClick", OnClick)
frame.cancel = button frame.cancel = button
local button = TSMAPI.GUI:CreateButton(frame, 18) local button = TSMAPI.GUI:CreateButton(frame, 18, "TSMAuctioningSkipButton")
button:SetPoint("TOPLEFT", frame.post, "TOPRIGHT", 5, 0) button:SetPoint("TOPLEFT", frame.post, "TOPRIGHT", 5, 0)
button:SetWidth(60) button:SetWidth(60)
button:SetHeight(height) button:SetHeight(height)

8
TradeSkillMaster_Mailing/Modules/Inbox.lua

@ -74,7 +74,7 @@ function Inbox:CreateTab(parent)
st:SetData({}) st:SetData({})
frame.st = st frame.st = st
local btn = TSMAPI.GUI:CreateButton(frame, 18) local btn = TSMAPI.GUI:CreateButton(frame, 18, "TSMMailingSalesButton")
btn:SetPoint("BOTTOMLEFT", 5, 30) btn:SetPoint("BOTTOMLEFT", 5, 30)
btn:SetPoint("BOTTOMRIGHT", -5, 30) btn:SetPoint("BOTTOMRIGHT", -5, 30)
btn:SetHeight(20) btn:SetHeight(20)
@ -91,7 +91,7 @@ function Inbox:CreateTab(parent)
local btnWidth = (frame:GetWidth() - label:GetWidth() - 25) / 5 local btnWidth = (frame:GetWidth() - label:GetWidth() - 25) / 5
local btn = TSMAPI.GUI:CreateButton(frame, 18) local btn = TSMAPI.GUI:CreateButton(frame, 18, "TSMMailingBuysButton")
btn:SetPoint("BOTTOMLEFT", label, "BOTTOMRIGHT", 5, 0) btn:SetPoint("BOTTOMLEFT", label, "BOTTOMRIGHT", 5, 0)
btn:SetWidth(btnWidth) btn:SetWidth(btnWidth)
btn:SetHeight(20) btn:SetHeight(20)
@ -99,7 +99,7 @@ function Inbox:CreateTab(parent)
btn:SetScript("OnClick", function() private:StartAutoLooting("sales") end) btn:SetScript("OnClick", function() private:StartAutoLooting("sales") end)
frame.salesBtn = btn frame.salesBtn = btn
local btn = TSMAPI.GUI:CreateButton(frame, 18) local btn = TSMAPI.GUI:CreateButton(frame, 18, "TSMMailingCancelsButton")
btn:SetPoint("BOTTOMLEFT", frame.salesBtn, "BOTTOMRIGHT", 5, 0) btn:SetPoint("BOTTOMLEFT", frame.salesBtn, "BOTTOMRIGHT", 5, 0)
btn:SetWidth(btnWidth) btn:SetWidth(btnWidth)
btn:SetHeight(20) btn:SetHeight(20)
@ -107,7 +107,7 @@ function Inbox:CreateTab(parent)
btn:SetScript("OnClick", function() private:StartAutoLooting("buys") end) btn:SetScript("OnClick", function() private:StartAutoLooting("buys") end)
frame.buysBtn = btn frame.buysBtn = btn
local btn = TSMAPI.GUI:CreateButton(frame, 18) local btn = TSMAPI.GUI:CreateButton(frame, 18, "TSMMailingExpiresButton")
btn:SetPoint("BOTTOMLEFT", frame.buysBtn, "BOTTOMRIGHT", 5, 0) btn:SetPoint("BOTTOMLEFT", frame.buysBtn, "BOTTOMRIGHT", 5, 0)
btn:SetWidth(btnWidth) btn:SetWidth(btnWidth)
btn:SetHeight(20) btn:SetHeight(20)

Loading…
Cancel
Save