2 CLASS(VoretWinnerDialog) EXTENDS(VoretDialog)
\r
3 METHOD(VoretWinnerDialog, fill, void(entity))
\r
4 ATTRIB(VoretWinnerDialog, title, string, "Winner")
\r
5 ATTRIB(VoretWinnerDialog, color, vector, SKINCOLOR_DIALOG_SINGLEPLAYER)
\r
6 ATTRIB(VoretWinnerDialog, intendedWidth, float, 0.54)
\r
7 ATTRIB(VoretWinnerDialog, rows, float, 14)
\r
8 ATTRIB(VoretWinnerDialog, columns, float, 3)
\r
9 ENDCLASS(VoretWinnerDialog)
\r
12 #ifdef IMPLEMENTATION
\r
13 void fillVoretWinnerDialog(entity me)
\r
18 // this message must be sensitive for all possible campaigns!
\r
19 me.TD(me, 1, 1, e = makeVoretTextLabel(0, "And so it all ends, with one squeeze of the warm fleshy stomach."));
\r
21 me.TD(me, me.rows, me.columns, e = makeVoretImage("/gfx/winner", -1));
\r
23 me.gotoRC(me, me.rows - 1, 0);
\r
24 me.TD(me, 1, me.columns, e = makeVoretButton("OK", '0 0 0'));
\r
25 e.onClick = Dialog_Close;
\r
26 e.onClickEntity = me;
\r