GB_Bar_OnUpdate();
GB_Bar_OnEvent(event);
if (GB_INITIALIZED and (not GB_Settings[GB_INDEX].barsLocked)) then
GB_StopMoving();
end
if (GB_INITIALIZED) then
for i=1, 20 do
GB_ActionButton_CheckAllContexts(getglobal(this:GetName().."_Button_"..i));
end
GB_Set_Layout(this.index, this:GetName());
end
GB_Bar_OnUpdate();
GB_Bar_OnEvent(event);
if (GB_INITIALIZED and (not GB_Settings[GB_INDEX].barsLocked)) then
GB_StopMoving();
end
if (GB_INITIALIZED) then
for i=1, 6 do
GB_ActionButton_CheckAllContexts(getglobal(this:GetName().."_Button_"..i));
end
GB_Set_Layout(this.index, this:GetName());
end