pause.rml 638 B

123456789101112131415161718192021222324252627
  1. <rml>
  2. <head>
  3. <title>Quit?</title>
  4. <link type="text/template" href="window.rml" />
  5. <style>
  6. body
  7. {
  8. width: 350px;
  9. height: 135px;
  10. margin: auto;
  11. }
  12. div#title_bar div#icon
  13. {
  14. icon-image-s: 332px 383px;
  15. icon-image-t: 191px 231px;
  16. }
  17. </style>
  18. </head>
  19. <body template="pywindow" onload="OnWindowLoad(self); game.SetPaused(True)" onunload="game.SetPaused(False)">
  20. <br />
  21. <p>Are you sure you want to end this game?</p>
  22. <button onclick="LoadMenu('high_score');document.context.documents['game_window'].Close()">Yes</button>
  23. <button onclick="document.Close()">No!</button>
  24. </body>
  25. </rml>