黄学彪
2019-11-13 8b9ce384b26c414db32f98e94e088f5334869c2d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
using System;
namespace Shared.Phone.UserCenter
{
    /// <summary>
    /// 个人中心的颜色
    /// </summary>
    public class UserCenterColor
    {
        /// <summary>
        /// The m current.
        /// </summary>
        private static uColor m_Current = null;
        /// <summary>
        /// 个人中心的颜色
        /// </summary>
        /// <value>The current.</value>
        public static uColor Current
        {
            get 
            {
                if (m_Current == null)
                {
                    m_Current = new uColor();
                }
                return m_Current;
            }
        }
 
        /// <summary>
        /// 更改指定颜色变量的值
        /// </summary>
        /// <param name="fildName">Fild name.</param>
        /// <param name="colorValue">Color value.</param>
        public void EditorColor(string fildName, uint colorValue)
        {
            if (m_Current == null)
            {
                m_Current = new uColor();
            }
            Type type = m_Current.GetType();
 
            type.InvokeMember(fildName, System.Reflection.BindingFlags.SetField, null, m_Current, new object[] { colorValue });
        }
    }
 
    /// <summary>
    /// 个人中心的全部颜色
    /// </summary>
    public class uColor
    {
        /// <summary>
        /// ☆TopFrameLayout的背景色(0xfff9f9f9)
        /// </summary>
        public uint TopFrameLayout = 0xfff9f9f9;
        /// <summary>
        /// ☆BodyFrameLayout的背景色(0xfff5f6fa)
        /// </summary>
        public uint BodyFrameLayout = 0xfff5f6fa;
        /// <summary>
        /// ☆按钮的初始背景色(黑色 0xff232323)
        /// </summary>
        public uint ClickButtonDefultColor = 0xff232323;
        /// <summary>
        /// ☆按钮按下状态的背景色(灰色 0xff656565)
        /// </summary>
        public uint ButtonClickStatuColor = 0xff656565;
        /// <summary>
        /// ☆白色,主要用于FrameLayout的背景(0xffffffff)
        /// </summary>
        public uint White = 0xffffffff;
        /// <summary>
        /// ☆透明(0x00000000)
        /// </summary>
        public uint Transparent = 0x00000000;
        /// <summary>
        /// ☆正常文本字体颜色(0xff333333)
        /// </summary>
        public uint TextColor1 = 0xff333333;
        /// <summary>
        /// ☆特殊正常文本字体颜色2(0xff000000)
        /// </summary>
        public uint TextColor2 = 0xff000000;
        /// <summary>
        /// ☆特殊正常文本字体颜色3,这个是白色(0xffffffff)
        /// </summary>
        public uint TextColor3 = 0xffffffff;
        /// <summary>
        /// ☆特殊正常文本字体颜色4(0xff232323)
        /// </summary>
        public uint TextColor4 = 0xff232323;
        /// <summary>
        /// ☆行底线的颜色(0x66cccccc)
        /// </summary>
        public uint ButtomLine = 0x66cccccc;
        /// <summary>
        /// ☆输入框提示信息的字体颜色(0xffcccccc)
        /// </summary>
        public uint TextTipColor = 0xffcccccc;
        /// <summary>
        /// ☆连接动画那个球的背景色(0xfffc744b)
        /// </summary>
        public uint ConcetionRoundColor = 0xfffc744b;
        /// <summary>
        /// ☆黑色背景(0xff232323)
        /// </summary>
        public uint BlackBackGround = 0xff232323;
        /// <summary>
        /// ☆输入框边框的颜色(0xffcccccc)
        /// </summary>
        public uint TextFrameColor = 0xffcccccc;
        /// <summary>
        /// ☆输入框边框选中的颜色(0xfffc744b)
        /// </summary>
        public uint TextFrameSelectColor = 0xfffc744b;
        /// <summary>
        /// ☆头部标题的字体颜色(0xff030303)
        /// </summary>
        public uint TopLayoutTitleText = 0xff030303;
        /// <summary>
        /// ☆灰色字体颜色(0xff999999)
        /// </summary>
        public uint TextGrayColor1 = 0xff999999;
        /// <summary>
        /// ☆灰色字体颜色2(0xffcccccc)
        /// </summary>
        public uint TextGrayColor2 = 0xffcccccc;
        /// <summary>
        /// ☆灰色字体颜色3(0xff666666)
        /// </summary>
        public uint TextGrayColor3 = 0xff666666;
        /// <summary>
        /// ☆弹窗型画面的背景色(0x80000000)
        /// </summary>
        public uint DialogBackColor = 0x80000000;
        /// <summary>
        /// ☆橘色的文本颜色(0xfffc744b)
        /// </summary>
        public uint TextOrangeColor = 0xfffc744b;
        /// <summary>
        /// ☆行控件选择状态时的背景色
        /// </summary>
        public uint RowSelectBackColor = 0xfffbfbfb;
 
 
 
 
        /// <summary>
        /// 灰色
        /// </summary>
        public uint Gray = 0xff6b6b6b;
        /// <summary>
        /// 深灰色(稍微)
        /// </summary>
        public uint DeepGray1 = 0xffd4d4d4;
        /// <summary>
        /// 选中的颜色(蓝色)
        /// </summary>
        public uint SelectTextColor = 0xff00aaf0;
        /// <summary>
        /// 深蓝色
        /// </summary>
        public uint DeepBlue = 0xff3699e2;
        /// <summary>
        /// 按钮的初始背景色
        /// </summary>
        public uint ClickButtonColor = 0xff3699e2;
        /// <summary>
        /// 按钮按下的背景色(灰色)
        /// </summary>
        public uint ButtonClickColor = 0xffadadad;
        /// <summary>
        /// 红色(0xfff62f48)
        /// </summary>
        public uint Red = 0xfff62f48;
        /// <summary>
        /// 橘色
        /// </summary>
        public uint Orange = 0xffff870f;
        /// <summary>
        /// 绿色
        /// </summary>
        public uint Green = 0xff09ff09;
        /// <summary>
        /// 浅蓝色
        /// </summary>
        public uint WathetBlue = 0xffa2ffff;
        /// <summary>
        /// 浅紫色
        /// </summary>
        public uint purply = 0xfff4b7f1;
        /// <summary>
        /// 1明细(BodyFramelayout)里面的标题控件的颜色(0xff000000)
        /// </summary>
        public uint DetailTitleTextColor = 0xff000000;
        /// <summary>
        /// 线的颜色
        /// </summary>
        public uint Line = 0xffadadad;
        /// <summary>
        /// 蓝色字体
        /// </summary>
        public uint TextBlueColor = 0xff3699e2;
        /// <summary>
        /// 1灰色字体颜色(0xff999999)
        /// </summary>
        public uint TextGrayColor = 0xff999999;
        /// <summary>
        /// RowLayout的编辑按钮的背景色
        /// </summary>
        public uint RowEditorButtonColor = 0xffff870f;
        /// <summary>
        /// RowLayout的删除按钮的背景色
        /// </summary>
        public uint RowDeleteButtonColor = 0xfff32514;
        /// <summary>
        /// 粉红色(远程连接的背景色)
        /// </summary>
        public uint RemoteLinkPink = 0xffffb9b9;
    }
}