if DBM:IsPostMidnight() then return end--Don't load raid leader options if it's past midnight, they can't be used
local L = DBM_GUI_L
local rlControlsPanel = DBM_GUI.Cat_Filters:CreateNewPanel(L.Tab_RLControls, "option")

local featureOverridesArea = rlControlsPanel:CreateArea(L.Area_FeatureOverrides)
featureOverridesArea:CreateCheckButton(L.OverrideIcons, true, nil, "DisableRaidIcons")
featureOverridesArea:CreateCheckButton(L.OverrideSay, true, nil, "DisableChatBubbles")
featureOverridesArea:CreateCheckButton(L.DisableStatusWhisperShort, true, nil, "DisableStatusWhisper")--TODO, whenc hanging this checkbox, make sure other checkbox in privacy also updates?
featureOverridesArea:CreateCheckButton(L.DisableGuildStatusShort, true, nil, "DisableGuildStatus")--TODO, whenc hanging this checkbox, make sure other checkbox in privacy also updates?
local infotext = featureOverridesArea:CreateText(L.ConfigAreaFooter, nil, false, GameFontNormalSmall)
infotext:SetPoint("BOTTOMLEFT", featureOverridesArea.frame, "BOTTOMLEFT", 10, 10)

--NYI
--[[
local configOverrideArea = rlControlsPanel:CreateArea(L.Area_ConfigOverrides)
configOverrideArea:CreateCheckButton(L.OverrideBossAnnounceOptions, true, nil, "OverrideBossAnnounce")
configOverrideArea:CreateCheckButton(L.OverrideBossTimerOptions, true, nil, "OverrideBossTimer")
configOverrideArea:CreateCheckButton(L.OverrideBossIconOptions, true, nil, "OverrideBossIcon")
configOverrideArea:CreateCheckButton(L.OverrideBossSayOptions, true, nil, "OverrideBossSay")
local infotext2 = configOverrideArea:CreateText(L.ConfigAreaFooter, nil, false, GameFontNormalSmall)
infotext2:SetPoint("BOTTOMLEFT", configOverrideArea.frame, "BOTTOMLEFT", 10, 10)
local infotext3 = configOverrideArea:CreateText(L.ConfigAreaFooter2, nil, false, GameFontNormalSmall)
infotext3:SetPoint("BOTTOMLEFT", infotext2, "BOTTOMLEFT", 0, 20)

local receivingOverrideArea = rlControlsPanel:CreateArea(L.Area_receivingOptions)
receivingOverrideArea:CreateCheckButton(L.NoAnnounceOverride, true, nil, "NoAnnounceOverride")
receivingOverrideArea:CreateCheckButton(L.NoTimerOverridee, true, nil, "NoTimerOverridee")
receivingOverrideArea:CreateCheckButton(L.ReplaceMyConfigOnOverride, true, nil, "ReplaceMyConfigOnOverride")
local infotext5 = receivingOverrideArea:CreateText(L.ReceivingFooter, nil, false, GameFontNormalSmall)
infotext5:SetPoint("BOTTOMLEFT", receivingOverrideArea.frame, "BOTTOMLEFT", 10, 10)
local infotext6 = receivingOverrideArea:CreateText(L.ReceivingFooter2, nil, false, GameFontNormalSmall)
infotext6:SetPoint("BOTTOMLEFT", infotext5, "BOTTOMLEFT", 0, 20)
local infotext7 = receivingOverrideArea:CreateText(L.ReceivingFooter3, nil, false, GameFontNormalSmall)
infotext7:SetPoint("BOTTOMLEFT", infotext6, "BOTTOMLEFT", 0, 20)

local infotext4 = rlControlsPanel:CreateText(L.TabFooter, nil, false, GameFontNormalSmall)
infotext4:SetPoint("BOTTOMLEFT", rlControlsPanel.frame, "BOTTOMLEFT", 10, 10)
--]]
