Go to the source code of this file.
◆ XonoticHUDPressedKeysDialog_fill()
void XonoticHUDPressedKeysDialog_fill |
( |
entity |
me | ) |
|
Definition at line 7 of file dialog_hudpanel_pressedkeys.qc.
References entity(), and makeXonoticTextSlider().
10 string panelname =
"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);
24 me.TD(me, 1, 2.6, e =
makeXonoticSlider(0.2, 4, 0.1,
"hud_panel_pressedkeys_aspect"));
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)
entity makeXonoticTextSlider(string theCvar)