Changeset 178 for branches/highdpi/NoTerm.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/NoTerm.pas
r144 r178 6 6 uses 7 7 ScreenTools, Protocol, Messg, LCLIntf, LCLType, dateutils, Platform, 8 SysUtils, Classes, Graphics, Controls, Forms, ButtonB, DrawDlg ;8 SysUtils, Classes, Graphics, Controls, Forms, ButtonB, DrawDlg, UDpiControls; 9 9 10 10 type … … 25 25 G: TNewGameData; 26 26 Server: TServerCall; 27 Shade, State: T Bitmap;27 Shade, State: TDpiBitmap; 28 28 WinStat, ExtStat, AloneStat: array [0 .. nPl - 1] of integer; 29 29 DisallowShowActive: array [0 .. nPl - 1] of boolean; … … 147 147 Server := TInitModuleData(Data).Server; 148 148 TInitModuleData(Data).Flags := aiThreaded; 149 Shade := T Bitmap.Create;149 Shade := TDpiBitmap.Create; 150 150 Shade.SetSize(64, 64); 151 151 for x := 0 to 63 do … … 155 155 else 156 156 Shade.Canvas.Pixels[x, y] := $000000; 157 State := T Bitmap.Create;157 State := TDpiBitmap.Create; 158 158 State.SetSize(192, 20); 159 159 State.Canvas.Brush.Style := bsClear; … … 174 174 begin 175 175 Invalidate; 176 Update 176 Update; 177 177 end 178 178 else
Note:
See TracChangeset
for help on using the changeset viewer.