Quantcast

Bugfix

Scott Sibley [08-31-10 - 21:14]
Bugfix
Filename
config.lua
embeds.xml
modules.xml
diff --git a/config.lua b/config.lua
deleted file mode 100644
index 254df92..0000000
--- a/config.lua
+++ /dev/null
@@ -1,369 +0,0 @@
-
-
-local ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE, ALIGN_AUTOMATIC, ALIGN_PINGPONG = 1, 2, 3, 4, 5, 6
-local SCROLL_RIGHT, SCROLL_LEFT = 1, 2
-
-local foo = 500
-
-StarTip.config = {
-    ["display_startip"] = {
-		["enabled"] = true,
-		["driver"] = "QTip",
-		["layers"] = 3,
-		["background"] = "d9ccf16f",
-		["rows"] = 6,
-		["cols"] = 30,
-		["timeout"] = 7000,
-		["transition_speed"] = 50,
-		["widgets"] = {"widget_key_up", "widget_key_down"},
-		["layouts"] = {"layout_startip", "layout_histogram"},
-		["font"] = {normal="Interface\\AddOns\\startip\\Fonts\\ttf-bitstream-vera-1.10\\VeraMo.ttf", bold="Interface\\AddOns\\startip\\Fonts\\ttf-bitstream-vera-1.10\\VeraMoBd.ttf", size=12},
-		--["font"] = {file = GameTooltipText:GetFont(), size = 12}
-    },
-	["layout_blank"] = {
-		["keyless"] = 1,
-		["layout-timeout"] = 0
-    },
-	["layout_startip"] = {
-		[1] = { -- row
-    		[1] = "widget_name_label", -- column
-    		[10] = "widget_name"
-        },
-		[2] = {
-    		[1] = "widget_class_label",
-    		[10] = "widget_class"
-        },
-		[3] = {
-			[1] = "widget_race_label",
-			[10] = "widget_race",
-		},
-		[4] = {
-			[1] = "widget_level_label",
-			[10] = "widget_level",
-		},
-		[5] = {
-			[1] = "widget_mem_label",
-			[10] = "widget_mem",
-			[20] = "widget_mem_bar"
-		},
-		[6] = {
-			[1] = "widget_cpu_label",
-			[10] = "widget_cpu",
-			[20] = "widget_cpu_bar"
-		},
-		["transition"] = 1,
-		["timeout"] = 5000
-    },
-	["layout_histogram"] = {
-		["layer2"] = {
-			[1] = {
-				[1] = "widget_mem_histogram"
-			},
-		},
-		["layer1"] = {
-			[3] = {
-				[1] = "widget_mem_perc"
-			}
-		},
-		["transition"] = 2,
-		["timeout"] = 5000
-	},
-	["widget_name_label"] = {
-		type = "text",
-		value = 'return "Name:"',
-		precision = 0xbabe,
-		align = ALIGN_RIGHT,
-		cols = 9,
-		color = "return 0xffffffff"
-	},
-	["widget_name"] = {
-		type = "text",
-		value = "return '--' .. select(1, UnitName('player')) .. '--'",
-		cols = 20,
-		align = ALIGN_PINGPONG,
-		update = 1000,
-		speed = 100,
-		direction = SCROLL_LEFT,
-		dontRtrim = true
-	},
-	["widget_class_label"] = {
-		type = "text",
-		value = 'return "Class:"',
-		cols = 9,
-		align = ALIGN_RIGHT
-	},
-	["widget_class"] = {
-		type = "text",
-		value = "return UnitClass('player')",
-		cols = 10
-	},
-	["widget_race_label"] = {
-		type = "text",
-		value = 'return "Race:"',
-		cols = 9,
-		align = ALIGN_RIGHT
-	},
-	["widget_race"] = {
-		type = "text",
-		value = "return UnitRace('player')",
-		cols = 10
-	},
-	["widget_level_label"] = {
-		type = "text",
-		value = 'return "Level:"',
-		cols = 9,
-		align = ALIGN_RIGHT,
-	},
-	["widget_level"] = {
-		type = "text",
-		value = "return UnitLevel('player')",
-		cols = 10
-	},
-	["widget_mem_label"] = {
-		type = "text",
-		value = "return 'Memory:'",
-		cols = 9,
-		align = ALIGN_RIGHT
-	},
-	["widget_mem"] = {
-		type = "text",
-		value = [[
-mem = GetMemUsage("StarTip")
-if mem then
-    return memshort(tonumber(format("%.2f", mem)))
-end
-]],
-		cols = 10,
-		update = 1000,
-		dontRtrim = true
-	},
-	["widget_mem_perc"] = {
-		type = "text",
-		value = [[
-mem, percent, memdiff, totalMem, totaldiff = GetMemUsage("StarTip")
-if mem then
-    if totaldiff == 0 then totaldiff = 1 end
-    return '--------' .. format("%.2f", memdiff / totaldiff * 100) .. "%" .. "-------"
-end
-]],
-		align = ALIGN_PINGPONG,
-		direction = SCROLL_RIGHT,
-		cols = 30,
-		update = 1000,
-		speed = 100,
-		dontRtrim = true
-	},
-	["widget_mem_bar"] = {
-		type = "bar",
-		expression = [[
-mem, percent, memdiff, totalMem, totaldiff = GetMemUsage("StarTip")
-if mem then
-    if totaldiff == 0 then return 0 end
-    return memdiff / totaldiff * 100
-end
-]],
-		min = "return 0",
-		max = "return 100",
-		length = 10
-	},
-	["widget_mem_histogram"] = {
-		type = "histogram",
-		expression = [[
-mem, percent, memdiff, totalMem, totaldiff = GetMemUsage("StarTip")
-if mem then
-    if totaldiff == 0 then return 0 end
-    return memdiff / totaldiff * 100
-end
-]],
-		min = "return 0",
-		max = "return 100",
-		width = 30,
-		height = 6,
-		layer = 1
-	},
-	["widget_cpu_label"] = {
-		type = "text",
-		value = "return 'CPU:'",
-		cols = 9,
-		align = ALIGN_RIGHT
-	},
-	["widget_cpu"] = {
-		type = "text",
-		value = [[
-cpu = GetCPUUsage("StarTip")
-if cpu then
-    return timeshort(cpu)
-end
-]],
-		cols = 10,
-		update = 1000,
-		dontRtrim = true
-	},
-	["widget_cpu_bar"] = {
-		type = "bar",
-		expression = [[
-cpu, percent, cpudiff, totalCPU, totaldiff = GetCPUUsage("StarTip")
-if cpu then
-    if totaldiff == 0 then return 0 end
-    return cpudiff / totaldiff * 100
-end
-]],
-		min = "return 0",
-		max = "return 100",
-		length = 10
-	},
-	["widget_cpu_histogram"] = {
-		type = "histogram",
-		expression = [[
-cpu, percent, cpudiff, totalCPU, totaldiff = GetCPUUsage("StarTip")
-if cpu then
-    if totaldiff == 0 then return 0 end
-    return cpudiff / totaldiff * 100
-end
-]],
-		min = "return 0",
-		max = "return 100",
-		width = 30,
-		height = 6
-	},
-	["widget_icon_blob"] = {
-		["bitmap"] = {
-    		["row1"] = ".....|.....|.....",
-    		["row2"] = ".....|.....|.***.",
-    		["row3"] = ".....|.***.|*...*",
-    		["row4"] = "..*..|.*.*.|*...*",
-    		["row5"] = ".....|.***.|*...*",
-    		["row6"] = ".....|.....|.***.",
-    		["row7"] = ".....|.....|.....",
-    		["row8"] = ".....|.....|....."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_ekg"] = {
-		["bitmap"] = {
-    		["row1"] = ".....|.....|.....|.....|.....|.....|.....|.....",
-    		["row2"] = ".....|....*|...*.|..*..|.*...|*....|.....|.....",
-    		["row3"] = ".....|....*|...*.|..*..|.*...|*....|.....|.....",
-    		["row4"] = ".....|....*|...**|..**.|.**..|**...|*....|.....",
-    		["row5"] = ".....|....*|...**|..**.|.**..|**...|*....|.....",
-    		["row6"] = ".....|....*|...*.|..*.*|.*.*.|*.*..|.*...|*....",
-    		["row7"] = "*****|*****|****.|***..|**..*|*..**|..***|.****",
-    		["row8"] = ".....|.....|.....|.....|.....|.....|.....|....."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_heart"] = {
-		["bitmap"] = {
-    		["row1"] = ".....|.....|.....|.....|.....|.....",
-    		["row2"] = ".*.*.|.....|.*.*.|.....|.....|.....",
-    		["row3"] = "*****|.*.*.|*****|.*.*.|.*.*.|.*.*.",
-    		["row4"] = "*****|.***.|*****|.***.|.***.|.***.",
-    		["row5"] = ".***.|.***.|.***.|.***.|.***.|.***.",
-    		["row6"] = ".***.|..*..|.***.|..*..|..*..|..*..",
-    		["row7"] = "..*..|.....|..*..|.....|.....|.....",
-    		["row8"] = ".....|.....|.....|.....|.....|....."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_heartbeat"] = {
-		["bitmap"] = {
-    		["row1"] = ".....|.....",
-    		["row2"] = ".*.*.|.*.*.",
-    		["row3"] = "*****|*.*.*",
-    		["row4"] = "*****|*...*",
-    		["row5"] = ".***.|.*.*.",
-    		["row6"] = ".***.|.*.*.",
-    		["row7"] = "..*..|..*..",
-    		["row8"] = ".....|....."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_karo"] = {
-		["bitmap"] = {
-    		["row1"] = ".....|.....|.....|.....|..*..|.....|.....|.....",
-    		["row2"] = ".....|.....|.....|..*..|.*.*.|..*..|.....|.....",
-    		["row3"] = ".....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....",
-    		["row4"] = ".....|..*..|.*.*.|*...*|.....|*...*|.*.*.|..*..",
-    		["row5"] = ".....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....",
-    		["row6"] = ".....|.....|.....|..*..|.*.*.|..*..|.....|.....",
-    		["row7"] = ".....|.....|.....|.....|..*..|.....|.....|.....",
-    		["row8"] = ".....|.....|.....|.....|.....|.....|.....|....."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_rain"] = {
-		["bitmap"] = {
-    		["row1"] = "...*.|.....|.....|.*...|....*|..*..|.....|*....",
-    		["row2"] = "*....|...*.|.....|.....|.*...|....*|..*..|.....",
-    		["row3"] = ".....|*....|...*.|.....|.....|.*...|....*|..*..",
-    		["row4"] = "..*..|.....|*....|...*.|.....|.....|.*...|....*",
-    		["row5"] = "....*|..*..|.....|*....|...*.|.....|.....|.*...",
-    		["row6"] = ".*...|....*|..*..|.....|*....|...*.|.....|.....",
-    		["row7"] = ".....|.*...|....*|..*..|.....|*....|...*.|.....",
-    		["row8"] = ".....|.....|.*...|....*|..*..|.....|*....|...*."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_squirrel"] = {
-		["bitmap"] = {
-    		["row1"] = ".....|.....|.....|.....|.....|.....",
-    		["row2"] = ".....|.....|.....|.....|.....|.....",
-    		["row3"] = ".....|.....|.....|.....|.....|.....",
-    		["row4"] = "**...|.**..|..**.|...**|....*|.....",
-    		["row5"] = "*****|*****|*****|*****|*****|*****",
-    		["row6"] = "...**|..**.|.**..|**...|*....|.....",
-    		["row7"] = ".....|.....|.....|.....|.....|.....",
-    		["row8"] = ".....|.....|.....|.....|.....|....."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_timer"] = {
-		["bitmap"] = {
-    		["row1"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|",
-    		["row2"] = ".***.|.*+*.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.+++.|.+*+.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|",
-    		["row3"] = "*****|**+**|**++*|**+++|**++.|**++.|**+++|**+++|**+++|**+++|**+++|+++++|+++++|++*++|++**+|++***|++**.|++**.|++***|++***|++***|++***|++***|*****|",
-    		["row4"] = "*****|**+**|**+**|**+**|**+++|**+++|**+++|**+++|**+++|**+++|+++++|+++++|+++++|++*++|++*++|++*++|++***|++***|++***|++***|++***|++***|*****|*****|",
-    		["row5"] = "*****|*****|*****|*****|*****|***++|***++|**+++|*++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++**|+++**|++***|+****|*****|*****|*****|",
-    		["row6"] = ".***.|.***.|.***.|.***.|.***.|.***.|.**+.|.*++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.++*.|.+**.|.***.|.***.|.***.|.***.|",
-    		["row7"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|",
-    		["row8"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|"
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_icon_wave"] = {
-		["bitmap"] = {
-    		["row1"] = "..**.|.**..|**...|*....|.....|.....|.....|.....|....*|...**",
-    		["row2"] = ".*..*|*..*.|..*..|.*...|*....|.....|.....|....*|...*.|..*..",
-    		["row3"] = "*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...",
-    		["row4"] = "*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...",
-    		["row5"] = "*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...",
-    		["row6"] = ".....|.....|....*|...*.|..*..|.*..*|*..*.|..*..|.*...|*....",
-    		["row7"] = ".....|.....|.....|....*|...**|..**.|.**..|**...|*....|.....",
-    		["row8"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|....."
-        },
-		["speed"] = "return foo",
-		["type"] = "icon"
-    },
-	["widget_key_down"] = {
-		["expression"] = "lcd.Transition(-1)",
-		["key"] = 2,
-		["type"] = "key"
-    },
-	["widget_key_up"] = {
-		["expression"] = "lcd.Transition(1)",
-		["key"] = 1,
-		["type"] = "key"
-    },
-	["widget_percent"] = {
-		["expression"] = "'%'",
-		["type"] = "text"
-    }
-}
\ No newline at end of file
diff --git a/embeds.xml b/embeds.xml
index 67ef9ed..d8941fe 100644
--- a/embeds.xml
+++ b/embeds.xml
@@ -1,6 +1,7 @@
 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
 ..\FrameXML\UI.xsd">

+
 <Include file = "Libs\StarLibs-1.0\StarLibs-1.0.xml"/>

 <Include file = "Libs\AceAddon-3.0\AceAddon-3.0.xml"/>
diff --git a/modules.xml b/modules.xml
index d263181..55b9002 100644
--- a/modules.xml
+++ b/modules.xml
@@ -11,6 +11,7 @@
 <Script file = "Modules\DeadlyAnnounce.lua"/>
 <Script file = "Modules\Text.lua"/>
 <Script file = "Modules\Talents.lua"/>
+
 <!--<Script file = "Modules\LCDDisplay.lua"/>-->

 </Ui>