Exemple #1
0
 public GuiModule()
 {
     view = new OSCGui_Forms.OscGuiView();
     view.OscTree.Endpoints.Add(new OscTree.Endpoint("Activate", (args) =>
     {
         Activate();
     },
                                                     typeof(object)
                                                     ));
     Global.OscLocal.Add(view.OscTree);
 }
Exemple #2
0
 public static void SetClientGui(OSCGui_Forms.OscGuiView view)
 {
     if (CurrentPage is Pages.Performer)
     {
         Device.BeginInvokeOnMainThread(() =>
         {
             (CurrentPage as Pages.Performer).SetView(view);
         });
     }
     else
     {
         Device.BeginInvokeOnMainThread(() =>
         {
             var page = new Pages.Performer(view);
             CurrentPage.Navigation.PushAsync(page);
             CurrentPage = page;
         });
     }
 }
Exemple #3
0
 public void SetView(OSCGui_Forms.OscGuiView view)
 {
     Content = view;
 }
Exemple #4
0
 public Performer(OSCGui_Forms.OscGuiView view)
 {
     InitializeComponent();
     NavigationPage.SetHasNavigationBar(this, false);
     Content = view;
 }