Changeset 178 for branches/highdpi/LocalPlayer/Select.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Select.pas
r89 r178 5 5 6 6 uses 7 Protocol, ClientTools, Term, ScreenTools, IsoEngine, PVSB, BaseWin, 8 7 Protocol, ClientTools, Term, ScreenTools, IsoEngine, PVSB, BaseWin, UDpiControls, 9 8 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 9 ExtCtrls, ButtonB, ButtonBase, Menus, Types; … … 53 52 Column: array [0 .. nPl - 1] of integer; 54 53 Closable, MultiPage: boolean; 55 ScienceNationDot: T Bitmap;54 ScienceNationDot: TDpiBitmap; 56 55 procedure ScrollBarUpdate(Sender: TObject); 57 56 procedure InitLines; 58 procedure line(ca: T Canvas; l: integer; NonText, lit: boolean);57 procedure line(ca: TDpiCanvas; l: integer; NonText, lit: boolean); 59 58 function RenameCity(cix: integer): boolean; 60 59 function RenameModel(mix: integer): boolean; … … 110 109 Layer1Btn.Hint := Phrases.Lookup('BTN_WONDERS'); 111 110 Layer2Btn.Hint := Phrases.Lookup('BTN_CLASSES'); 112 ScienceNationDot := T Bitmap.Create;111 ScienceNationDot := TDpiBitmap.Create; 113 112 ScienceNationDot.PixelFormat := pf24bit; 114 113 ScienceNationDot.SetSize(17, 17); … … 181 180 end; 182 181 183 procedure TListDlg.line(ca: T Canvas; l: integer; NonText, lit: boolean);182 procedure TListDlg.line(ca: TDpiCanvas; l: integer; NonText, lit: boolean); 184 183 // paint a line 185 184
Note:
See TracChangeset
for help on using the changeset viewer.