]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_settings_input_userbind.qc
take3: format 903 files
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_settings_input_userbind.qc
index d8d5e7e18d3ef8aede3cfb5750a12722f39357ad..83d3db04dcedbb5dfa90b90e4a7d655b97cc811a 100644 (file)
@@ -14,30 +14,30 @@ void XonoticUserbindEditDialog_Save(entity btn, entity me)
 void XonoticUserbindEditDialog_loadUserBind(entity me, string theName, string theCommandPress, string theCommandRelease)
 {
        me.nameBox.setText(me.nameBox, theName);
-               me.nameBox.keyDown(me.nameBox, K_END, 0, 0);
+       me.nameBox.keyDown(me.nameBox, K_END, 0, 0);
        me.commandPressBox.setText(me.commandPressBox, theCommandPress);
-               me.nameBox.keyDown(me.commandPressBox, K_END, 0, 0);
+       me.nameBox.keyDown(me.commandPressBox, K_END, 0, 0);
        me.commandReleaseBox.setText(me.commandReleaseBox, theCommandRelease);
-               me.nameBox.keyDown(me.commandReleaseBox, K_END, 0, 0);
+       me.nameBox.keyDown(me.commandReleaseBox, K_END, 0, 0);
 }
 
 void XonoticUserbindEditDialog_fill(entity me)
 {
        entity e;
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Name:")));
-               me.TD(me, 1, me.columns - 1, me.nameBox = makeXonoticInputBox(0, string_null));
+       me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Name:")));
+       me.TD(me, 1, me.columns - 1, me.nameBox = makeXonoticInputBox(0, string_null));
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Command when pressed:")));
-               me.TD(me, 1, me.columns - 1, me.commandPressBox = makeXonoticInputBox(0, string_null));
+       me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Command when pressed:")));
+       me.TD(me, 1, me.columns - 1, me.commandPressBox = makeXonoticInputBox(0, string_null));
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Command when released:")));
-               me.TD(me, 1, me.columns - 1, me.commandReleaseBox = makeXonoticInputBox(0, string_null));
+       me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Command when released:")));
+       me.TD(me, 1, me.columns - 1, me.commandReleaseBox = makeXonoticInputBox(0, string_null));
        me.TR(me);
-               me.TD(me, 1, me.columns / 2, e = makeXonoticButton(_("Save"), '0 0 0'));
-                       e.onClick = XonoticUserbindEditDialog_Save;
-                       e.onClickEntity = me;
-               me.TD(me, 1, me.columns / 2, e = makeXonoticButton(_("Cancel"), '0 0 0'));
-                       e.onClick = Dialog_Close;
-                       e.onClickEntity = me;
+       me.TD(me, 1, me.columns / 2, e = makeXonoticButton(_("Save"), '0 0 0'));
+       e.onClick = XonoticUserbindEditDialog_Save;
+       e.onClickEntity = me;
+       me.TD(me, 1, me.columns / 2, e = makeXonoticButton(_("Cancel"), '0 0 0'));
+       e.onClick = Dialog_Close;
+       e.onClickEntity = me;
 }