Esempio n. 1
0
        public GuiDialogWorldMap(OnViewChangedDelegate viewChanged, ICoreClientAPI capi) : base("", capi)
        {
            this.viewChanged = viewChanged;
            fullDialog       = ComposeDialog(EnumDialogType.Dialog);
            hudDialog        = ComposeDialog(EnumDialogType.HUD);

            capi.RegisterCommand("worldmapsize", "Set the size of the world map dialog", "width height", onCmdMapSize);
        }
 public GuiDialogWorldMap(OnViewChangedDelegate viewChanged, ICoreClientAPI capi) : base("", capi)
 {
     this.viewChanged = viewChanged;
     ComposeDialog();
 }