| | |
| | | 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() |
| | | { |
| | | Gravity = Gravity.Center, |
| | | ColorImagePath = "FunctionIcon/Light/ColorWheel.png", |
| | | }; |
| | | framePickerBack.AddChidren(colorPicker); |
| | |
| | | //}; |
| | | |
| | | //白点控件 |
| | | 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); |
| | | |
| | |
| | | DriverLayer.Control.Ins.SendReadCommand(function); |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | |
| | | |
| | | |
| | | new System.Threading.Thread(() => { |
| | | while (true) |