Quantcast

Create better defaults, particularly ones that work. DriverCharacter isn't working anymore for some reason.

Scott Sibley [03-18-11 - 11:17]
Create better defaults, particularly ones that work. DriverCharacter isn't working anymore for some reason.
Filename
Display.lua
config.lua
diff --git a/Display.lua b/Display.lua
index 9320370..816b54a 100644
--- a/Display.lua
+++ b/Display.lua
@@ -2,7 +2,7 @@ local mod = LCD4WoW:NewModule("LCD4WoW")
 mod.name = "LCD Display"
 mod.toggled = true
 mod.defaultOff = true
-local Evaluator = LibStub("StarLibEvaluator-1.0")
+local Evaluator = LibStub("LibScriptableUtilsEvaluator-1.0")
 local LibCore = LibStub("LibScriptableLCDCore-1.0")
 local LibLCDText = LibStub("LibScriptableLCDText-1.0")
 local LibDriverQTip = LibStub("LibScriptableLCDDriverQTip-1.0")
@@ -131,7 +131,7 @@ function mod:RebuildOpts()
 		name = "Add Display",
 		type = "input",
 		set = function(info, v)
-			self.db.profile.config["display_" .. v] = {name = v, layouts = {}, widgets = {}, point = {"TOPLEFT", "UiParent", "BOTTOMLEFT", 0, -50}, parent="UIParent", strata=1}
+			self.db.profile.config["display_" .. v] = {name = v, layouts = {}, widgets = {}, point = {"TOPLEFT", "UIParent", "BOTTOMLEFT", 0, -50}, parent="UIParent", strata=1}
 			LCD4WoW:RebuildOpts()
 		end,
 		order = 1
diff --git a/config.lua b/config.lua
index 90d2228..faf1262 100644
--- a/config.lua
+++ b/config.lua
@@ -38,7 +38,7 @@ local foo = 100
 LCD4WoW.config = {
     ["display_startip"] = {
 		["addon"] = "LCD4WoW",
-		["enabled"] = false,
+		["enabled"] = true,
 		["driver"] = "qtip",
 		["layers"] = 2,
 		["background"] = "d9ccf16f",
@@ -52,11 +52,11 @@ LCD4WoW.config = {
 		["widgets"] = {"widget_key_up", "widget_key_down", "widget_resources_timer"},
 		["layouts"] = {"layout_lcd4wow", "layout_histogram_cpu", "layout_histogram_mem"},
 		["font"] = {normal="Interface\\AddOns\\LCD4WoW\\Fonts\\ttf-bitstream-vera-1.10\\VeraMo.ttf", bold="Interface\\AddOns\\LCD4WoW\\Fonts\\ttf-bitstream-vera-1.10\\VeraMoBd.ttf", size=12},
-		["point"] = {"CENTER", "UIParent", "CENTER", 0, 200}
+		["point"] = {"CENTER", "UIParent", "TOP", 0, -100}
     },
     ["display_character"] = {
 		["addon"] = "LCD4WoW",
-		["enabled"] = true,
+		["enabled"] = false,
 		["driver"] = "character",
 		["layers"] = 1,
 		["background"] = "d9ccf16f",
@@ -70,7 +70,7 @@ LCD4WoW.config = {
 		["transition_speed"] = 50,
 		["widgets"] = {"widget_key_up", "widget_key_down", "widget_resources_timer"},
 		["layouts"] = {"layout_tiny"},
-		["point"] = {"CENTER"},
+		["point"] = {"CENTER", "UIParent", "CENTER"},
 		["parent"] = "UIParent",
 		["strata"] = 1
     },