1 #include "dialog_settings_bindings_reset.qh"
3 #include "textlabel.qh"
4 #include "commandbutton.qh"
6 #include "keybinder.qh"
8 void XonoticBindingsResetDialog_fill(entity me)
12 me.TD(me, 1, 2, makeXonoticTextLabel(0.5, _("Are you sure you want to reset all keybindings?")));
15 me.TD(me, 1, 1, e = makeXonoticButton(_("Yes"), '1 0 0'));
16 e.onClick = KeyBinder_Bind_Reset_All;
18 me.TD(me, 1, 1, e = makeXonoticButton(_("No"), '0 1 0'));
19 e.onClick = Dialog_Close;