| | |
| | | /// </summary> |
| | | Button btnBrightnessText; |
| | | /// <summary> |
| | | /// 渐变时间修改 |
| | | /// </summary> |
| | | DiyImageSeekBar barFadeTime; |
| | | /// <summary> |
| | | /// 开关按钮 |
| | | /// </summary> |
| | | Button btnSwitch; |
| | |
| | | }; |
| | | controlView.AddChidren(btnGradualChangeMinValuesText); |
| | | |
| | | var barGradualChange = new DiyImageSeekBar() |
| | | barFadeTime = new DiyImageSeekBar() |
| | | { |
| | | X = btnGradualChangeMinValuesText.Right, |
| | | Y = Application.GetRealHeight(412 - 21) + Application.GetRealHeight(8), |
| | |
| | | ProgressTextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | ProgressBarUnitSring = "s", |
| | | MaxValue = 10, |
| | | Progress = 0, |
| | | Progress = light.fadeTime, |
| | | SeekBarPadding = Application.GetRealWidth(20), |
| | | }; |
| | | controlView.AddChidren(barGradualChange); |
| | | controlView.AddChidren(barFadeTime); |
| | | |
| | | var btnGradualChangeMaxValuesText = new Button() |
| | | { |
| | | X = barGradualChange.Right, |
| | | X = barFadeTime.Right, |
| | | Y = btnGradualChangeText.Bottom + Application.GetRealHeight(8), |
| | | Width = Application.GetRealWidth(35), |
| | | Height = Application.GetRealHeight(21), |