Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ui.UiFactory.layouts.gameLayout = {
- "type": "ui.FreeLayout",
- "frame": [0, 0, Graphics.width, Graphics.height],
- "controls":[
- {
- "type": "ui.Panel",
- "frame": [0, 0, Graphics.width, Graphics.height],
- "updateBehavior": "continuous",
- "formulas": [$ -> o.ui.enabled = $dataFields.tempSettings.menuAccess],
- "action": {
- "event": "onCancel",
- "name": "switchLayout",
- "params": { "name": "saveMenuLayout", "savePrevious": true }
- }
- },
- {
- "type": "ui.MessageBox",
- "visible": no,
- "id": "messageBox",
- "frame": [0, 0, Graphics.width, Graphics.height]
- },
- {
- "type": "ui.MessageBoxNVL",
- "visible": no,
- "id": "nvlMessageBox",
- "frame": [0, 0, Graphics.width, Graphics.height]
- },
- {
- "type": "ui.MessageMenu",
- "visible": no,
- "id": "messageMenu",
- "frame": [0, 0, Graphics.width, Graphics.height]
- },
- {
- "type": "ui.GameMessage",
- "id": "gameMessage",
- "params": { "id": "gameMessage" },
- "frame": [320, Graphics.height - 220]
- },
- {
- "type": "ui.GameMessageNVL",
- "id": "nvlGameMessage",
- "params": { "id": "nvlGameMessage" },
- "frame": [0, 0]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement