Advertisement
Archeia

Disable Right Click Menu

Feb 19th, 2019
3,077
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ui.UiFactory.layouts.gameLayout = {
  2.     "type": "ui.FreeLayout",
  3.     "frame": [0, 0, Graphics.width, Graphics.height],
  4.     "controls":[
  5.         {
  6.             "type": "ui.MessageBox",
  7.             "visible": no,
  8.             "id": "messageBox",
  9.             "frame": [0, 0, Graphics.width, Graphics.height]
  10.         },
  11.         {
  12.             "type": "ui.MessageBoxNVL",
  13.             "visible": no,
  14.             "id": "nvlMessageBox",
  15.             "frame": [0, 0, Graphics.width, Graphics.height]
  16.         },
  17.         {
  18.             "type": "ui.MessageMenu",
  19.             "visible": no,
  20.             "id": "messageMenu",
  21.             "frame": [0, 0, Graphics.width, Graphics.height]
  22.         },
  23.         {
  24.             "type": "ui.GameMessage",
  25.             "id": "gameMessage",
  26.             "params": { "id": "gameMessage" },
  27.             "frame": [320, Graphics.height - 220]
  28.         },
  29.         {
  30.             "type": "ui.GameMessageNVL",
  31.             "id": "nvlGameMessage",
  32.             "params": { "id": "nvlGameMessage" },
  33.             "frame": [0, 0]
  34.         }
  35.     ]
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement