desc=PA.ACL["Reverse Toggle will enable Cooldown Text on this module when the global setting is disabled and disable them when the global setting is enabled."],
mainArgs.reverse=PA.ACH:Toggle(PA.ACL["Reverse Toggle"],PA.ACL["Reverse Toggle will enable Cooldown Text on this module when the global setting is disabled and disable them when the global setting is enabled."],1,nil,nil,nil,function(info)return(profile(db))[info[#info]]end,function(info,value)(profile(db))[info[#info]]=value;PA:UpdateCooldownSettings(db);end)
mainArgs.hideBlizzard=PA.ACH:Toggle(PA.ACL["Force Hide Blizzard Text"],PA.ACL["This option will force hide Blizzard's cooldown text if it is enabled at [Interface > ActionBars > Show Numbers on Cooldown]."],2,nil,nil,nil,function(info)return(profile(db))[info[#info]]end,function(info,value)(profile(db))[info[#info]]=value;PA:UpdateCooldownSettings(db);end,nil,function()ifdb=='global'thenreturnPA.db.Cooldown.Enableelsereturn(PA.db.Cooldown.Enableandnotprofile(db).reverse)or(notPA.db.Cooldown.Enableandprofile(db).reverse)endend)
seconds.args.checkSeconds=PA.ACH:Toggle(PA.ACL["Enable"],PA.ACL["This will override the global cooldown settings."],1,nil,nil,nil,nil,nil,false)
seconds.args.mmssThreshold=PA.ACH:Range(PA.ACL["MM:SS Threshold"],PA.ACL["Threshold (in seconds) before text is shown in the MM:SS format. Set to -1 to never change to this format."],2,{min=-1,max=10800,step=1})
seconds.args.hhmmThreshold=PA.ACH:Range(PA.ACL["HH:MM Threshold"],PA.ACL["Threshold (in minutes) before text is shown in the HH:MM format. Set to -1 to never change to this format."],3,{min=-1,max=1440,step=1})
colors.args.override=PA.ACH:Toggle(PA.ACL["Enable"],PA.ACL["This will override the global cooldown settings."],1,nil,nil,nil,function(info)return(profile(db))[info[#info]]end,function(info,value)(profile(db))[info[#info]]=value;PA:UpdateCooldownSettings(db);end,false)
colors.args.threshold=PA.ACH:Range(PA.ACL["Low Threshold"],PA.ACL["Threshold before text turns red and is in decimal form. Set to -1 for it to never turn red"],2,{min=-1,max=20,step=1},nil,function(info)return(profile(db))[info[#info]]end,function(info,value)(profile(db))[info[#info]]=value;PA:UpdateCooldownSettings(db);end)