mirror of
https://github.com/parnic/RepairBroker.git
synced 2025-06-16 09:40:12 -05:00
Setup for multi-client compatibility
This reverts f4e9943af6
and applies those changes to a new 10.0-specific xml file. To load the appropriate file per game client version, there are now per-project TOCs.
This commit is contained in:
23
RepairBroker_Mainline.toc
Normal file
23
RepairBroker_Mainline.toc
Normal file
@ -0,0 +1,23 @@
|
||||
## Interface: 100000
|
||||
## Title: Repair Broker
|
||||
## Notes: Auto repair + shows durability.
|
||||
## Author: Merl @ chainwet.net, continued by Parnic
|
||||
## Version: @project-version@
|
||||
## OptionalDeps: Ace3, LibQTip-1.0
|
||||
## DefaultState: enabled
|
||||
## SavedVariables: RepairBrokerDB
|
||||
## X-Curse-Project-ID: 16139
|
||||
|
||||
#@no-lib-strip@
|
||||
embeds.xml
|
||||
#@end-no-lib-strip@
|
||||
LibDataBroker-1.1.lua
|
||||
|
||||
Locales\enUS.lua
|
||||
Locales\zhCN.lua
|
||||
Locales\zhTW.lua
|
||||
Locales\koKR.lua
|
||||
|
||||
tooltip.xml
|
||||
popup_10.xml
|
||||
RepairBroker.lua
|
@ -1,8 +1,4 @@
|
||||
## Interface: 90207
|
||||
## Interface-Retail: 90207
|
||||
## Interface-Classic: 11403
|
||||
## Interface-BCC: 20504
|
||||
## Interface-Wrath: 30400
|
||||
## Interface: 30400
|
||||
## Title: Repair Broker
|
||||
## Notes: Auto repair + shows durability.
|
||||
## Author: Merl @ chainwet.net, continued by Parnic
|
23
RepairBroker_Vanilla.toc
Normal file
23
RepairBroker_Vanilla.toc
Normal file
@ -0,0 +1,23 @@
|
||||
## Interface: 20504
|
||||
## Title: Repair Broker
|
||||
## Notes: Auto repair + shows durability.
|
||||
## Author: Merl @ chainwet.net, continued by Parnic
|
||||
## Version: @project-version@
|
||||
## OptionalDeps: Ace3, LibQTip-1.0
|
||||
## DefaultState: enabled
|
||||
## SavedVariables: RepairBrokerDB
|
||||
## X-Curse-Project-ID: 16139
|
||||
|
||||
#@no-lib-strip@
|
||||
embeds.xml
|
||||
#@end-no-lib-strip@
|
||||
LibDataBroker-1.1.lua
|
||||
|
||||
Locales\enUS.lua
|
||||
Locales\zhCN.lua
|
||||
Locales\zhTW.lua
|
||||
Locales\koKR.lua
|
||||
|
||||
tooltip.xml
|
||||
popup.xml
|
||||
RepairBroker.lua
|
23
RepairBroker_Wrath.toc
Normal file
23
RepairBroker_Wrath.toc
Normal file
@ -0,0 +1,23 @@
|
||||
## Interface: 30400
|
||||
## Title: Repair Broker
|
||||
## Notes: Auto repair + shows durability.
|
||||
## Author: Merl @ chainwet.net, continued by Parnic
|
||||
## Version: @project-version@
|
||||
## OptionalDeps: Ace3, LibQTip-1.0
|
||||
## DefaultState: enabled
|
||||
## SavedVariables: RepairBrokerDB
|
||||
## X-Curse-Project-ID: 16139
|
||||
|
||||
#@no-lib-strip@
|
||||
embeds.xml
|
||||
#@end-no-lib-strip@
|
||||
LibDataBroker-1.1.lua
|
||||
|
||||
Locales\enUS.lua
|
||||
Locales\zhCN.lua
|
||||
Locales\zhTW.lua
|
||||
Locales\koKR.lua
|
||||
|
||||
tooltip.xml
|
||||
popup.xml
|
||||
RepairBroker.lua
|
10
popup.xml
10
popup.xml
@ -4,7 +4,7 @@
|
||||
<Size>
|
||||
<AbsDimension x="170" y="70"/>
|
||||
</Size>
|
||||
<!-- <Backdrop name="$parentBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
||||
<Backdrop name="$parentBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
||||
<BackgroundInsets>
|
||||
<AbsInset left="4" right="4" top="4" bottom="4"/>
|
||||
</BackgroundInsets>
|
||||
@ -14,7 +14,7 @@
|
||||
<EdgeSize>
|
||||
<AbsValue val="16"/>
|
||||
</EdgeSize>
|
||||
</Backdrop> -->
|
||||
</Backdrop>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER" relativeTo="UIParent">
|
||||
<Offset x="0" y="100"/>
|
||||
@ -49,7 +49,7 @@
|
||||
</layer>
|
||||
</layers>
|
||||
<frames>
|
||||
<Button name="$parent_Close" inherits="OptionsListButtonTemplate" text="X">
|
||||
<Button name="$parent_Close" inherits="OptionsButtonTemplate" text="X">
|
||||
<Size>
|
||||
<AbsDimension x="16" y="16"/>
|
||||
</Size>
|
||||
@ -64,7 +64,7 @@
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="$parent_Repair" inherits="OptionsListButtonTemplate" text="Repair">
|
||||
<Button name="$parent_Repair" inherits="OptionsButtonTemplate" text="Repair">
|
||||
<Size>
|
||||
<AbsDimension x="80" y="16"/>
|
||||
</Size>
|
||||
@ -86,7 +86,7 @@
|
||||
</OnLeave>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="$parent_GuildRepair" inherits="OptionsListButtonTemplate" text="GuildRepair">
|
||||
<Button name="$parent_GuildRepair" inherits="OptionsButtonTemplate" text="GuildRepair">
|
||||
<Size>
|
||||
<AbsDimension x="80" y="16"/>
|
||||
</Size>
|
||||
|
120
popup_10.xml
Normal file
120
popup_10.xml
Normal file
@ -0,0 +1,120 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||
..\FrameXML\UI.xsd">
|
||||
<frame name="RepairBroker_Popup" hidden="true" toplevel="true" parent="MerchantFrame" movable="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG">
|
||||
<Size>
|
||||
<AbsDimension x="170" y="70"/>
|
||||
</Size>
|
||||
<!-- <Backdrop name="$parentBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
||||
<BackgroundInsets>
|
||||
<AbsInset left="4" right="4" top="4" bottom="4"/>
|
||||
</BackgroundInsets>
|
||||
<TileSize>
|
||||
<AbsValue val="16"/>
|
||||
</TileSize>
|
||||
<EdgeSize>
|
||||
<AbsValue val="16"/>
|
||||
</EdgeSize>
|
||||
</Backdrop> -->
|
||||
<Anchors>
|
||||
<Anchor point="CENTER" relativeTo="UIParent">
|
||||
<Offset x="0" y="100"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<layers>
|
||||
<layer level="ARTWORK">
|
||||
<FontString name="$parent_Title" font="Fonts\FRIZQT__.TTF" inherits="GameFontNormal" text="RepairBroker" justifyH="CENTER" justifyV="TOP">
|
||||
<FontHeight>
|
||||
<AbsValue val="12"/>
|
||||
</FontHeight>
|
||||
<Anchors>
|
||||
<Anchor point="TOP" relativeTo="$parent">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-6"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
<FontString name="$parent_Cost" font="Fonts\FRIZQT__.TTF" inherits="GameFontNormal" text="No price?" justifyH="CENTER" justifyV="TOP">
|
||||
<FontHeight>
|
||||
<AbsValue val="12"/>
|
||||
</FontHeight>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER" relativeTo="$parent">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="5"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</layer>
|
||||
</layers>
|
||||
<frames>
|
||||
<Button name="$parent_Close" inherits="OptionsListButtonTemplate" text="X">
|
||||
<Size>
|
||||
<AbsDimension x="16" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT" relativeTo="$parent">
|
||||
<Offset x="-6" y="-6"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
RepairBroker_Popup:Hide()
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="$parent_Repair" inherits="OptionsListButtonTemplate" text="Repair">
|
||||
<Size>
|
||||
<AbsDimension x="80" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT" relativeTo="$parent">
|
||||
<Offset x="6" y="6"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
RepairBroker:Repair()
|
||||
RepairBroker_Popup:Hide()
|
||||
</OnClick>
|
||||
<OnEnter>
|
||||
RepairBroker.PopupTooltip(self)
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip:Hide()
|
||||
</OnLeave>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="$parent_GuildRepair" inherits="OptionsListButtonTemplate" text="GuildRepair">
|
||||
<Size>
|
||||
<AbsDimension x="80" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT" relativeTo="$parent">
|
||||
<Offset x="-6" y="6"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnShow>
|
||||
if CanGuildBankRepair() then
|
||||
self:Enable()
|
||||
else
|
||||
self:Disable()
|
||||
end
|
||||
</OnShow>
|
||||
<OnClick>
|
||||
RepairBroker:RepairWithGuildBank()
|
||||
RepairBroker_Popup:Hide()
|
||||
</OnClick>
|
||||
<OnEnter>
|
||||
RepairBroker.PopupTooltip(self)
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip:Hide()
|
||||
</OnLeave>
|
||||
</Scripts>
|
||||
</Button>
|
||||
</frames>
|
||||
</frame>
|
||||
</Ui>
|
Reference in New Issue
Block a user