Merge pull request #24 from cxong/easy-mode

Add close button to mission dialog
This commit is contained in:
Stephen J Sweeney 2017-05-20 07:31:07 +01:00 committed by GitHub
commit c967eb24f7
2 changed files with 11 additions and 0 deletions

View File

@ -8,5 +8,15 @@
"y" : 635,
"w" : 280,
"h": 34
},
{
"name" : "close",
"group" : "starSystem",
"type" : "WT_BUTTON",
"text" : "X",
"x" : 1060,
"y" : 98,
"w" : 34,
"h": 34
}
]

View File

@ -129,6 +129,7 @@ void initGalacticMap(void)
initBackground();
getWidget("close", "starSystem")->action = resume;
startMissionButton = getWidget("startMission", "starSystem");
startMissionButton->action = startMission;