87501f8e2b
- Changed Addon name to: Consumes Manager - Fixed general styling issues - Added a 'Use' button for tracked consumables - Added a select/deselect all button to the options - Changed scanning to global instead of selected items only
58 lines
2.3 KiB
XML
58 lines
2.3 KiB
XML
<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">
|
|
<Button name="ConsumesManager_MinimapButton" hidden="false" enableMouse="true" parent="Minimap" toplevel="true" movable="true">
|
|
|
|
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
|
|
<Size>
|
|
<AbsDimension x="32" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture name="ConsumesManager_MinimapIconTexture" file="Interface\AddOns\ConsumesManager\images\minimap_icon">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Scripts>
|
|
<OnLoad>
|
|
ConsumesManager_OnLoad(this);
|
|
</OnLoad>
|
|
<OnDragStart>
|
|
ConsumesManager_OnDragStart(this);
|
|
</OnDragStart>
|
|
<OnDragStop>
|
|
ConsumesManager_OnDragStop(this);
|
|
</OnDragStop>
|
|
<OnMouseDown>
|
|
ConsumesManager_HandleClick(self, arg1);
|
|
</OnMouseDown>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_LEFT");
|
|
GameTooltip:SetText("Consumes Manager");
|
|
GameTooltip:AddLine("|cff00ff00Left Click|r to open Consumes Manager", 1, 1, 1);
|
|
GameTooltip:AddLine("Shift + Click to drag", 0.5, 0.5, 0.5);
|
|
GameTooltip:Show();
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
</Ui>
|