WoWInterface SVN UrbanAchiever

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 53 to Rev 54
    Reverse comparison

Rev 53 → Rev 54

Options.lua
61,7 → 61,7
 
local statTitle = panel:CreateFontString(nil, "ARTWORK", "GameFontNormal")
statTitle:SetText("Options")
statTitle:SetPoint("TOPLEFT", reset, "BOTTOMLEFT", 0, -10)
statTitle:SetPoint("TOPLEFT", scale, "BOTTOMLEFT", 0, -15)
 
local sC = CreateFrame("CheckButton", "UACB", panel, "OptionsCheckButtonTemplate")
sC:SetPoint("TOPLEFT", statTitle, "BOTTOMLEFT", 0, -10)
96,4 → 96,61
end)
 
InterfaceOptions_AddCategory(panel)
UrbanAchiever:AddHelpPanel()
end
 
function UrbanAchiever:AddHelpPanel()
local panel = CreateFrame("Frame")
panel.name = "Help"
panel.parent = "Urban Achiever"
 
local title = panel:CreateFontString(nil, "ARTWORK", "GameFontNormalLarge")
title:SetPoint("TOPLEFT", 15, -16)
title:SetText("Urban Achiever - Help")
title:SetJustifyH("LEFT")
title:SetJustifyV("TOP")
 
local subText = panel:CreateFontString(nil, "ARTWORK", "GameFontHighlightSmall")
subText:SetPoint("TOPLEFT", title, "BOTTOMLEFT", 0, -8)
subText:SetText("OMG I'm so confused!")
subText:SetNonSpaceWrap(true)
subText:SetJustifyH("LEFT")
subText:SetJustifyV("TOP")
 
local iconTitle = panel:CreateFontString(nil, "ARTWORK", "GameFontNormal")
iconTitle:SetText("Icons")
iconTitle:SetPoint("TOPLEFT", subText, "BOTTOMLEFT", 0, -10)
 
local iconIcons = panel:CreateFontString(nil, "ARTWORK", "GameFontNormal")
iconIcons:SetTextColor(1,1,1)
iconIcons:SetPoint("TOPLEFT", iconTitle, "BOTTOMLEFT")
iconIcons:SetText("|cffff0000!|r\n" ..
"|cff00ff00T|r\n" ..
"+/-\n"
)
 
local iconBody = panel:CreateFontString(nil, "ARTWORK", "GameFontNormal")
iconBody:SetJustifyH("LEFT")
iconBody:SetWidth(380)
iconBody:SetTextColor(1,1,1)
iconBody:SetText("- There's a reward for completing this achievement.\n" ..
"- This achievement is currently being tracked.\n" ..
"- There are more achievements associated with this one. click to show/hide them."
)
iconBody:SetPoint("TOPLEFT", iconIcons, "TOPRIGHT", 0, -6)
 
local trackerTitle = panel:CreateFontString(nil, "ARTWORK", "GameFontNormal")
trackerTitle:SetText("Tracker")
trackerTitle:SetPoint("TOPLEFT", iconIcons, "BOTTOMLEFT", 0, -15)
 
local trackerBody = panel:CreateFontString(nil, "ARTWORK", "GameFontNormal")
trackerBody:SetJustifyH("LEFT")
trackerBody:SetWidth(390)
trackerBody:SetTextColor(1,1,1)
trackerBody:SetText("|cff00ff00Shift-Click|r an achievement to add/remove it from the tracker.\n" ..
"|cff00ff00LeftClick|r an achievement title in the tracker to open it in the achievement frame.\n" ..
"|cff00ff00Alt-Click|r an achievement in the tracker to remove it.\n")
trackerBody:SetPoint("TOPLEFT", trackerTitle, "BOTTOMLEFT")
 
InterfaceOptions_AddCategory(panel)
end