old mode 100755
new mode 100644
| | |
| | | BorderWidth = 1, |
| | | BackgroundColor = (uint)(0xFF000000 + light.GetRGBcolor()) |
| | | }; |
| | | |
| | | controlView.AddChidren(btnCurColor); |
| | | |
| | | btnCollection = new Button() |
| | |
| | | |
| | | btnRestoredPoint = new Button() |
| | | { |
| | | X = Application.GetRealWidth(104), |
| | | Y = Application.GetRealHeight(462), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | X = Application.GetRealWidth(116), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "Public/Restored_Shadow.png", |
| | | SelectedImagePath = "Public/Restored_Shadow.png", |
| | | }; |
| | |
| | | |
| | | btnSwitch = new Button() |
| | | { |
| | | X = btnRestoredPoint.Right + Application.GetRealWidth(40), |
| | | Y = Application.GetRealHeight(462), |
| | | Width = Application.GetMinRealAverage(40), |
| | | Height = Application.GetMinRealAverage(40), |
| | | X = btnRestoredPoint.Right + Application.GetRealWidth(32), |
| | | Y = Application.GetRealHeight(466), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | UnSelectedImagePath = "Public/PowerClose.png", |
| | | SelectedImagePath = "Public/PowerOpen.png", |
| | | IsSelected = light.trait_on_off.curValue.ToString() == "on" |