From 114ea524bb1c3d09706aaaa540ed6139bd09a82d Mon Sep 17 00:00:00 2001 From: jKalfis Date: Thu, 3 Sep 2026 21:35:01 +0100 Subject: [PATCH] Delete gui.lua --- gui.lua | 229 -------------------------------------------------------- 1 file changed, 229 deletions(-) delete mode 100644 gui.lua diff --git a/gui.lua b/gui.lua deleted file mode 100644 index ac04ead..0000000 --- a/gui.lua +++ /dev/null @@ -1,229 +0,0 @@ -local DQB = pfUI and pfUI.dqb - -if not DQB then - return -end - ------------------------------------------------- --- Initialize configuration ------------------------------------------------- - -if DQB.InitializeConfig then - DQB:InitializeConfig() -end - ------------------------------------------------- --- Helpers ------------------------------------------------- - -local function CreateModuleConfig(parent, title, config) - - ------------------------------------------------ - -- Remove Blizzard Skin and apply pfUI Style - ------------------------------------------------ - - CreateConfig( - parent, - "Remove Blizzard Skin and apply pfUI Style", - config, - "pfui_style", - "checkbox" - ) - - ------------------------------------------------ - -- Fix Fonts - ------------------------------------------------ - - CreateConfig( - parent, - "Fix Fonts", - config, - "fix_fonts", - "checkbox" - ) - - ------------------------------------------------ - -- Custom - ------------------------------------------------ - - CreateConfig( - parent, - "Custom", - nil, - nil, - "header" - ) - - ------------------------------------------------ - -- Remove Blizzard Parchment Texture - ------------------------------------------------ - - CreateConfig( - parent, - "Remove Blizzard Parchment Texture", - config, - "remove_parchment", - "checkbox" - ) - - ------------------------------------------------ - -- Background Color - ------------------------------------------------ - - CreateConfig( - parent, - "Background Color", - config, - "background_color", - "color" - ) - - ------------------------------------------------ - -- Background Opacity - ------------------------------------------------ - - CreateConfig( - parent, - "Background Opacity", - config, - "background_alpha", - "range", - 0, - 1, - 0.05 - ) - - ------------------------------------------------ - -- Font - ------------------------------------------------ - - CreateConfig( - parent, - "Font", - config, - "font", - "dropdown" - ) - - ------------------------------------------------ - -- Font Colors - ------------------------------------------------ - - CreateConfig( - parent, - "Font Colors", - nil, - nil, - "header" - ) - - ------------------------------------------------ - -- Titles - ------------------------------------------------ - - CreateConfig( - parent, - "Titles", - config, - "title_color", - "color" - ) - - ------------------------------------------------ - -- Text - ------------------------------------------------ - - CreateConfig( - parent, - "Text", - config, - "text_color", - "color" - ) -end - ------------------------------------------------- --- DQB configuration ------------------------------------------------- - -pfUI:RegisterConfig( - "dqb", - "DQB", - function() - - ------------------------------------------------ - -- General - ------------------------------------------------ - - CreateConfig( - nil, - "Enable DQB", - pfUI_config.dqb.general, - "enable", - "checkbox" - ) - - ------------------------------------------------ - -- Gossip & Quest - ------------------------------------------------ - - CreateConfig( - nil, - "Gossip & Quest", - pfUI_config.dqb.gossipquest, - nil, - "submenu", - function() - - CreateModuleConfig( - nil, - "Gossip & Quest", - pfUI_config.dqb.gossipquest - ) - - end - ) - - ------------------------------------------------ - -- Quest Log - ------------------------------------------------ - - CreateConfig( - nil, - "Quest Log", - pfUI_config.dqb.questlog, - nil, - "submenu", - function() - - CreateModuleConfig( - nil, - "Quest Log", - pfUI_config.dqb.questlog - ) - - end - ) - - ------------------------------------------------ - -- Books - ------------------------------------------------ - - CreateConfig( - nil, - "Books", - pfUI_config.dqb.books, - nil, - "submenu", - function() - - CreateModuleConfig( - nil, - "Books", - pfUI_config.dqb.books - ) - - end - ) - end -)