Skip to content

Commit 7cf42f6

Browse files
committed
first commit
0 parents  commit 7cf42f6

File tree

67 files changed

+14961
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+14961
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.vscode

DragonflightUI/Config.lua

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
local DFUI = LibStub('AceAddon-3.0'):GetAddon('DragonflightUI')
2+
3+
DFUI.optionsSlash = {
4+
name = "DFUI Commands",
5+
order = 0,
6+
type = "group",
7+
args = {
8+
edit = {
9+
name = "Enable Edit Mode",
10+
type = 'execute',
11+
order = 0,
12+
func = function()
13+
local EditorMode = DFUI:GetModule('EditorMode')
14+
15+
if EditorMode:IsShown() then
16+
EditorMode:Hide()
17+
else
18+
EditorMode:Show()
19+
end
20+
end,
21+
dialogHidden = true
22+
},
23+
default = {
24+
name = "Load Default Settings",
25+
type = 'execute',
26+
order = 0,
27+
func = function()
28+
local ActionBar = DFUI:GetModule('ActionBar')
29+
ActionBar:LoadDefaultSettings()
30+
ActionBar:UpdateWidgets()
31+
32+
local UnitFrame = DFUI:GetModule('UnitFrame')
33+
UnitFrame:LoadDefaultSettings()
34+
UnitFrame:UpdateWidgets()
35+
end,
36+
dialogHidden = true
37+
}
38+
}
39+
}
40+
41+
DFUI.default = {
42+
profile = {
43+
widgets = {
44+
45+
}
46+
}
47+
}

DragonflightUI/Core.lua

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
local DFUI = LibStub('AceAddon-3.0'):NewAddon('DragonflightUI', 'AceConsole-3.0')
2+
local AceConfig = LibStub("AceConfig-3.0")
3+
local AceDB = LibStub("AceDB-3.0")
4+
5+
DFUI.InterfaceVersion = select(4, GetBuildInfo())
6+
DFUI.Wrath = (DFUI.InterfaceVersion >= 30300)
7+
8+
DFUI.DB = nil
9+
10+
function DFUI:OnInitialize()
11+
DFUI.DB = AceDB:New("DragonflightUIDB", DFUI.default, true)
12+
AceConfig:RegisterOptionsTable("DFUI Commands", DFUI.optionsSlash, "dfui")
13+
end
14+
15+
function DFUI:OnEnable()
16+
17+
end
18+
19+
function DFUI:OnDisable()
20+
21+
end

DragonflightUI/DragonflightUI.toc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Interface: 30300
2+
## Title: DragonflightUI
3+
## Notes: Changes your UI like Dragonflight
4+
## Author: Delayy
5+
## Version: 1.0.0
6+
## SavedVariables: DragonflightUIDB
7+
8+
Libs.xml
9+
10+
Core.lua
11+
Config.lua
12+
13+
Modules\ActionBar.lua
14+
Modules\UnitFrame.lua
15+
Modules\EditorMode.lua

DragonflightUI/Libs.xml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<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">
2+
<Script file="Libs\LibStub\LibStub.lua"/>
3+
<Include file="Libs\CallbackHandler-1.0\CallbackHandler-1.0.xml" />
4+
<Script file="Libs\LibDataBroker-1.1\LibDataBroker-1.1.lua"/>
5+
<Include file="Libs\AceAddon-3.0\AceAddon-3.0.xml" />
6+
<Include file="Libs\AceDB-3.0\AceDB-3.0.xml" />
7+
<Include file="Libs\AceGUI-3.0\AceGUI-3.0.xml" />
8+
<Include file="Libs\AceConsole-3.0\AceConsole-3.0.xml" />
9+
<Include file="Libs\AceConfig-3.0\AceConfig-3.0.xml" />
10+
<Include file="Libs\LibDBIcon-1.0\LibDBIcon-1.0.xml" />
11+
<Include file="Libs\AceEvent-3.0\AceEvent-3.0.xml" />
12+
<Include file="Libs\AceHook-3.0\AceHook-3.0.xml" />
13+
</Ui>

0 commit comments

Comments
 (0)