getglobal(self:GetName().."Text"):SetText(Cauldron:LocaleString("Auto-buy?"));
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:ClearLines();
GameTooltip:AddLine(Cauldron:LocaleString("If this option is checked, then any item that is in the list will be automatically purchased when a vendor window is opened, if that vendor has the items."), 1, 1, 1, 1);
GameTooltip:Show();
CursorUpdate(self);
GameTooltip:Hide();
ResetCursor();
PlaySound("igMainMenuOptionCheckBoxOn");
Cauldron:AutoBuyShoppingList_OnClick(self);
self:SetBackdropColor(.05,.05,.05,.8);
self:SetBackdropBorderColor(.4,.4,.4,1);
-- tinsert(UISpecialFrames, self:GetName());
PlaySound("igCharacterInfoOpen");
PlaySound("igCharacterInfoClose");
return;
if button == "LeftButton" then
self:StartMoving();
self.isResizing = true;
end
if button == "LeftButton" then
self:StopMovingOrSizing();
self.isResizing = false;
Cauldron:UpdateShoppingList();
-- TradeskillInfoUI:Frame_Update()
-- CauldronShopping:SaveShoppingListFramePosition();
end
-- TradeskillInfoUI:Frame_Update()