Quantcast

Updated TOC file to (hopefully) support the Curse downloader.

pschifferer [01-22-09 - 20:03]
Updated TOC file to (hopefully) support the Curse downloader.
Added a resize handle to the shopping list window.
Filename
Cauldron/Cauldron.toc
Cauldron/CauldronShoppingList.xml
diff --git a/Cauldron/Cauldron.toc b/Cauldron/Cauldron.toc
index 9a82e02..65f670f 100755
--- a/Cauldron/Cauldron.toc
+++ b/Cauldron/Cauldron.toc
@@ -1,17 +1,17 @@
 ## Interface: 30000
 ## Title: Cauldron |cff7fff7f -Ace3-|r
-## Version: 1.0
+## Version: 0.9.6.$Revision$
 ## Author: Caendra of Silver Hand
 ## Notes: An improved interface for your trade skills
 ## RequiredDeps:
-## OptionalDeps: Ace3, LibStub, LibAbacus-3.0, LibDataBroker-1.1, LibPeriodicTable-1.0
+## OptionalDeps: Ace3, LibStub, LibDataBroker-1.1
 ## SavedVariables: CauldronDB
 ## SavedVariablesPerCharacter:
 ## DefaultState: enabled
+## X-Name: Cauldron
 ## X-Category: Tradeskill
 ## X-eMail: dm AT critical DASH failure DOT org
-## X-Name: Cauldron
-## X-ModuleName: Cauldron
+## X-Curse-Packaged-Version: r220

 embeds.xml

diff --git a/Cauldron/CauldronShoppingList.xml b/Cauldron/CauldronShoppingList.xml
index e54c456..b0a322e 100644
--- a/Cauldron/CauldronShoppingList.xml
+++ b/Cauldron/CauldronShoppingList.xml
@@ -160,6 +160,36 @@
             		</Frame>
             	</ScrollChild>
             </ScrollFrame>
+			<Button name="$parentResizeCorner">
+				<Size x="16" y="16"/>
+				<Anchors>
+					<Anchor point="BOTTOMRIGHT">
+						<Offset x="-3" y="3"/>
+					</Anchor>
+				</Anchors>
+				<Scripts>
+					<OnMouseDown>
+						if button == "LeftButton" then
+							self:GetParent():StartSizing();
+							self:GetParent().isResizing = true;
+						end
+					</OnMouseDown>
+					<OnLoad>
+						self:GetNormalTexture():SetVertexColor(0.6, 0.6, 0.6);
+					</OnLoad>
+					<OnMouseUp>
+						if button == "LeftButton" then
+							self:GetParent():StopMovingOrSizing();
+							self:GetParent().isResizing = false;
+							CauldronShoppingListFrame:Frame_Update();
+						end
+					</OnMouseUp>
+					<OnHide>
+						self:GetParent():StopMovingOrSizing()
+					</OnHide>
+				</Scripts>
+				<NormalTexture file="Interface\AddOns\WowLua\images\resize"/>
+			</Button>
 		</Frames>

 		<Scripts>