forked from speed-dreams/speed-dreams-code
started adding xml menus
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1804 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 83485001b63921a77b0a07a3e3128c7117010c26 Former-commit-id: a84dd1301a6b696b2200e12ed73f8d2f69eb56ae
This commit is contained in:
parent
32c295c8be
commit
09fc5bc722
1 changed files with 6 additions and 26 deletions
|
@ -173,34 +173,14 @@ ReScreenInit(void)
|
|||
|
||||
reScreenHandle = GfuiScreenCreateEx(bgcolor, 0, reScreenActivate, 0, 0, 0);
|
||||
|
||||
void *param = LoadMenuXML("raceglscreen.xml");
|
||||
CreateStaticControls(param, reScreenHandle);
|
||||
|
||||
reAddKeys();
|
||||
|
||||
reMsgId = GfuiLabelCreateEx(reScreenHandle,
|
||||
"",
|
||||
red,
|
||||
GFUI_FONT_LARGE_C,
|
||||
320,
|
||||
400,
|
||||
GFUI_ALIGN_HC_VB,
|
||||
32);
|
||||
|
||||
rePauseId = GfuiLabelCreateEx(reScreenHandle,
|
||||
"P A U S E",
|
||||
red,
|
||||
GFUI_FONT_BIG_C,
|
||||
320,
|
||||
420,
|
||||
GFUI_ALIGN_HC_VB,
|
||||
0);
|
||||
|
||||
reBigMsgId = GfuiLabelCreateEx(reScreenHandle,
|
||||
"",
|
||||
red,
|
||||
GFUI_FONT_BIG_C,
|
||||
320,
|
||||
360,
|
||||
GFUI_ALIGN_HC_VB,
|
||||
32);
|
||||
reMsgId = CreateLabelControl(reScreenHandle,param,"message");
|
||||
rePauseId = CreateLabelControl(reScreenHandle,param,"pause");
|
||||
reBigMsgId = CreateLabelControl(reScreenHandle,param,"bigmessage");
|
||||
|
||||
GfuiVisibilitySet(reScreenHandle, rePauseId, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue