| | |
| | | Height = Application.GetRealWidth(177), |
| | | Progress = curtain.percent, |
| | | ProgressTextColor =0x00000000, |
| | | IsInvertedProgress = true, |
| | | //IsInvertedProgress = true, |
| | | }; |
| | | controlView.AddChidren(curtainSeekBar); |
| | | |
| | |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "FunctionIcon/Curtain/CurtainCloseIcon.png", |
| | | SelectedImagePath = "FunctionIcon/Curtain/CurtainCloseOnIcon.png", |
| | | IsSelected = curtain.GetAttrState(FunctionAttributeKey.Percent) == "0" |
| | | }; |
| | | controlView.AddChidren(btnCurtainClose); |
| | | |
| | |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "FunctionIcon/Curtain/CurtainOpenIcon.png", |
| | | SelectedImagePath = "FunctionIcon/Curtain/CurtainOpenOnIcon.png", |
| | | IsSelected = curtain.GetAttrState(FunctionAttributeKey.Percent) != "0" |
| | | }; |
| | | controlView.AddChidren(btnCurtainOpen); |
| | | |