Changeset 531 for trunk/LocalPlayer/Nego.pas
- Timestamp:
- Mar 27, 2024, 12:31:14 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Nego.pas
r522 r531 481 481 procedure TNegoDlg.OffscreenPaint; 482 482 var 483 I, cred: Integer;483 I, Cred: Integer; 484 484 S: string; 485 485 OkEnabled: Boolean; … … 600 600 // show credibility 601 601 Offscreen.Canvas.Font.Assign(UniFont[ftTiny]); 602 cred := MyRO.EnemyReport[DipMem[Me].pContact].Credibility;603 case cred of602 Cred := MyRO.EnemyReport[DipMem[Me].pContact].Credibility; 603 case Cred of 604 604 0 .. 49: 605 605 I := 3; … … 609 609 I := 1; 610 610 end; 611 PaintProgressBar(Offscreen.Canvas, I, xCred0, yCred0 + 17, ( cred + 2) div 5,611 PaintProgressBar(Offscreen.Canvas, I, xCred0, yCred0 + 17, (Cred + 2) div 5, 612 612 0, 20, MainTexture); 613 S := IntToStr( cred);613 S := IntToStr(Cred); 614 614 RisedTextOut(Offscreen.Canvas, xCred0 + 10 - 615 615 (BiColorTextWidth(Offscreen.Canvas, S) + 1) div 2, yCred0, S);
Note:
See TracChangeset
for help on using the changeset viewer.