Example #1
0
 public SettingsDialogData([CanBeNull] SettingsConfiguration config = null)
 {
     panel = DialogPanelManager.GetPanelByType <SettingsDialogContents>(DialogPanelType.Settings);
     if (config != null)
     {
         SettingsManager.Config = config;
     }
 }
Example #2
0
 public MarkerDialogData()
 {
     panel = DialogPanelManager.GetPanelByType <MarkerDialogContents>(DialogPanelType.Marker);
 }
Example #3
0
 public ConsoleDialogData()
 {
     dialog = DialogPanelManager.GetPanelByType <ConsoleDialogContents>(DialogPanelType.Console);
     ConnectionManager.LogMessageArrived += HandleMessage;
     Logger.LogExternal += HandleMessage;
 }
Example #4
0
 public ARMarkerDialogData()
 {
     panel = DialogPanelManager.GetPanelByType <ARMarkerDialogContents>(DialogPanelType.ARMarkers);
     ARController.ARStateChanged += OnARStateChanged;
 }
Example #5
0
 public AddTopicDialogData()
 {
     panel = DialogPanelManager.GetPanelByType <AddTopicDialogContents>(DialogPanelType.AddTopic);
     panel.ShowAll.Value = false;
 }
Example #6
0
 public SystemDialogData()
 {
     panel = DialogPanelManager.GetPanelByType <SystemDialogContents>(DialogPanelType.System);
 }
Example #7
0
 public TfDialogData()
 {
     panel = DialogPanelManager.GetPanelByType <TfDialogContents>(DialogPanelType.Tf);
 }
Example #8
0
 public LoadConfigDialogData()
 {
     itemList            = DialogPanelManager.GetPanelByType <ItemListDialogContents>(DialogPanelType.Load);
     itemList.ButtonType = Resource.Widgets.ItemButtonWithDelete;
 }
Example #9
0
 public NetworkDialogData()
 {
     panel = DialogPanelManager.GetPanelByType <NetworkDialogContents>(DialogPanelType.Network);
 }
Example #10
0
 public SaveConfigDialogData()
 {
     panel            = DialogPanelManager.GetPanelByType <SaveConfigDialogContents>(DialogPanelType.SaveAs);
     panel.ButtonType = Resource.Widgets.ItemButtonWithDelete;
 }