1 #include "dialog_hudpanel_powerups.qh"
4 #include "textlabel.qh"
5 #include "radiobutton.qh"
7 void XonoticHUDPowerupsDialog_fill(entity me)
10 string panelname = "powerups";
12 DIALOG_HUDPANEL_COMMON();
15 me.TD(me, 1, 4, e = makeXonoticCheckBox(0, "hud_panel_powerups_progressbar", _("Enable status bar")));
17 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Status bar alignment:")));
18 setDependent(e, "hud_panel_powerups_progressbar", 1, 1);
21 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_powerups_baralign", "0", _("Left")));
22 setDependent(e, "hud_panel_powerups_progressbar", 1, 1);
23 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_powerups_baralign", "1", _("Right")));
24 setDependent(e, "hud_panel_powerups_progressbar", 1, 1);
25 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_powerups_baralign", "2", _("Inward")));
26 setDependent(e, "hud_panel_powerups_progressbar", 1, 1);
27 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(2, "hud_panel_powerups_baralign", "3", _("Outward")));
28 setDependent(e, "hud_panel_powerups_progressbar", 1, 1);
30 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Icon alignment:")));
33 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_powerups_iconalign", "0", _("Left")));
34 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_powerups_iconalign", "1", _("Right")));
35 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_powerups_iconalign", "2", _("Inward")));
36 me.TD(me, 1, 0.95, e = makeXonoticRadioButton(3, "hud_panel_powerups_iconalign", "3", _("Outward")));