Files
2026-06-10 16:12:51 +02:00

27 lines
710 B
Plaintext

<rml>
<head>
<title>Quit?</title>
<link type="text/template" href="window.rml" />
<style>
body
{
width: 350dp;
height: 135dp;
margin: auto;
}
div#title_bar div#icon
{
decorator: image( icon-flag );
}
</style>
</head>
<body template="luawindow" onload="Window.OnWindowLoad(document) Game.SetPaused(true)" onunload="Game.SetPaused(false)" onkeydown="if Window.EscapePressed(event) then document:Close() end">
<br />
<p>Are you sure you want to end this game?</p>
<button onclick="Window.LoadMenu('high_score',document) document.context.documents['game_window']:Close()" autofocus>Yes</button>
<button onclick="document:Close()">No!</button>
</body>
</rml>