예제 #1
0
        public static SignalReceiverHeader CreateHeader(MultiColumnHeaderState state, int columnHeight)
        {
            var header = new SignalReceiverHeader(state)
            {
                height = columnHeight
            };

            header.ResizeToFit();
            return(header);
        }
        public static SignalReceiverTreeView CreateSignalInspectorList(TreeViewState state, MultiColumnHeaderState columnState, SignalReceiver target, int columnHeight, bool readonlySignal)
        {
            var header = new SignalReceiverHeader(columnState)
            {
                height = columnHeight
            };

            header.ResizeToFit();

            return(new SignalReceiverTreeView(state, header, target, readonlySignal));
        }
예제 #3
0
 public static SignalReceiverTreeView CreateSignalInspectorList(TreeViewState state, SignalReceiverHeader header, SignalReceiver target, SerializedObject so)
 {
     return(new SignalReceiverTreeView(state, header, target, so));
 }