Go to the source code of this file.
◆ XonoticHUDHealthArmorDialog_fill()
| void XonoticHUDHealthArmorDialog_fill |
( |
entity | me | ) |
|
Definition at line 8 of file dialog_hudpanel_healtharmor.qc.
9{
11 string panelname = "healtharmor";
12
14
16
17 me.TR(me);
18 me.TD(me, 1, 4, e =
makeXonoticCheckBox(0,
"hud_panel_healtharmor_combined", _(
"Combine health and armor")));
19 me.TR(me);
20 me.TD(me, 1, 4, e =
makeXonoticCheckBox(0,
"hud_panel_healtharmor_flip", _(
"Flip health and armor positions")));
22
23 me.TR(me);
24 me.TD(me, 1, 4, e =
makeXonoticCheckBox(0,
"hud_panel_healtharmor_progressbar", _(
"Enable status bar")));
25 me.TR(me);
26 me.TDempty(me, 0.2);
28 setDependent(e,
"hud_panel_healtharmor_progressbar", 1, 1);
29 me.TR(me);
30 me.TDempty(me, 0.4);
32 setDependent(e,
"hud_panel_healtharmor_progressbar", 1, 1);
34 setDependent(e,
"hud_panel_healtharmor_progressbar", 1, 1);
36 setDependent(e,
"hud_panel_healtharmor_progressbar", 1, 1);
38 setDependent(e,
"hud_panel_healtharmor_progressbar", 1, 1);
39
40 me.TR(me);
42 me.TR(me);
43 me.TDempty(me, 0.2);
48}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
References dialog_hudpanel_main_checkbox(), dialog_hudpanel_main_settings(), entity(), makeXonoticCheckBox(), makeXonoticRadioButton(), makeXonoticTextLabel(), and setDependent().