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 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 });
|
}
|
}
|
|
/// <summary>
|
/// 个人中心的全部颜色
|
/// </summary>
|
public class uColor
|
{
|
/// <summary>
|
/// TopFrameLayout的背景色
|
/// </summary>
|
public uint TopFrameLayout = 0xfff2f4f5;
|
/// <summary>
|
/// BodyFrameLayout的背景色
|
/// </summary>
|
public uint BodyFrameLayout = 0xffffffff;
|
/// <summary>
|
/// 灰色
|
/// </summary>
|
public uint Gray = 0xff6b6b6b;
|
/// <summary>
|
/// 深灰色(稍微)
|
/// </summary>
|
public uint DeepGray1 = 0xffd4d4d4;
|
/// <summary>
|
/// 选中的颜色(蓝色)
|
/// </summary>
|
public uint SelectTextColor = 0xff00aaf0;
|
/// <summary>
|
/// 行控件选择状态时的背景色
|
/// </summary>
|
public uint RowSelectBackColor = 0xfffbfbfb;
|
/// <summary>
|
/// 深蓝色
|
/// </summary>
|
public uint DeepBlue = 0xff3699e2;
|
/// <summary>
|
/// 按钮的初始背景色
|
/// </summary>
|
public uint ClickButtonColor = 0xff3699e2;
|
/// <summary>
|
/// 按钮按下的背景色(灰色)
|
/// </summary>
|
public uint ButtonClickColor = 0xffadadad;
|
/// <summary>
|
/// 白色
|
/// </summary>
|
public uint White = 0xffffffff;
|
/// <summary>
|
/// 红色
|
/// </summary>
|
public uint Red = 0xfff32514;
|
/// <summary>
|
/// 透明
|
/// </summary>
|
public uint Transparent = 0x00000000;
|
/// <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>
|
/// 正常文本字体颜色
|
/// </summary>
|
public uint TextColor = 0xff333333;
|
/// <summary>
|
/// TopFrameLayout字体颜色
|
/// </summary>
|
public uint TopTitleTextColor = 0xff333333;
|
/// <summary>
|
/// 线的颜色
|
/// </summary>
|
public uint Line = 0xffadadad;
|
/// <summary>
|
/// 输入框提示信息的字体颜色
|
/// </summary>
|
public uint TextTipColor = 0xffadadad;
|
/// <summary>
|
/// 蓝色字体
|
/// </summary>
|
public uint TextBlueColor = 0xff3699e2;
|
/// <summary>
|
/// 输入框边框的颜色
|
/// </summary>
|
public uint TextFrameColor = 0xff6b6b6b;
|
/// <summary>
|
/// 灰色字体颜色
|
/// </summary>
|
public uint TextGrayColor = 0xffadadad;
|
/// <summary>
|
/// RowLayout的编辑按钮的背景色
|
/// </summary>
|
public uint RowEditorButtonColor = 0xffff870f;
|
/// <summary>
|
/// RowLayout的删除按钮的背景色
|
/// </summary>
|
public uint RowDeleteButtonColor = 0xfff32514;
|
/// <summary>
|
/// 弹窗型画面的背景色
|
/// </summary>
|
public uint DialogBackColor = 0x7f505050;
|
/// <summary>
|
/// 粉红色(远程连接的背景色)
|
/// </summary>
|
public uint RemoteLinkPink = 0xffffb9b9;
|
}
|
}
|