From b271bcceb1c4e718377ca86b6213816abcf7482a Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期一, 11 一月 2021 13:57:18 +0800
Subject: [PATCH] 20210111-删除功能类别,统一使用spk去设备功能

---
 HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
old mode 100755
new mode 100644
index 2071bab..c57b93b
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
@@ -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"

--
Gitblit v1.8.0