1
wxr
2023-03-31 7e42cc13a14b7de31c9f5d5c61cdf24f3246335d
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
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;
            }
 
        }
    }
}