There's a nice demonstration
Scott Sibley [09-01-10 - 22:36]
There's a nice demonstration
diff --git a/Display.lua b/Display.lua
index 4adff47..a22f134 100644
--- a/Display.lua
+++ b/Display.lua
@@ -382,12 +382,12 @@ function mod:StartDisplays()
if k:match("^display_") then
if v.driver == "qtip" then
local display = LibDriverQTip:New(self, self.environment, k, self.db.profile.config, LCD4WoW.db.profile.errorLevel)
- if ResourceServer then ResourceServer:New(display.environment) end
+ --if ResourceServer then ResourceServer:New(display.environment) end
display:Show()
tinsert(displays, display)
elseif v.driver == "character" then
local display = LibDriverCharacter:New(self, self.environment, k, self.db.profile.config, LCD4WoW.db.profile.errorLevel)
- if ResourceServer then ResourceServer:New(display.environment) end
+ --if ResourceServer then ResourceServer:New(display.environment) end
display:Show()
tinsert(displays, display)
end
diff --git a/config.lua b/config.lua
index 53bcfd7..8a1a87e 100644
--- a/config.lua
+++ b/config.lua
@@ -8,8 +8,8 @@ local foo = 500
LCD4WoW.config = {
["display_startip"] = {
["enabled"] = true,
- --["driver"] = "qtip",
- ["layers"] = 1,
+ ["driver"] = "qtip",
+ ["layers"] = 2,
["background"] = "d9ccf16f",
["row"] = 500,
["col"] = 0,
@@ -27,7 +27,7 @@ LCD4WoW.config = {
["driver"] = "character",
["layers"] = 1,
["background"] = "d9ccf16f",
- ["pixel"] = 5,
+ ["pixel"] = 3,
["row"] = -50,
["col"] = 0,
["rows"] = 1,
@@ -152,7 +152,7 @@ LCD4WoW.config = {
type = "text",
value = [[
--do return random(100) .. "%" end
-mem = GetMemUsage("StarLibs-1.0")
+mem = GetMemUsage("LCD4WoW")
if mem then
return memshort(tonumber(format("%.2f", mem)))
end
@@ -244,7 +244,7 @@ end
["widget_cpu_histogram"] = {
type = "histogram",
expression = [[
---do return random(100) end
+do return random(100) end
cpu, percent, cpudiff, totalCPU, totaldiff = GetCPUUsage("StarLibs-1.0")
if cpu then
if totaldiff == 0 then return 0 end