2 CLASS(XonoticWinnerDialog) EXTENDS(XonoticDialog)
3 METHOD(XonoticWinnerDialog, fill, void(entity))
4 METHOD(XonoticWinnerDialog, focusEnter, void(entity))
5 ATTRIB(XonoticWinnerDialog, title, string, _("Winner"))
6 ATTRIB(XonoticWinnerDialog, color, vector, SKINCOLOR_DIALOG_SINGLEPLAYER)
7 ATTRIB(XonoticWinnerDialog, intendedWidth, float, 0.32)
8 ATTRIB(XonoticWinnerDialog, rows, float, 12)
9 ATTRIB(XonoticWinnerDialog, columns, float, 3)
10 ENDCLASS(XonoticWinnerDialog)
14 void XonoticWinnerDialog_fill(entity me)
19 me.TD(me, me.rows - 2, me.columns, e = makeXonoticImage("/gfx/winner", -1));
21 me.gotoRC(me, me.rows - 1, 0);
22 me.TD(me, 1, me.columns, e = makeXonoticButton(_("OK"), '0 0 0'));
23 e.onClick = Dialog_Close;
26 void XonoticWinnerDialog_focusEnter(entity me)
28 m_play_click_sound(MENU_SOUND_WINNER);