WoWInterface SVN Ranch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 13 to Rev 14
    Reverse comparison

Rev 13 → Rev 14

trunk/ranch.lua
47,46 → 47,8
ranch_temp = {}
 
-- Create the Options Panel.
RanchPanel = CreateFrame( "Frame", "RanchOptionsPanel", UIParent );
RanchPanel.name = "Ranch (LDB)"
InterfaceOptions_AddCategory(RanchPanel)
RanchAbout = LibStub("tekKonfig-AboutPanel").new(nil, "Ranch")
 
-- Add a Title to the Options Panel
local RanchTitle = RanchPanel:CreateFontString(nil, "ARTWORK", "GameFontNormalLarge")
RanchTitle:SetPoint("TOP", 0, -16)
RanchTitle:SetText("Ranch - A Farming Addon")
 
-- Add a description to the Options Panel
local RanchDesc = RanchPanel:CreateFontString(nil, "ARTWORK", "GameFontHighlight")
RanchDesc:SetHeight(48)
RanchDesc:SetPoint("TOPLEFT", 16, -40)
RanchDesc:SetPoint("RIGHT", -16, 0)
RanchDesc:SetNonSpaceWrap(true)
RanchDesc:SetJustifyH("LEFT")
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 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)
 
-- 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");
 
trunk/ranch.toc
5,4 → 5,8
## Version: 1.0.wowi:revision
## SavedVariablesPerCharacter: ranch_perm, ranch_options
 
## X-Website: http://www.wowinterface.com/downloads/info11942-Ranch.html
## X-Category: Inventory
 
libs\tekKonfig\tekKonfig.xml
ranch.lua
\ No newline at end of file