7 #include "../item/checkbox.qh" 18 me.configureDialog(me);
25 cmd(
"\ndefer 0.2 \"togglemenu 1\"\n");
36 me.TD(me, me.rows - 3, 3, kb);
37 me.gotoRC(me, me.rows - 2, 0);
45 kb.userbindEditButton = e;
46 kb.userbindEditDialog =
main.userbindEditDialog;
47 main.userbindEditDialog.keybindBox = kb;
55 e.onClickEntity =
main.bindingsResetDialog;
57 me.gotoRC(me, 0, 3.2); me.setFirstColumn(me, me.currentColumn);
62 _(
"Mouse speed multiplier")));
65 _(
"Smoothes the mouse movement, but makes aiming slightly less responsive")));
68 _(
"Invert mouse movement on the Y-axis")));
70 me.TD(me, 1, 3, e =
makeXonoticCheckBox_T(0,
"menu_mouse_absolute", _(
"Use system mouse positioning"),
"-"));
75 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"m_accelerate", _(
"Enable built in mouse acceleration")));
80 _(
"Make use of DGA mouse input")));
83 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"apple_mouse_noaccel", _(
"Disable system mouse acceleration")));
94 me.TD(me, 1, 3, e =
makeXonoticCheckBox_T(0,
"con_closeontoggleconsole", _(
"Pressing \"enter console\" key also closes it"),
95 _(
"Allow the console toggling bind to also close the console")));
97 me.TD(me, 1, 3, e =
makeXonoticCheckBox(1,
"cl_movement_track_canjump", _(
"Automatically repeat jumping if holding jump")));
102 e.addValue(e,
ZCTX(_(
"JPJUMP^Disabled")),
"0");
103 e.addValue(e, _(
"Air only"),
"1");
104 e.addValue(e,
ZCTX(_(
"JPJUMP^All")),
"2");
105 e.configureXonoticTextSliderValues(e);
void KeyBinder_Bind_Edit(entity btn, entity me)
entity makeXonoticHeaderLabel(string theText)
void DialogOpenButton_Click(entity button, entity tab)
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticSlider_T(float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip)
entity makeXonoticCheckBox_T(float isInverted, string theCvar, string theText, string theTooltip)
void CheckBox_Click(entity me, entity other)
entity makeXonoticKeyBinder()
float CVAR_TYPEFLAG_ENGINE
entity makeXonoticTextSlider(string theCvar)
void KeyBinder_Bind_Clear(entity btn, entity me)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
void KeyBinder_Bind_Change(entity btn, entity me)