WoWInterface SVN Ranch

Compare Revisions

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

Rev 11 → Rev 12

ranch.lua
66,20 → 66,27
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.")
 
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")
-- 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 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."
RanchItemsHelp:SetText(helptext)
RanchHelp: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");