Quantcast

Another renaming wave

Darthpred [06-30-12 - 08:00]
Another renaming wave
Filename
ElvUI_SLE/ElvUI_SLE.lua
ElvUI_SLE/config/load_config.xml
ElvUI_SLE/config/sle_global.lua
diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua
index df0dbda..012ed08 100644
--- a/ElvUI_SLE/ElvUI_SLE.lua
+++ b/ElvUI_SLE/ElvUI_SLE.lua
@@ -3,9 +3,9 @@
 -------------------------------------------------
 --Testing line
 local E, L, V, P, G =  unpack(ElvUI); --Engine, Locales, Profile, Global
-local DPE = E:NewModule('DPE', 'AceHook-3.0', 'AceEvent-3.0');
+local SLE = E:NewModule('SLE', 'AceHook-3.0', 'AceEvent-3.0');

-function DPE:Initialize()
+function SLE:Initialize()
 	self:RegisterEvent("PLAYER_REGEN_DISABLED", "UpdateThings");
 	if E.db.general.loginmessage then
 		print(L['SLE_LOGIN_MSG'])
@@ -15,7 +15,7 @@ function DPE:Initialize()
 end

 --Updating things that must be updated only after everything loads
-function DPE:UpdateThings()
+function SLE:UpdateThings()
 	E:GetModule('UnitFrames'):Update_CombatIndicator()
 end

@@ -25,7 +25,7 @@ function E:UpdateAll()
 	E:GetModule('DTPanels'):Update()
 	E:GetModule('UnitFrames'):Update_CombatIndicator()
 	E:GetModule('UIButtons'):Start()
-	E:GetModule('DPE'):BPUpdate()
+	E:GetModule('SLE'):BPUpdate()
 end

-E:RegisterModule(DPE:GetName())
\ No newline at end of file
+E:RegisterModule(SLE:GetName())
\ No newline at end of file
diff --git a/ElvUI_SLE/config/load_config.xml b/ElvUI_SLE/config/load_config.xml
index 0abc87f..ad4ad17 100644
--- a/ElvUI_SLE/config/load_config.xml
+++ b/ElvUI_SLE/config/load_config.xml
@@ -1,4 +1,4 @@
 <Ui xmlns="http://www.blizzard.com/wow/ui/">
 	<Script file="profile.lua"/>
-	<Script file="dpe_global.lua"/>
+	<Script file="sle_global.lua"/>
 </Ui>
\ No newline at end of file
diff --git a/ElvUI_SLE/config/sle_global.lua b/ElvUI_SLE/config/sle_global.lua
new file mode 100644
index 0000000..b9a1d99
--- /dev/null
+++ b/ElvUI_SLE/config/sle_global.lua
@@ -0,0 +1,33 @@
+local E, L, V, P, G =  unpack(ElvUI); --Inport: Engine, Locales, ProfileDB, GlobalDB
+
+V['namelist'] = {};
+V['channellist'] = {};
+
+V['channelcheck'] = {
+	['say'] = false,
+	['yell'] = false,
+	['party'] = true,
+	['raid'] = true,
+	['battleground'] = false,
+	['guild'] = true,
+	['officer'] = false,
+	['general'] = false,
+	['trade'] = false,
+	['defense'] = false,
+	['lfg'] = false,
+	['time'] = 3,
+}
+
+V['dpe'] = {
+	--Auras Frame
+	['auras'] = {
+		['size'] = 30,
+	},
+
+	--Skada Backdrop
+	['skadaback'] = true,
+
+	['dbm'] = {
+		['size'] = 10,
+	},
+}
\ No newline at end of file