wei
2021-01-11 b271bcceb1c4e718377ca86b6213816abcf7482a
HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
old mode 100755 new mode 100644
@@ -125,7 +125,6 @@
                BorderWidth = 1,
                BackgroundColor = (uint)(0xFF000000 + light.GetRGBcolor())
            };
            controlView.AddChidren(btnCurColor);
            btnCollection = new Button()
@@ -293,10 +292,10 @@
            btnRestoredPoint = new Button()
            {
                X = Application.GetRealWidth(104),
                Y = Application.GetRealHeight(462),
                Width = Application.GetMinRealAverage(40),
                Height = Application.GetMinRealAverage(40),
                X = Application.GetRealWidth(116),
                Y = Application.GetRealHeight(466),
                Width = Application.GetMinRealAverage(32),
                Height = Application.GetMinRealAverage(32),
                UnSelectedImagePath = "Public/Restored_Shadow.png",
                SelectedImagePath = "Public/Restored_Shadow.png",
            };
@@ -304,10 +303,10 @@
            btnSwitch = new Button()
            {
                X = btnRestoredPoint.Right + Application.GetRealWidth(40),
                Y = Application.GetRealHeight(462),
                Width = Application.GetMinRealAverage(40),
                Height = Application.GetMinRealAverage(40),
                X = btnRestoredPoint.Right + Application.GetRealWidth(32),
                Y = Application.GetRealHeight(466),
                Width = Application.GetMinRealAverage(32),
                Height = Application.GetMinRealAverage(32),
                UnSelectedImagePath = "Public/PowerClose.png",
                SelectedImagePath = "Public/PowerOpen.png",
                IsSelected = light.trait_on_off.curValue.ToString() == "on"