Add close button to mission dialog
This commit is contained in:
parent
1ade5e6c38
commit
c6dc19d842
|
@ -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
|
||||
}
|
||||
]
|
||||
|
|
|
@ -129,6 +129,7 @@ void initGalacticMap(void)
|
|||
|
||||
initBackground();
|
||||
|
||||
getWidget("close", "starSystem")->action = resume;
|
||||
startMissionButton = getWidget("startMission", "starSystem");
|
||||
startMissionButton->action = startMission;
|
||||
|
||||
|
|
Loading…
Reference in New Issue