예제 #1
0
 public SwitchListViewItemRenderer(List <GamelogicEngineSwitch> gleSwitches, TableComponent tableComponent, InputManager inputManager)
 {
     _gleSwitches    = gleSwitches;
     _inputManager   = inputManager;
     _devicePicker   = new ObjectReferencePicker <ISwitchDeviceComponent>("Switch Devices", tableComponent, false);
     _tableComponent = tableComponent;
 }
예제 #2
0
        public WireListViewItemRenderer(TableComponent tableComponent, InputManager inputManager)
        {
            _tableComponent = tableComponent;
            _inputManager   = inputManager;

            _sourceDevicePicker = new ObjectReferencePicker <ISwitchDeviceComponent>("Wire Source", tableComponent, false);
            _destDevicePicker   = new ObjectReferencePicker <IWireableComponent>("Wire Destination", tableComponent, false);
        }
 public LampListViewItemRenderer(List <GamelogicEngineLamp> gleLamps, TableComponent tableComponent)
 {
     _tableComponent = tableComponent;
     _gleLamps       = gleLamps;
     _devicePicker   = new ObjectReferencePicker <ILampDeviceComponent>("Lamps", tableComponent, false);
 }
 public CoilListViewItemRenderer(TableComponent tableComponent, List <GamelogicEngineCoil> gleCoils)
 {
     _tableComponent = tableComponent;
     GleItems        = gleCoils;
     _devicePicker   = new ObjectReferencePicker <ICoilDeviceComponent>("Coil Devices", tableComponent, false);
 }