diff text_tabs.lua @ 65:69fd720f853e

Add display_bcast_from option.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Fri, 27 Apr 2012 09:12:45 +0000
parents 99ab21f0755f
children 43913e02a1ef
line wrap: on
line diff
--- a/text_tabs.lua	Fri Apr 20 04:41:10 2012 +0000
+++ b/text_tabs.lua	Fri Apr 27 09:12:45 2012 +0000
@@ -35,11 +35,12 @@
     CONTAINER:  widget container (already has 'Regenerate' button in it)
     MKBUTTON:  function to create more AceGUI widgets, as follows:
 
-mkbutton ("WidgetType", 'display key', "Text On Widget", "the mouseover display text")
-mkbutton ( [Button]     'display key', "Text On Widget", "the mouseover display text")
-mkbutton ( [Button]      [text]        "Text On Widget", "the mouseover display text")
+mkbutton ("WidgetType", 'display key', "Text On Widget", "mouseover text")
+mkbutton ( [Button]     'display key', "Text On Widget", "mouseover text")
+mkbutton ( [Button]      [text]        "Text On Widget", "mouseover text")
 
-The 'display key' parameter will almost certainly be specified as nil for these functions.
+The 'display key' parameter will almost certainly be specified as nil for
+these functions.
 ]]
 
 local forum_warned_heroic
@@ -60,7 +61,7 @@
 
 		if e.kind == 'loot' then
 			-- Assuming nobody names a toon "offspec" or "gvault"
-			-- 16Apr2011:  armory finds 20 Gvaults and 77 Offspecs... hulk smash.
+			-- 16Apr2011: armory finds 20 Gvaults and 77 Offspecs... hulk smash.
 			local disp = e.disposition or e.person
 			if disp == 'offspec' then
 				disp = e.person .. " " .. 'offspec'
@@ -82,7 +83,8 @@
 			cache[#cache+1] = t
 
 		elseif e.kind == 'boss' and e.reason == 'kill' then
-			-- first boss in an instance gets an instance tag, others get a blank line
+			-- The first boss in an instance gets an instance tag, others
+			-- get a blank line
 			if generated.last_instance == e.instance then
 				cache[#cache+1] = ""
 			else
@@ -177,8 +179,8 @@
 			-- (e.g., "we're dropping to 10-man for the PvP boss")
 			local i,o = do_attendance (e.raidersnap, e.maxsize / MEMBERS_PER_RAID_GROUP)
 
-			cache[#cache+1] = ("\n%s -- %s\n{+} %s\n{-} %s\n"):format(e.instance,
-				e.bossname, i, o)
+			cache[#cache+1] = ("\n%s -- %s\n{+} %s\n{-} %s\n"):
+				format(e.instance, e.bossname, i, o)
 
 		elseif e.kind == 'time' then
 			cache[#cache+1] = e.startday.text