1 #include "dialog_hudpanel_pressedkeys.qh"
3 #include "textslider.qh"
5 #include "textlabel.qh"
7 void XonoticHUDPressedKeysDialog_fill(entity me)
10 string panelname = "pressedkeys";
13 me.TD(me, 1, 4, e = makeXonoticTextSlider("hud_panel_pressedkeys"));
14 e.addValue(e, (_("Disable")), "0");
15 e.addValue(e, (_("Enable spectating")), "1");
16 e.addValue(e, (_("Always enable")), "2");
17 e.configureXonoticTextSliderValues(e);
19 dialog_hudpanel_main_settings(me, panelname);
23 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, _("Forced aspect:")));
24 me.TD(me, 1, 2.6, e = makeXonoticSlider(0.2, 4, 0.1, "hud_panel_pressedkeys_aspect"));