PitBull Unit Frames 4.0

API / Options

  • 4 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
LayoutEditor Apr 26, 2016
Bars ckknight ckknight Apr 26, 2016
Texts ckknight ckknight Apr 26, 2016
Modules ckknight ckknight Apr 26, 2016
Module:SetGlobalOptionsFunction(func) Set the function to be called that will return a tuple of key-value pairs that will be merged onto the options table for the module options. Parameters func function to call Usage MyModule:SetGlobalOptionsFunction(function(self) return 'someOption', { name = "Some option", } -- etc end)
ConfigMode ckknight ckknight Apr 26, 2016
PitBull4:GetConfigModeValues() Return the select values dictionary used by PitBull4 to choose config mode. Return value an AceConfig-3.0-compliant select values dictionary. Usage local values = PitBull4:GetConfigModeValues() PitBull4:IsInConfigMode() Return whether PitBull4 is in config mode, and if so, what type. Return value nil meaning disabled or one of the keys from PitBull4:GetConfigModeValues() (except "disabled") Usage local config_mode = PitBull4:IsInConfigMode()...
Colors ckknight ckknight Apr 26, 2016
Module:SetColorOptionsFunction(func) Set the function to be called that will return a tuple of key-value pairs that will cause an options table show in the colors section. The last return must be a function that resets all colors. Parameters func function to call Usage MyModule:SetColorOptionsFunction(function(self) return 'someOption', { name = "Some option", }, -- etc function(info) -- reset all colors end end)
  • 4 pages found