1 #include "dialog_hudpanel_healtharmor.qh"
3 #include "textlabel.qh"
5 #include "radiobutton.qh"
7 void XonoticHUDHealthArmorDialog_fill(entity me)
10 string panelname = "healtharmor";
12 DIALOG_HUDPANEL_COMMON();
15 me.TD(me, 1, 4, e = makeXonoticCheckBox(0, "hud_panel_healtharmor_combined", _("Combine health and armor")));
17 me.TD(me, 1, 4, e = makeXonoticCheckBox(0, "hud_panel_healtharmor_progressbar", _("Enable status bar")));
19 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Status bar alignment:")));
20 setDependent(e, "hud_panel_healtharmor_progressbar", 1, 1);
23 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_healtharmor_baralign", "0", _("Left")));
24 setDependent(e, "hud_panel_healtharmor_progressbar", 1, 1);
25 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_healtharmor_baralign", "1", _("Right")));
26 setDependent(e, "hud_panel_healtharmor_progressbar", 1, 1);
27 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_healtharmor_baralign", "2", _("Inward")));
28 setDependent(e, "hud_panel_healtharmor_progressbar", 1, 1);
29 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_healtharmor_baralign", "3", _("Outward")));
30 setDependent(e, "hud_panel_healtharmor_progressbar", 1, 1);
32 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Icon alignment:")));
35 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_healtharmor_iconalign", "0", _("Left")));
36 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_healtharmor_iconalign", "1", _("Right")));
37 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_healtharmor_iconalign", "2", _("Inward")));
38 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_healtharmor_iconalign", "3", _("Outward")));
40 me.TD(me, 1, 4, e = makeXonoticCheckBox(0, "hud_panel_healtharmor_flip", _("Flip health and armor positions")));