Changeset 178 for branches/highdpi/LocalPlayer/Nego.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Nego.pas
r174 r178 6 6 uses 7 7 ScreenTools, BaseWin, Protocol, Term, LCLType, SysUtils, Classes, Graphics, 8 Controls, Forms, ButtonA, ButtonB, ButtonN ;8 Controls, Forms, ButtonA, ButtonB, ButtonN, UDpiControls; 9 9 10 10 const … … 15 15 type 16 16 THistory = record 17 n: Integer;18 Text: array [0 .. MaxHistory - 1] of ansistring;19 end; 20 21 TCommandAllowedEnum = scDipNoticeStart ..scDipBreakStart;17 n: integer; 18 Text: array [0 .. MaxHistory - 1] of ansistring; 19 end; 20 21 TCommandAllowedEnum = scDipNoticeStart .. scDipBreakStart; 22 22 23 23 { TNegoDlg } … … 83 83 CommandAllowed: set of TCommandAllowedEnum; 84 84 History: array [0 .. nPl - 1] of THistory; 85 RomanFont: T Font;85 RomanFont: TDpiFont; 86 86 Costs, Delivers: array [0 .. 11] of cardinal; 87 87 procedure ResetCurrentOffer; … … 161 161 162 162 fillchar(History, sizeof(History), 0); 163 RomanFont := T Font.Create;163 RomanFont := TDpiFont.Create; 164 164 RomanFont.Name := 'Times New Roman'; 165 165 RomanFont.Size := Round(144 * 72 / RomanFont.PixelsPerInch);
Note:
See TracChangeset
for help on using the changeset viewer.