Changeset 437 for trunk/LocalPlayer/Battle.pas
- Timestamp:
- May 11, 2022, 9:06:36 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Battle.pas
r352 r437 38 38 BattleDlg: TBattleDlg; 39 39 40 40 41 implementation 41 42 … … 149 150 begin 150 151 if Forecast.EndHealthDef > 0 then 151 RisedTextOut(ca, xm + 10, ym - (TextSize.cy + 1) div 2, LabelText) 152 RisedTextOut(ca, xm + 10, ym - (TextSize.cy + 1) div 2, LabelText); 152 153 end 153 154 else … … 171 172 if Forecast.EndHealthAtt > 0 then 172 173 RisedTextOut(ca, xm - (TextSize.cx + 1) div 2, ym + 8 + LAAvoidedDamage, 173 LabelText) 174 LabelText); 174 175 end 175 176 else … … 240 241 Brush.Style := bsClear; 241 242 PaintBackground(self, 3 + Border, 3 + Border, 242 ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border)) 243 ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border)); 243 244 end; 244 245 Frame(Canvas, Border + 1, Border + 1, ClientWidth - (2 + Border), … … 270 271 205 + (MessageLineSpacing - MessageLineSpacing div 2), s1); 271 272 end; 272 ym := 110 273 ym := 110; 273 274 end 274 275 else … … 297 298 begin 298 299 if not IsSuicideQuery then 299 Close 300 Close; 300 301 end; 301 302 … … 309 310 if Key <> VK_ESCAPE then 310 311 MainScreen.FormKeyDown(Sender, Key, Shift); 311 end 312 end; 312 313 end; 313 314
Note:
See TracChangeset
for help on using the changeset viewer.