using System; namespace Shared { [System.Serializable] public class SkinStyle { static SkinStyle () { if (Current == null) Current = new SkinStyle (); } public static SkinStyle Current; public uint PanelSettingTargetNotInLocalColor = 0xCCF8E725; public uint Black50Transparent = 0x73000000; public uint White20Transparent = 0x35FFFFFF; public uint MainColor = 0xFF1F1F1F; public uint ViewColor = 0xFF3c3c3c; public uint ButtonColor = 0xFF787878; public uint ButtonColor1 = 0xFF505050; public uint TitileView = 0xFF0f0f0f; public uint SysTitleView = 0xFF0f0f0f; public uint SysSubtitleView = 0xFF2d2d2d; public uint SysEditBox = 0xFF505050; public uint SysPanelBox = 0xFF505050; public uint SysPanleDevicesBox = 0xFF3c3c3c; public uint BorderColor = 0xFF505050; public uint SubtitleView = 0xFF505050; public uint SensorContentView = 0xFF505050; public uint PlaceholderTextColor = 0xFF505050; public uint SelectedColor = 0xFFfe5e00;//选中颜色 public uint ProgressColor = 0xFFA2A2A2; public uint TextColor = 0xFF2F2F2F; public uint TextColor1 = 0xFFFFFFFF; public uint TextColor2 = 0xFFFFFFFF; public uint DialogTextColor = 0xFFFFFFFF; public uint newDeviceBG = 0x801DB585; public uint LostDeviceBG = 0x80E26464; public uint DialogColor = 0xFFFFFFFF; public uint SceneDialogColor = 0xFF505050; public uint SceneDialogTitleColor = 0xFF0f0f0f; public uint DialogTitle = 0xFF787878; public uint UserMenuItemButton = 0xFF000000; public uint LineColor = 0xFF0f0f0f; public uint DelColor = 0xFFFF0000; public uint Transparent = 0x00FFFFFF; public uint LightDialogTextColor = 0xFFE6E6E6; public uint ThumbColor = 0xFFFFFFFF; public uint ThumbColor2 = 0xFF787878; public uint SensorLevel0 = 0xFFFFFFFF; public uint SensorLevel1 = 0xFF6cc0fb; public uint SensorLevel2 = 0xFF6aeaa9; public uint SensorLevel3 = 0xFFff9a50; public uint SensorLevel4 = 0xFFff5757; public uint LineColor2 = 0xFF5F5F5F; public uint AddTipButtonColor = 0xFF000000; public uint LinkStatusTipColor = 0xFF1F1F1F; public uint SceneTransparentBackColor = 0x44848484; ///新加颜色 public uint MusicTopFrameLayout = 0xFF1F1F1F; public uint MusicVerticalScrolViewLayout = 0xff2F2F2F; public uint MusicPalyerView = 0xFF181818; public uint MusicTextColor = 0xFFFFFFFF; public uint MusicArtistTextColor = 0x80ffffff; public uint MusicLineColor = 0xFF181818; public uint MusicEditTextBackgroundColor = 0xFF4D4D4D; public uint MusicEditTextPlaceholderTextColor = 0x80ffffff; public uint MusicMiddleBackgroundColor = 0xFF121212; public uint MusicEditBorderColor = 0x00000000; public uint MusicTipBackgroundColor = 0xffcccccc; public uint MusicTipTextColor = 0xff000000; public uint MusicselecteButtonColcor = 0xff525252; public uint MusicDialogBackgroundColor = 0xFF484848; public uint HorizontalSeekBarThumbColor = 0xFFFFFFFF; public uint MusicRowLayoutLineColor = 0xff0f0f0f; #region settingView #endregion public void ChangeColor () { if (UserConfig.Instance.SkinCode == 0) { Current.PanelSettingTargetNotInLocalColor = 0xCCF8E725; Current.Black50Transparent = 0x73000000; Current.White20Transparent = 0x35FFFFFF; Current.MainColor = 0xFF1F1F1F; Current.ViewColor = 0xFF3c3c3c; Current.ButtonColor = 0xFF787878; Current.ButtonColor1 = 0xFF505050; Current.TitileView = 0xFF0f0f0f; Current.SysTitleView = 0xFF0f0f0f; Current.SysSubtitleView = 0xFF2d2d2d; Current.SysEditBox = 0xFF505050; Current.SysPanelBox = 0xFF505050; Current.SysPanleDevicesBox = 0xFF3c3c3c; Current.BorderColor = 0xFF505050; Current.SubtitleView = 0xFF505050; Current.SensorContentView = 0xFF505050; Current.PlaceholderTextColor = 0xFF505050; Current.SelectedColor = 0xFFfe5e00;//选中颜色 Current.TextColor = 0xFF2F2F2F; Current.TextColor1 = 0xFFFFFFFF; Current.TextColor2 = 0xFFFFFFFF; Current.DialogTextColor = 0xFFFFFFFF; Current.newDeviceBG = 0x801DB585; Current.LostDeviceBG = 0x80E26464; Current.DialogColor = 0xFFFFFFFF; Current.SceneDialogColor = 0xFF505050; Current.SceneDialogTitleColor = 0xFF0f0f0f; Current.DialogTitle = 0xFF787878; Current.UserMenuItemButton = 0xFF000000; Current.LineColor = 0xFF0f0f0f; Current.DelColor = 0xFFFF0000; Current.Transparent = 0x00FFFFFF; Current.LightDialogTextColor = 0xFFE6E6E6; Current.ThumbColor = 0xFFFFFFFF; Current.ThumbColor2 = 0xFF787878; Current.SensorLevel0 = 0xFFFFFFFF; Current.SensorLevel1 = 0xFF6cc0fb; Current.SensorLevel2 = 0xFF6aeaa9; Current.SensorLevel3 = 0xFFff9a50; Current.SensorLevel4 = 0xFFff5757; Current.LineColor2 = 0xFF5F5F5F; Current.AddTipButtonColor = 0xFF000000; Current.LinkStatusTipColor = 0xFF1F1F1F; ///新加颜色 Current.MusicTopFrameLayout = 0xFF1F1F1F; Current.MusicMiddleBackgroundColor = 0xFF121212; Current.MusicVerticalScrolViewLayout = 0xff2F2F2F; Current.MusicPalyerView = 0xFF181818; Current.MusicTextColor = 0xFFFFFFFF; Current.MusicArtistTextColor = 0x80ffffff; Current.MusicLineColor = 0xFF181818; Current.MusicEditTextBackgroundColor = 0xFF4D4D4D; Current.MusicEditTextPlaceholderTextColor = 0x80ffffff; Current.MusicEditBorderColor = 0x00000000; Current.MusicTipBackgroundColor = 0xffcccccc; Current.MusicTipTextColor = 0xff000000; Current.MusicselecteButtonColcor = 0xff525252; Current.MusicDialogBackgroundColor = 0xFF484848; Current.HorizontalSeekBarThumbColor = 0xFFFFFFFF; Current.MusicRowLayoutLineColor = 0xff0f0f0f; } else if (UserConfig.Instance.SkinCode == 1) { Current.PanelSettingTargetNotInLocalColor = 0xCCF8E725; Current.Black50Transparent = 0x73FFFFFF; Current.White20Transparent = 0x35000000; Current.MainColor = 0xFFf0f0f0;// Current.ViewColor = 0xFFFFFFFF;// Current.ButtonColor = 0xFFCCCCCC; Current.ButtonColor1 = 0xFF989898; Current.TitileView = 0xFFd2d2d2; Current.SysTitleView = 0xFFaaaaaa; Current.SysSubtitleView = 0xFFd2d2d2;// Current.SysEditBox = 0xFFFFFFFF; Current.SysPanelBox = 0xFFFFFFFF; Current.SysPanleDevicesBox = 0xFFEEEEEE; Current.BorderColor = 0xFF1F1F1F; Current.SubtitleView = 0xFF989898;// Current.SensorContentView = 0xFFf0f0f0; Current.PlaceholderTextColor = 0xAA505050; Current.SelectedColor = 0xFFfe5e00; Current.TextColor = 0xFF787878; Current.TextColor1 = 0xFF4F4F4F; Current.TextColor2 = 0xFFFFFFFF; Current.DialogTextColor = 0xFFFFFFFF; Current.newDeviceBG = 0x801DB585; Current.LostDeviceBG = 0x80E26464; Current.DialogColor = 0xFFFFFFFF; Current.SceneDialogColor = 0xFFFFFFFF; Current.SceneDialogTitleColor = 0xFF787878; Current.DialogTitle = 0xFF787878; Current.UserMenuItemButton = 0xFFAAAAAA; Current.LineColor = 0xFFd2d2d2; Current.DelColor = 0xFFFF0000; Current.Transparent = 0x00FFFFFF; Current.LightDialogTextColor = 0xFFE6E6E6; Current.ThumbColor = 0xFFd2d2d2; Current.ThumbColor2 = 0xFF787878; Current.SensorLevel0 = 0xFFFFFFFF; Current.SensorLevel1 = 0xFF6cc0fb; Current.SensorLevel2 = 0xFF6aeaa9; Current.SensorLevel3 = 0xFFff9a50; Current.SensorLevel4 = 0xFFff5757; Current.LineColor2 = 0xFF5F5F5F; Current.AddTipButtonColor = 0xFF999999; Current.LinkStatusTipColor = 0xFFf0f0f0; #if android Current.LinkStatusTipColor = 0xAA848484; #endif ///新加颜色 Current.MusicTopFrameLayout = 0xFFf0f0f0; Current.MusicVerticalScrolViewLayout = 0xFFFFFFFF; Current.MusicPalyerView = 0xFFFFFFFF; Current.MusicTextColor = 0xFF505050; Current.MusicArtistTextColor = 0xFFaaaaaa; Current.MusicLineColor = 0xFFaaaaaa; Current.MusicEditTextBackgroundColor = 0xFFFFFFFF; Current.MusicEditTextPlaceholderTextColor = 0xFF505050; Current.MusicMiddleBackgroundColor = 0xFFd2d2d2; Current.MusicEditBorderColor = 0xffaaaaaa; Current.MusicTipBackgroundColor = 0xFFFFFFFF; Current.MusicTipTextColor = 0xFF505050; Current.MusicselecteButtonColcor = 0xffcccccc; Current.MusicDialogBackgroundColor = 0xFFFFFFFF; Current.HorizontalSeekBarThumbColor = 0xFFaaaaaa; Current.MusicRowLayoutLineColor = 0xffaaaaaa; } } } }