Esempio n. 1
0
        public void Initialize(HueUpdateQueue updateQueue)
        {
            UpdateQueue = updateQueue;
            InitializeLayout();

            Rectangle ledRectangle = new Rectangle(this.Select(x => x.LedRectangle));

            Size = ledRectangle.Size + new Size(ledRectangle.Location.X, ledRectangle.Location.Y);
        }
Esempio n. 2
0
 public HueDevice(HueDeviceInfo deviceInfo, HueUpdateQueue updateQueue) : base(deviceInfo, updateQueue)
 {
     InitializeLayout();
 }