| | |
| | | /// <summary> |
| | | /// 窗帘动态控件 |
| | | /// </summary> |
| | | CurtainSeekBar curtainSeekBar; |
| | | CurtainSeekBarOn curtainSeekBar; |
| | | /// <summary> |
| | | /// 窗帘进度减少按钮 |
| | | /// </summary> |
| | |
| | | }; |
| | | controlView.AddChidren(btnCollection); |
| | | |
| | | curtainSeekBar = new CurtainSeekBar() |
| | | curtainSeekBar = new CurtainSeekBarOn() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(130), |
| | | Width = Application.GetRealWidth(250), |
| | | Height = Application.GetRealWidth(177), |
| | | Progress = curtain.openLevel |
| | | Progress = curtain.percent |
| | | }; |
| | | controlView.AddChidren(curtainSeekBar); |
| | | |
| | |
| | | ProgressTextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | MaxValue = 100, |
| | | Progress = 30, |
| | | SeekBarPadding = Application.GetRealWidth(20), |
| | | }; |
| | | controlView.AddChidren(controlBar); |
| | | |