New file |
| | |
| | | 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> |
| | | /// ☆行控件选择状态时的背景色(0xfffbfbfb) |
| | | /// </summary> |
| | | public uint RowSelectBackColor = 0xfffbfbfb;
|
| | | /// <summary>
|
| | | /// ☆错误提示的颜色(0xfff75858)
|
| | | /// </summary>
|
| | | public uint ErrorColor = 0xfff75858;
|
| | | /// <summary>
|
| | | /// 图片遮罩的颜色
|
| | | /// </summary>
|
| | | public uint PictrueZhezhaoColor = 0x12000000;
|
| | | /// <summary>
|
| | | /// 灰色(0xff6b6b6b) 其他地方似乎在用,建议不要使用
|
| | | /// </summary>
|
| | | public uint Gray = 0xff6b6b6b;
|
| | | /// <summary>
|
| | | /// 红色(0xfff62f48) 其他地方似乎在用,建议不要使用
|
| | | /// </summary>
|
| | | public uint Red = 0xfff62f48;
|
| | | } |
| | | } |