Changeset 178 for branches/highdpi/LocalPlayer/TechTree.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/TechTree.pas
r170 r178 6 6 uses 7 7 ScreenTools, Messg, LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, 8 Controls, Forms, ButtonBase, ButtonB, DrawDlg ;8 Controls, Forms, ButtonBase, ButtonB, DrawDlg, UDpiControls; 9 9 10 10 type … … 23 23 private 24 24 xOffset, yOffset, xDown, yDown: Integer; 25 Image: T Bitmap;25 Image: TDpiBitmap; 26 26 dragging: boolean; 27 27 end; … … 30 30 TechTreeDlg: TTechTreeDlg; 31 31 32 33 32 implementation 34 33 35 34 uses 36 Directories , PixelPointer;35 Directories; 37 36 38 37 {$R *.lfm} … … 126 125 if Image = nil then 127 126 begin 128 Image := T Bitmap.Create;127 Image := TDpiBitmap.Create; 129 128 Image.PixelFormat := pf24bit; 130 129 LoadGraphicFile(Image, HomeDir + 'Help' + DirectorySeparator + 'AdvTree.png', gfNoGamma);
Note:
See TracChangeset
for help on using the changeset viewer.