// to be customized
ATTRIB(Dialog, closable, float, 1);
ATTRIB(Dialog, title, string, "Form1");
+ ATTRIB(Dialog, name, string, ""); // if set to a string without spaces this dialog can be opened via menu_cmd directmenu
ATTRIB(Dialog, color, vector, '1 0.5 1');
ATTRIB(Dialog, intendedWidth, float, 0);
ATTRIB(Dialog, rows, float, 3);
ATTRIB(XonoticBindingsResetDialog, intendedWidth, float, 0.5);
ATTRIB(XonoticBindingsResetDialog, rows, float, 3);
ATTRIB(XonoticBindingsResetDialog, columns, float, 2);
- ATTRIB(XonoticBindingsResetDialog, name, string, "Reset key bindings");
ENDCLASS(XonoticBindingsResetDialog)
ATTRIB(XonoticResetDialog, intendedWidth, float, 0.5);
ATTRIB(XonoticResetDialog, rows, float, 4);
ATTRIB(XonoticResetDialog, columns, float, 2);
- ATTRIB(XonoticResetDialog, name, string, "Factory reset");
ENDCLASS(XonoticResetDialog)