WoWInterface SVN Ranch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 12 to Rev 11
    Reverse comparison

Rev 12 → Rev 11

ranch.lua
66,27 → 66,20
RanchDesc:SetJustifyV("TOP")
RanchDesc:SetText("Ranch is an addon to assist you when farming for items in World of Warcraft. It will keep track of all the trade goods you have collected, along with all of the BoE items and any special, custom items you wish to select.")
 
-- Add a bit of Help to the Options Panel
local RanchHelp = RanchPanel:CreateFontString(nil, "ARTWORK", "GameFontHighlight")
RanchHelp:SetHeight(192)
RanchHelp:SetPoint("TOPLEFT", RanchDesc, "BOTTOMLEFT", 0, -8)
RanchHelp:SetPoint("RIGHT", -16, 0)
RanchHelp:SetNonSpaceWrap(true)
RanchHelp:SetJustifyH("LEFT")
RanchHelp:SetJustifyV("TOP")
local RanchItemsHelp = RanchPanel:CreateFontString(nil, "ARTWORK", "GameFontHighlight")
RanchItemsHelp:SetHeight(192)
RanchItemsHelp:SetPoint("TOPLEFT", RanchDesc, "BOTTOMLEFT", 0, -8)
RanchItemsHelp:SetPoint("RIGHT", -16, 0)
RanchItemsHelp:SetNonSpaceWrap(true)
RanchItemsHelp:SetJustifyH("LEFT")
RanchItemsHelp:SetJustifyV("TOP")
local helptext = "The Items sub-category deals with how Ranch displays BoE items.\n\n"
helptext = helptext.."The Types sub-category controls which types of trade items Ranch displays.\n\n"
helptext = helptext.."The Track sub-category controls the item being tracked in the LDB display.\n\n"
helptext = helptext.."The Temporary sub-category controls the items being displayed in the LDB tooltip for this session only.\n\n"
helptext = helptext.."The Permanent sub-category controls the items being permanently displayed in the LDB tooltip."
RanchHelp:SetText(helptext)
RanchItemsHelp:SetText(helptext)
 
-- Add the Items sub-category to the options panel.
RanchItems = CreateFrame( "Frame", "RanchItemsPanel", UIParent );
RanchItems.name = "Items Options"
RanchItems.parent = "Ranch (LDB)"
InterfaceOptions_AddCategory(RanchItems)
 
-- Register the BAG_UPDATE event.
RanchFrame:RegisterEvent("BAG_UPDATE");