# _BB_HPBorderWidth
Flags —
Function
|Internal
# Arguments
int
— BarID
Returns — int
int libNtve_gf__BB_HPBorderWidth(int lp_barID);
# Related
Category: UI / Boss Bar / Internal
- _BB_PortraitBorderWidth —
int
— libNtve_gf__BB_PortraitBorderWidth - _BB_PortraitBorderHeight —
int
— libNtve_gf__BB_PortraitBorderHeight - _BB_PortraitWidth —
int
— libNtve_gf__BB_PortraitWidth - _BB_PortraitHeight —
int
— libNtve_gf__BB_PortraitHeight - _BB_TitleBarWidth —
int
— libNtve_gf__BB_TitleBarWidth - _BB_TitleBarHeight —
int
— libNtve_gf__BB_TitleBarHeight - _BB_HPBorderWidth —
int
— libNtve_gf__BB_HPBorderWidth - _BB_HPBorderHeight —
int
— libNtve_gf__BB_HPBorderHeight - _BB_HPBarWidth —
int
— libNtve_gf__BB_HPBarWidth - _BB_HPBarHeight —
int
— libNtve_gf__BB_HPBarHeight - _BB_HPBarCurrentWidth —
int
— libNtve_gf__BB_HPBarCurrentWidth - _BB_HPBarFormatLabel —
text
— libNtve_gf__BB_HPBarFormatLabel - _BB_HPBarChange —
void
— libNtve_gf__BB_HPBarChange
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4651
// Automatic Variable Declarations
// Implementation
return FixedToInt((IntToFixed(libNtve_gf__BB_HPBorderWidth(lp_barID)) - 10.0));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4941
DialogControlSetSize(libNtve_gv__BB_TitleLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_TitleBarWidth(lp_bossBarID), libNtve_gf__BB_TitleBarHeight(lp_bossBarID));
DialogControlSetPositionRelative(libNtve_gv__BB_TitleLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorTopLeft, libNtve_gv__BB_PortraitImage[lp_bossBarID], c_anchorTopRight, 0, 0);
DialogControlSetSize(libNtve_gv__BB_HpBorderImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_HPBorderWidth(lp_bossBarID), libNtve_gf__BB_HPBorderHeight(lp_bossBarID));
DialogControlSetPositionRelative(libNtve_gv__BB_HpBorderImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorTop, libNtve_gv__BB_TitleLabel[lp_bossBarID], c_anchorBottom, 0, -12);
libNtve_gf_SetDialogItemText(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gf__BB_HPBarFormatLabel(lp_bossBarID), PlayerGroupAll());
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4944
DialogControlSetPositionRelative(libNtve_gv__BB_HpBorderImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorTop, libNtve_gv__BB_TitleLabel[lp_bossBarID], c_anchorBottom, 0, -12);
libNtve_gf_SetDialogItemText(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gf__BB_HPBarFormatLabel(lp_bossBarID), PlayerGroupAll());
DialogControlSetSize(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_HPBorderWidth(lp_bossBarID), libNtve_gf__BB_HPBorderHeight(lp_bossBarID));
DialogControlSetPositionRelative(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorCenter, libNtve_gv__BB_HpBorderImage[lp_bossBarID], c_anchorCenter, 0, 1);
DialogControlSetSize(libNtve_gv__BB_HpFullImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_HPBarWidth(lp_bossBarID), libNtve_gf__BB_HPBarHeight(lp_bossBarID));
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3896
// Automatic Variable Declarations
// Implementation
return FixedToInt((IntToFixed(libNtve_gf__BB_HPBorderWidth(lp_barID)) - 10.0));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4186
DialogControlSetSize(libNtve_gv__BB_TitleLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_TitleBarWidth(lp_bossBarID), libNtve_gf__BB_TitleBarHeight(lp_bossBarID));
DialogControlSetPositionRelative(libNtve_gv__BB_TitleLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorTopLeft, libNtve_gv__BB_PortraitImage[lp_bossBarID], c_anchorTopRight, 0, 0);
DialogControlSetSize(libNtve_gv__BB_HpBorderImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_HPBorderWidth(lp_bossBarID), libNtve_gf__BB_HPBorderHeight(lp_bossBarID));
DialogControlSetPositionRelative(libNtve_gv__BB_HpBorderImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorTop, libNtve_gv__BB_TitleLabel[lp_bossBarID], c_anchorBottom, 0, -12);
libNtve_gf_SetDialogItemText(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gf__BB_HPBarFormatLabel(lp_bossBarID), PlayerGroupAll());
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4189
DialogControlSetPositionRelative(libNtve_gv__BB_HpBorderImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorTop, libNtve_gv__BB_TitleLabel[lp_bossBarID], c_anchorBottom, 0, -12);
libNtve_gf_SetDialogItemText(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gf__BB_HPBarFormatLabel(lp_bossBarID), PlayerGroupAll());
DialogControlSetSize(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_HPBorderWidth(lp_bossBarID), libNtve_gf__BB_HPBorderHeight(lp_bossBarID));
DialogControlSetPositionRelative(libNtve_gv__BB_HpLabel[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], c_anchorCenter, libNtve_gv__BB_HpBorderImage[lp_bossBarID], c_anchorCenter, 0, 1);
DialogControlSetSize(libNtve_gv__BB_HpFullImage[lp_bossBarID], libNtve_gv__BB_Players[lp_bossBarID], libNtve_gf__BB_HPBarWidth(lp_bossBarID), libNtve_gf__BB_HPBarHeight(lp_bossBarID));