| | |
| | | UnSelectedImagePath = "Collection/CollectionGrayIcon.png", |
| | | IsSelected = light.collect |
| | | }; |
| | | controlView.AddChidren(btnCollection); |
| | | //controlView.AddChidren(btnCollection); |
| | | //2020-12-16 如果是成员隐藏收藏功能 |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | { |
| | | controlView.AddChidren(btnCollection); |
| | | } |
| | | |
| | | dimmerBar = new WaveSeekBarOn() |
| | | { |
| | |
| | | Y = Application.GetRealHeight(74 + 16), |
| | | Width = Application.GetRealWidth(168 - 40), |
| | | Height = Application.GetRealHeight(288 - 16 - 16), |
| | | //WaveBorderColor = CSS_Color.PromptingColor2, |
| | | BorderColor = 0x00000000, |
| | | CornerRadius = Application.GetRealWidth(40), |
| | | CornerRadius = Application.GetRealWidth(30), |
| | | BorderWidth = 0, |
| | | //WavePadding = Application.GetRealWidth(-5), |
| | | //BackgroundColor = CSS_Color.BackgroundColor, |
| | | //Radius = (uint)Application.GetRealWidth(40), |
| | | Progress = light.brightness, |
| | | //ProgressTextColor =0x00000000, |
| | | IsProgressTextShow = false, |
| | | }; |
| | | controlView.AddChidren(dimmerBar); |
| | |
| | | Text = light.brightness + "%", |
| | | }; |
| | | controlView.AddChidren(btnBrightnessText); |
| | | |
| | | |
| | | #region 渐变时间调节 |
| | | var btnGradualChangeText = new Button() |