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, _("Panel disabled"), "0");
15 e.addValue(e, _("Panel enabled when spectating"), "1");
16 e.addValue(e, _("Panel always enabled"), "2");
17 e.configureXonoticTextSliderValues(e);
19 DIALOG_HUDPANEL_COMMON_NOTOGGLE();
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"));