Xonotic
dialog_singleplayer_winner.qc
Go to the documentation of this file.
2 
3 #include "image.qh"
4 #include "button.qh"
5 
7 {
8  entity e;
9 
10  me.TR(me);
11  me.TD(me, me.rows - 2, me.columns, e = makeXonoticImage("/gfx/winner", -1));
12 
13  me.gotoRC(me, me.rows - 1, 0);
14  me.TD(me, 1, me.columns, e = makeXonoticButton(_("OK"), '0 0 0'));
15  e.onClick = Dialog_Close;
16  e.onClickEntity = me;
17 }
19 {
21 }
void XonoticWinnerDialog_focusEnter(entity me)
entity() spawn
void XonoticWinnerDialog_fill(entity me)
entity makeXonoticImage(string theImage, float theAspect)
Definition: image.qc:3