Exemplo n.º 1
0
        //@TODO(bma) #state-manager: This ideally should be created when user enters builder mode.
        //                             Doing this right now will register the toggle and the user will be able
        //                             to open the builder UI.
        public UserInterface()
        {
            var accessor = MapBuilderClient.Accessor;
            var locator  = MapBuilderClient.Locator;

            builderRef = locator.GetServiceReference <Builder>();

            nui = new NuiHelper();
            nui.AddToggle(37, "9", Open, Close);
            nui.AddCallback("Browser_OnObjectChanged", Browser_OnObjectChanged);
        }
Exemplo n.º 2
0
 public UserInterface()
 {
     nui = new NuiHelper();
 }