Exemplo n.º 1
0
        public OSCPanelComponents(OSCWindow parentWindow) : base(parentWindow)
        {
            foreach (var component in OSCEditorManager.Components)
            {
                var group = _groups.FirstOrDefault(g => g.Name == component.Group);
                if (group == null)
                {
                    group      = new Group();
                    group.Name = component.Group;

                    _groups.Add(group);
                }

                var receiverComponent = component as OSCEditorReceiverComponent;
                if (receiverComponent != null)
                {
                    group.ReceiverComponents.Add(receiverComponent);
                }
                else
                {
                    var transmitterComponent = component as OSCEditorTransmitterComponent;
                    if (transmitterComponent != null)
                    {
                        group.TransmitterComponents.Add(transmitterComponent);
                    }
                }
            }

            _groups.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.Ordinal));
            _groups.ForEach(g =>
            {
                g.ReceiverComponents.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.Ordinal));
                g.TransmitterComponents.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.Ordinal));
            });
        }
Exemplo n.º 2
0
 public OSCPanelConsole(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
 }
Exemplo n.º 3
0
 public OSCSplitPanel(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
 }
Exemplo n.º 4
0
 public OSCPanelControllers(OSCWindow window) : base(window)
 {
     Refresh();
 }
Exemplo n.º 5
0
 public OSCPanelMapping(OSCWindow window, string panelId) : base(window, panelId)
 {
 }
Exemplo n.º 6
0
 public OSCPanelMapping(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
 }
Exemplo n.º 7
0
 public OSCPanelControllers(OSCWindow window, string panelId) : base(window, panelId)
 {
     Refresh();
 }
 public OSCPanelContollers(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
 }
Exemplo n.º 9
0
 public OSCPanelManager(OSCWindow parentWindow) : base(parentWindow)
 {
     _localHost = OSCUtilities.GetLocalHost();
 }
Exemplo n.º 10
0
 public OSCPanel(OSCWindow parentWindow, string panelId)
 {
     _panelId      = panelId;
     _parentWindow = parentWindow;
 }
 public OSCPanelPacketEditor(OSCWindow window) : base(window)
 {
     _packetDrawer = new OSCPacketEditableDrawer();
 }
Exemplo n.º 12
0
 public OSCPanel(OSCWindow window)
 {
     Window = window;
 }
Exemplo n.º 13
0
 public OSCPanelPacket(OSCWindow window) : base(window)
 {
     _packetDrawer = new OSCPacketDrawer();
 }
Exemplo n.º 14
0
 public OSCSplitPanel(OSCWindow window, string panelId) : base(window, panelId)
 {
 }
Exemplo n.º 15
0
 public OSCPanelPacketEditor(OSCWindow window, string panelId) : base(window, panelId)
 {
     _packetDrawer = new OSCPacketEditableDrawer();
 }
Exemplo n.º 16
0
 public OSCPanelPacket(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
 }
Exemplo n.º 17
0
 public OSCPanelControlCreator(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
     _controlCreator = parentWindow as OSCWindowControlCreator;
 }
Exemplo n.º 18
0
 public OSCPanelControlCreator(OSCWindow window, string panelId) : base(window, panelId)
 {
     _controlCreator = window as OSCWindowControlCreator;
 }
Exemplo n.º 19
0
 public OSCPanel(OSCWindow window, string panelId)
 {
     PanelId = panelId;
     Window  = window;
 }
Exemplo n.º 20
0
 public OSCPanelPacket(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
     _packetDrawer = new OSCPacketDrawer();
 }
		public OSCPanelControlCreator(OSCWindow window) : base(window)
		{
			_controlCreator = window as OSCWindowControlCreator;
		}
Exemplo n.º 22
0
 public OSCPanelConsole(OSCWindow parentWindow, string panelId) : base(parentWindow, panelId)
 {
     _filterDrawer = new OSCFilterDrawer();
 }
Exemplo n.º 23
0
 public OSCSplitPanel(OSCWindow window) : base(window)
 {
 }