Changeset 178 for branches/highdpi/LocalPlayer/NatStat.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/NatStat.pas
r104 r178 5 5 6 6 uses 7 Protocol, ClientTools, Term, ScreenTools, BaseWin, 8 7 Protocol, ClientTools, Term, ScreenTools, BaseWin, UDpiControls, 9 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, 10 9 ButtonB, ButtonC, Menus, EOTButton; … … 45 44 SelfReport, CurrentReport: PEnemyReport; 46 45 ShowContact, ContactEnabled: boolean; 47 Back, Template: T Bitmap;46 Back, Template: TDpiBitmap; 48 47 ReportText: TStringList; 49 48 procedure GenerateReportText; … … 87 86 ContactBtn.Hint := Phrases.Lookup('BTN_DIALOG'); 88 87 89 Back := T Bitmap.Create;88 Back := TDpiBitmap.Create; 90 89 Back.PixelFormat := pf24bit; 91 90 Back.SetSize(Width, Height); 92 91 Back.Canvas.FillRect(0, 0, Back.Width, Back.Height); 93 Template := T Bitmap.Create;92 Template := TDpiBitmap.Create; 94 93 Template.PixelFormat := pf24bit; 95 94 LoadGraphicFile(Template, HomeDir + 'Graphics' + DirectorySeparator + 'Nation.png', gfNoGamma);
Note:
See TracChangeset
for help on using the changeset viewer.