Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| faa214d711 | |||
| 12dc325987 | |||
| fe7298dead | |||
| 7860923b0a | |||
| 91bfbc2896 | |||
| ce528a463e | |||
| 7212a7ddf8 | |||
| 98f63bdd23 |
+199277
-185141
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,7 @@
|
||||
<img src="https://cdn.discordapp.com/attachments/1158418666883395656/1526958961436393532/1.png?ex=6a58ead9&is=6a579959&hm=1f84acbe5bffb77d705044ca5e4f49b6ab785c9407be01db9eb170098957e537&"/>
|
||||
<img src="https://cdn.discordapp.com/attachments/1158418666883395656/1526958971573768223/2.png?ex=6a58eadc&is=6a57995c&hm=fcee720bad54680ec7dcafc530b6c0764ed1e710883ab2a68cdc9843dbd202d2&"/>
|
||||
<img src="https://i.postimg.cc/dVsnq11F/sdfsegt.png"/>
|
||||
<img src="https://i.postimg.cc/rFLQPg2P/dfgsdf.png"/>
|
||||
|
||||
For faster scanning check out https://github.com/brues-code/AuctionQueryThrottle
|
||||
|
||||
# Relationships Auction Price
|
||||
|
||||
|
||||
@@ -790,7 +790,37 @@ local function CreateAHUI()
|
||||
local bd = cPanel.borderColor or { 0.55, 0.42, 0.22, 1 }
|
||||
ahPanel:SetBackdropColor(bg[1], bg[2], bg[3], bg[4])
|
||||
ahPanel:SetBackdropBorderColor(bd[1], bd[2], bd[3], bd[4])
|
||||
ahPanel:SetFrameStrata("HIGH")
|
||||
ahPanel:SetFrameStrata("MEDIUM") -- AH is DIALOG strata; keep panel below it
|
||||
ahPanel:SetToplevel(false)
|
||||
|
||||
-- Draggable panel (only while AH is open)
|
||||
ahPanel:SetMovable(true)
|
||||
ahPanel:EnableMouse(true)
|
||||
ahPanel:RegisterForDrag("LeftButton")
|
||||
ahPanel:SetClampedToScreen(true)
|
||||
ahPanel:SetScript("OnDragStart", function()
|
||||
if AuctionFrame and AuctionFrame:IsVisible() then
|
||||
this:StartMoving()
|
||||
this.isMoving = true
|
||||
end
|
||||
end)
|
||||
ahPanel:SetScript("OnDragStop", function()
|
||||
if this.isMoving then
|
||||
this:StopMovingOrSizing()
|
||||
this.isMoving = false
|
||||
local point, _, relPoint, x, y = this:GetPoint()
|
||||
RelationshipsAuctionPriceDB.panelPos = {
|
||||
point = point, relPoint = relPoint, x = x, y = y,
|
||||
}
|
||||
end
|
||||
end)
|
||||
|
||||
-- Restore saved position (if any), otherwise keep the AH-anchored default
|
||||
local savedPos = RelationshipsAuctionPriceDB and RelationshipsAuctionPriceDB.panelPos
|
||||
if savedPos and savedPos.point then
|
||||
ahPanel:ClearAllPoints()
|
||||
ahPanel:SetPoint(savedPos.point, UIParent, savedPos.relPoint, savedPos.x, savedPos.y)
|
||||
end
|
||||
|
||||
-- Scan button
|
||||
local cBtn = C.scanButton or {}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
## Title: Relationships Auction Price
|
||||
## Notes: AH scanner + tooltip prices (highest to lowest) for Octowow. Supports a shared PriceData.lua for transfers.
|
||||
## Author: Relationship
|
||||
## Version: 1.0
|
||||
## Version: 1.1
|
||||
## SavedVariables: RelationshipsAuctionPriceDB, RAP_SHARED_DATA_EXPORT
|
||||
|
||||
PriceData.lua
|
||||
|
||||
Reference in New Issue
Block a user