| | |
| | | /// <summary>
|
| | | /// 色温的滑动控件
|
| | | /// </summary>
|
| | | SeekBarControl barColorTemplatrue;
|
| | | CCTSeekBarControl barColorTemplatrue;
|
| | | /// <summary>
|
| | | /// 开关按钮
|
| | | /// </summary>
|
| | |
| | | UnSelectedImagePath = "Collection/CollectionGrayIcon.png",
|
| | | IsSelected = function.collect
|
| | | };
|
| | | //controlView.AddChidren(btnCollection);
|
| | | controlView.AddChidren(btnCollection);
|
| | | //2020-12-16 如果是成员隐藏收藏功能
|
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
|
| | | //{
|
| | |
| | | btnColorTemplatrueBack.UnSelectedImagePath = "FunctionIcon/Light/ColorTemperatureBar.png";
|
| | | controlView.AddChidren(btnColorTemplatrueBack);
|
| | | //滑动条控件
|
| | | barColorTemplatrue = new SeekBarControl();
|
| | | barColorTemplatrue = new CCTSeekBarControl();
|
| | | barColorTemplatrue.X = btnTempClolorMin.Right;
|
| | | barColorTemplatrue.Y = Application.GetRealHeight(340);
|
| | | barColorTemplatrue.MinValue = 27;
|
| | |
| | | btnReadIcon.IsSelected = true; |
| | | }
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 左右滑动的进度条控件
|
| | | /// </summary>
|
| | | private class SeekBarControl : DiyImageSeekBar
|
| | | } |
| | | |
| | | /// <summary>
|
| | | /// 左右滑动的进度条控件
|
| | | /// </summary>
|
| | | public class CCTSeekBarControl : DiyImageSeekBar
|
| | | {
|
| | | #region ■ 变量声明___________________________
|
| | |
|
| | |
| | | /// 左右滑动的进度条控件
|
| | | /// </summary>
|
| | | /// <param name="i_width">宽度,非真实值</param>
|
| | | public SeekBarControl(int i_width = 210)
|
| | | public CCTSeekBarControl(int i_width = 210)
|
| | | {
|
| | | this.Width = Application.GetRealWidth(i_width);
|
| | | this.Height = Application.GetRealHeight(54);
|
| | |
| | |
|
| | | #endregion
|
| | | }
|
| | | }
|
| | | }
|