From 66c72ee19b9e3543537621b8dd25685c9b5c03c4 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 02 八月 2022 14:05:30 +0800
Subject: [PATCH] RGB色盘优化,第三方平台对接功能

---
 HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
index 8c6bab8..556e3e1 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
@@ -157,6 +157,7 @@
             framePickerBack.Y = btnFromFoorAndRoom.Bottom + Application.GetRealHeight(1);
             framePickerBack.Width = Application.GetMinRealAverage(216);
             framePickerBack.Height = Application.GetMinRealAverage(216);
+            //framePickerBack.BackgroundColor = 0xFFFF0000;
             controlView.AddChidren(framePickerBack);
 
             colorPicker = new ColorPicker()
@@ -177,10 +178,17 @@
             //};
 
             //鐧界偣鎺т欢
-            this.btnWhiteRound = new Button();
-            btnWhiteRound.Width = Application.GetRealWidth(24);
-            btnWhiteRound.Height = Application.GetRealWidth(24);
-            btnWhiteRound.UnSelectedImagePath = "FunctionIcon/Light/ColorWheelTip.png";
+            var diameter = Application.GetRealWidth(12);
+            this.btnWhiteRound = new Button()
+            {
+                Width = diameter,
+                Height = diameter,
+                Radius = (uint)Application.GetRealWidth(6),
+                BorderWidth = (uint)Application.GetRealWidth(1),
+                BorderColor = CSS_Color.MainBackgroundColor,
+                Enable = false,
+            };
+            //btnWhiteRound.UnSelectedImagePath = "FunctionIcon/Light/ColorWheelTip.png";
             btnWhiteRound.Visible = false;
             framePickerBack.AddChidren(btnWhiteRound);
 

--
Gitblit v1.8.0