PitBull Unit Frames 4.0

API

  • 10 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
ModuleHandling/ Sep 16, 2013
BarModules ckknight ckknight Sep 16, 2013
CustomModule ckknight ckknight Sep 16, 2013
CustomTextModule ckknight ckknight Sep 16, 2013
FaderModule ckknight ckknight Sep 16, 2013
IndicatorModule ckknight ckknight Sep 16, 2013
Module ckknight ckknight Sep 16, 2013
TextProviderModule ckknight ckknight Sep 16, 2013
UnitFrameLayout ckknight ckknight Sep 16, 2013
UnitFrame:UpdateLayout(should_update_texts) Reposition all controls on the Unit Frame Parameters should_update_texts whether :Update should be called for the frame on text modules Usage frame:UpdateLayout() calculate_width_height_points(layout, center_bars, left_bars, right_bars) Calculate the sizing points for the various bars given. Parameters layout the name of the layout center_bars a list of bar-like elements where side = 'center' left_bars a list of bar-like elements where side = 'left'...
libs/ Sep 16, 2013
SimpleSticky ckknight ckknight Sep 16, 2013
Modules/ Sep 16, 2013
Aura/ Sep 16, 2013
Filter ckknight ckknight Sep 16, 2013
FilterEditor ckknight ckknight Sep 16, 2013
FilterTypes ckknight ckknight Sep 16, 2013
Update ckknight ckknight Sep 16, 2013
Totems/ Sep 16, 2013
Totems ckknight ckknight Sep 16, 2013
Main ckknight ckknight Sep 16, 2013
PitBull4.del(t) Delete a table, clearing it and putting it back into the queue Parameters t Return value nil Usage local t = PitBull4.new() t = del(t) PitBull4.new() Return a table Return value a blank table Usage local t = PitBull4.new() PitBull4:CallMethodOnModules(method_name, ...) Call a given method on all modules if those modules have the method. This will iterate over disabled modules. Parameters method_name name of the method ... arguments that will pass in to the module...
Options/ Sep 16, 2013
Colors ckknight ckknight Sep 16, 2013
ConfigMode ckknight ckknight Sep 16, 2013
LayoutEditor Sep 16, 2013
Bars ckknight ckknight Sep 16, 2013
Texts ckknight ckknight Sep 16, 2013
Modules ckknight ckknight Sep 16, 2013
Controls/ Sep 16, 2013
BetterStatusBar ckknight ckknight Sep 16, 2013
Controls ckknight ckknight Sep 16, 2013
Utils ckknight ckknight Sep 16, 2013
PitBull4.Utils.BetterUnitClassification(unit) Return the unit classification of the given unit. This acts like UnitClassification(unit), but returns "worldboss" for bosses that match LibBossIDs-1.0 Parameters unit The unit to check the classification of. Return value one of "worldboss", "elite", "rareelite", "rare", or "normal" PitBull4.Utils.ConvertMethodToFunction(namespace, func_name) Leave a function as-is or if a string is passed in, convert it to a namespace-method function call....
UnitFrame ckknight ckknight Sep 16, 2013
PitBull4:ConvertIntoUnitFrame(frame, isExampleFrame) Add the proper functions and scripts to a SecureUnitButton, as well as some various initialization. Parameters frame a Button which inherits from SecureUnitButton isExampleFrame whether the button is an example frame, thus not a real unit frame Usage PitBull4:ConvertIntoUnitFrame(frame) PitBull4:MakeSingletonFrame(unit) Make a singleton unit frame. Parameters unit the UnitID of the frame in question Usage local frame =...
GroupHeader ckknight ckknight Sep 16, 2013
GroupHeader:ForceUnitFrameCreation() Force unit frames to be created on the group header, even if those units don't exist. Usage header:ForceUnitFrameCreation() GroupHeader:InitialConfigFunction(frame) Initialize a member frame. This should be called once per member frame immediately following the frame's creation. Parameters frame Usage header:InitializeConfigFunction(frame) GroupHeader:RefixSizeAndPosition() Reset the size and position of the group header. More accurately, the scale and the...
  • 10 pages found