File was renamed from HDL_ON/UI/UI2/FuntionControlView/Light/RGBFragment.cs |
| | |
| | | |
| | | namespace HDL_ON.UI |
| | | { |
| | | public partial class RGBFragment : FrameLayout |
| | | public partial class RGBPage : FrameLayout |
| | | { |
| | | #region 控件集合 |
| | | FrameLayout bodyView; |
| | |
| | | Function function; |
| | | #endregion |
| | | |
| | | public RGBFragment(Function func) |
| | | public RGBPage(Function func) |
| | | { |
| | | bodyView = this; |
| | | function = func; |
| | |
| | | Y = Application.GetRealHeight(448), |
| | | Width = Application.GetMinRealAverage(76), |
| | | Height = Application.GetMinRealAverage(76), |
| | | UnSelectedImagePath = "Public/SwitchClose_Shadow.png", |
| | | SelectedImagePath = "Public/SwitchOn_Shadow.png", |
| | | UnSelectedImagePath = "Public/PowerClose_Shadow.png", |
| | | SelectedImagePath = "Public/PowerOpen_Shadow.png", |
| | | }; |
| | | controlView.AddChidren(btnSwitch); |
| | | |