using System; namespace Shared.Phone.UserCenter { /// /// 个人中心的颜色 /// public class UserCenterColor { /// /// The m current. /// private static uColor m_Current = null; /// /// 个人中心的颜色 /// /// The current. public static uColor Current { get { if (m_Current == null) { m_Current = new uColor(); } return m_Current; } } /// /// 更改指定颜色变量的值 /// /// Fild name. /// Color value. public static 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 }); } } /// /// 个人中心的全部颜色 /// public class uColor { /// /// TopFrameLayout的背景色 /// public uint TopFrameLayout = 0xfff2f4f5; /// /// BodyFrameLayout的背景色 /// public uint BodyFrameLayout = 0xffffffff; /// /// 灰色 /// public uint Gray = 0xff6b6b6b; /// /// 深灰色(稍微) /// public uint DeepGray1 = 0xffd4d4d4; /// /// 选中的颜色(蓝色) /// public uint SelectTextColor = 0xff00aaf0; /// /// 行控件选择状态时的背景色 /// public uint RowSelectBackColor = 0xfffbfbfb; /// /// 深蓝色 /// public uint DeepBlue = 0xff3699e2; /// /// 按钮的初始背景色 /// public uint ClickButtonColor = 0xff3699e2; /// /// 按钮按下的背景色(灰色) /// public uint ButtonClickColor = 0xffadadad; /// /// 白色 /// public uint White = 0xffffffff; /// /// 红色 /// public uint Red = 0xfff32514; /// /// 透明 /// public uint Transparent = 0x00000000; /// /// 橘色 /// public uint Orange = 0xffff870f; /// /// 绿色 /// public uint Green = 0xff09ff09; /// /// 浅蓝色 /// public uint WathetBlue = 0xffa2ffff; /// /// 浅紫色 /// public uint purply = 0xfff4b7f1; /// /// 正常文本字体颜色 /// public uint TextColor = 0xff333333; /// /// TopFrameLayout字体颜色 /// public uint TopTitleTextColor = 0xff333333; /// /// 线的颜色 /// public uint Line = 0xffadadad; /// /// 输入框提示信息的字体颜色 /// public uint TextTipColor = 0xffadadad; /// /// 蓝色字体 /// public uint TextBlueColor = 0xff3699e2; /// /// 输入框边框的颜色 /// public uint TextFrameColor = 0xff6b6b6b; /// /// 灰色字体颜色 /// public uint TextGrayColor = 0xffadadad; /// /// RowLayout的编辑按钮的背景色 /// public uint RowEditorButtonColor = 0xffff870f; /// /// RowLayout的删除按钮的背景色 /// public uint RowDeleteButtonColor = 0xfff32514; /// /// 弹窗型画面的背景色 /// public uint DialogBackColor = 0x7f505050; /// /// 粉红色(远程连接的背景色) /// public uint RemoteLinkPink = 0xffffb9b9; } }