@@ -97,16 +97,18 @@ class function TBatterySplash.GeneratePicture(Width, Height: Integer; Monitor: T
97
97
CircleGreen = 0 ;
98
98
CircleYellow = 1 ;
99
99
CircleRed = 2 ;
100
- CircleBlue = 3 ;
101
-
102
- RingGreen = 4 ;
103
- RingYellow = 5 ;
104
- RingRed = 6 ;
105
- RingBlue = 7 ;
106
-
107
- BatteryBody = 8 ;
108
- PercentageOffset = 9 ;
109
- Charge = 18 ;
100
+ CirclePurple = 3 ;
101
+ CircleBlue = 4 ;
102
+
103
+ RingGreen = 5 ;
104
+ RingYellow = 6 ;
105
+ RingRed = 7 ;
106
+ RingPurple = 8 ;
107
+ RingBlue = 9 ;
108
+
109
+ BatteryBody = 10 ;
110
+ PercentageOffset = 11 ;
111
+ Charge = 20 ;
110
112
var
111
113
Graphics: IGPGraphics;
112
114
Indexes: array of Integer;
@@ -118,25 +120,26 @@ class function TBatterySplash.GeneratePicture(Width, Height: Integer; Monitor: T
118
120
if FInvertColor then
119
121
begin
120
122
case FBatteryState.PowerScheme.PowerSchemeType of
121
- pstMaxPowerSavings : Indexes := Indexes + [CircleRed];
123
+ pstMaxPowerSavings : Indexes := Indexes + [CircleRed];
122
124
pstTypicalPowerSavings:
123
125
begin
124
126
if IsOverlayAsScheme then
125
127
begin
126
128
case FBatteryState.PowerScheme.OverlaySchemeType of
127
- ostOverlayMin : Indexes := Indexes + [CircleRed];
128
- ostOverlayHigh : Indexes := Indexes + [CircleBlue];
129
- ostOverlayMax : Indexes := Indexes + [CircleGreen];
130
- else Indexes := Indexes + [CircleYellow];
129
+ ostOverlayMin : Indexes := Indexes + [CircleRed];
130
+ ostOverlayHigh : Indexes := Indexes + [CircleBlue];
131
+ ostOverlayMax : Indexes := Indexes + [CircleGreen];
132
+ else Indexes := Indexes + [CircleYellow];
131
133
end ;
132
134
end
133
135
else
134
136
begin
135
137
Indexes := Indexes + [CircleYellow];
136
138
end ;
137
139
end ;
138
- pstMinPowerSavings : Indexes := Indexes + [CircleGreen];
139
- else Indexes := Indexes + [CircleBlue];
140
+ pstMinPowerSavings : Indexes := Indexes + [CircleGreen];
141
+ pstUltimatePowerSavings: Indexes := Indexes + [CirclePurple];
142
+ else Indexes := Indexes + [CircleBlue];
140
143
end ;
141
144
142
145
case FBatteryState.PowerScheme.OverlaySchemeType of
@@ -149,25 +152,26 @@ class function TBatterySplash.GeneratePicture(Width, Height: Integer; Monitor: T
149
152
else
150
153
begin
151
154
case FBatteryState.PowerScheme.PowerSchemeType of
152
- pstMaxPowerSavings : Indexes := Indexes + [CircleGreen];
155
+ pstMaxPowerSavings : Indexes := Indexes + [CircleGreen];
153
156
pstTypicalPowerSavings:
154
157
begin
155
158
if IsOverlayAsScheme then
156
159
begin
157
160
case FBatteryState.PowerScheme.OverlaySchemeType of
158
- ostOverlayMin : Indexes := Indexes + [CircleGreen];
159
- ostOverlayHigh : Indexes := Indexes + [CircleBlue];
160
- ostOverlayMax : Indexes := Indexes + [CircleRed];
161
- else Indexes := Indexes + [CircleYellow];
161
+ ostOverlayMin : Indexes := Indexes + [CircleGreen];
162
+ ostOverlayHigh : Indexes := Indexes + [CircleBlue];
163
+ ostOverlayMax : Indexes := Indexes + [CircleRed];
164
+ else Indexes := Indexes + [CircleYellow];
162
165
end ;
163
166
end
164
167
else
165
168
begin
166
169
Indexes := Indexes + [CircleYellow];
167
170
end ;
168
171
end ;
169
- pstMinPowerSavings : Indexes := Indexes + [CircleRed];
170
- else Indexes := Indexes + [CircleBlue];
172
+ pstMinPowerSavings : Indexes := Indexes + [CircleRed];
173
+ pstUltimatePowerSavings: Indexes := Indexes + [CirclePurple];
174
+ else Indexes := Indexes + [CircleBlue];
171
175
end ;
172
176
173
177
case FBatteryState.PowerScheme.OverlaySchemeType of
0 commit comments