Quantcast

mostly working runeframes, added to oUF_lily

Cynyr [07-14-10 - 22:58]
mostly working runeframes, added to oUF_lily
Filename
config.lua
diff --git a/config.lua b/config.lua
new file mode 100644
index 0000000..24ba2ee
--- /dev/null
+++ b/config.lua
@@ -0,0 +1,42 @@
+-----------------------------
+-- INIT
+-----------------------------
+
+--get the addon namespace
+local addon, ns = ...
+
+--generate a holder for the config data
+local cfg = CreateFrame("Frame")
+
+-----------------------------
+-- CONFIG
+-----------------------------
+
+--config variables
+cfg.showplayer = false
+cfg.showtarget = true
+cfg.showtot = true
+cfg.showpet = true
+cfg.showfocus = true
+cfg.showparty = true
+cfg.showraid = true
+cfg.allow_frame_movement = true
+cfg.frames_locked = false
+
+
+cfg.texture = [=[Interface\ChatFrame\ChatFrameBackground]=]
+cfg.backdrop = {
+	bgFile = TEXTURE, insets = {top = -1, bottom = -1, left = -1, right = -1}
+}
+--cfg.backdrop_edge_texture = "Interface\\AddOns\\oUF_Simple\\media\\backdrop_edge"
+cfg.font = "FONTS\\FRIZQT__.ttf"
+
+cfg.height = 27
+cfg.width = 155
+
+-----------------------------
+-- HANDOVER
+-----------------------------
+
+--hand the config to the namespace for usage in other lua files (remember: those lua files must be called after the cfg.lua)
+ns.cfg = cfg