2 CLASS(XonoticCrosshairDialog) EXTENDS(XonoticDialog)
3 METHOD(XonoticCrosshairDialog, toString, string(entity))
4 METHOD(XonoticCrosshairDialog, fill, void(entity))
5 METHOD(XonoticCrosshairDialog, showNotify, void(entity))
6 ATTRIB(XonoticCrosshairDialog, title, string, _("Crosshair settings"))
7 ATTRIB(XonoticCrosshairDialog, color, vector, SKINCOLOR_DIALOG_CROSSHAIR)
8 ATTRIB(XonoticCrosshairDialog, intendedWidth, float, 0.5)
9 ATTRIB(XonoticCrosshairDialog, rows, float, 12)
10 ATTRIB(XonoticCrosshairDialog, columns, float, 3)
11 ENDCLASS(XonoticCrosshairDialog)
15 void XonoticCrosshairDialog_showNotify(entity me)
19 string XonoticCrosshairDialog_toString(entity me)
21 return "hi"; // TODO: show status of crosshair dot and hittest and pickups and such here with text
23 void XonoticCrosshairDialog_fill(entity me)
29 me.gotoRC(me, me.rows - 1, 0);
30 me.TD(me, 1, me.columns, e = makeXonoticButton(_("OK"), '0 0 0'));
31 e.onClick = Dialog_Close;