mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
@@ -2,7 +2,7 @@
|
||||
* Currently limited to at most 3 buttons per message box.
|
||||
* The convention is to have "cancel" appear first.
|
||||
*/
|
||||
function init(data)
|
||||
export function init(data)
|
||||
{
|
||||
// Set title
|
||||
Engine.GetGUIObjectByName("mbTitleBar").caption = data.title;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<objects>
|
||||
|
||||
<script directory="gui/common/"/>
|
||||
<script directory="gui/msgbox/"/>
|
||||
<script module="gui/msgbox/msgbox.js"/>
|
||||
|
||||
<!-- Fade out the background because it's non-interactable -->
|
||||
<object sprite="ModernFade" type="image"/>
|
||||
|
||||
Reference in New Issue
Block a user