Changeset 210 for branches/highdpi/NoTerm.pas
- Timestamp:
- May 9, 2020, 4:02:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/NoTerm.pas
r193 r210 5 5 6 6 uses 7 ScreenTools, Protocol, Messg, LCLIntf, LCLType, dateutils, Platform,8 SysUtils, Classes, Graphics, Controls, Forms, ButtonB, DrawDlg , UDpiControls;7 UDpiControls, ScreenTools, Protocol, Messg, LCLIntf, LCLType, dateutils, Platform, 8 SysUtils, Classes, Graphics, Controls, Forms, ButtonB, DrawDlg; 9 9 10 10 type … … 127 127 RisedTextOut(State.Canvas, 0, 0, Format(Phrases.Lookup('AIT_ROUND'), [Round]) 128 128 + ' ' + TurnToString(G.RO[me].Turn)); 129 DpiBitBlt(Canvas.Handle, 64, 287 + 138, 192, 20, State.Canvas.Handle, 0, 130 0, SRCCOPY); 129 DpiBitCanvas(Canvas, 64, 287 + 138, 192, 20, State.Canvas, 0, 0); 131 130 end; 132 131 … … 174 173 begin 175 174 Invalidate; 176 Update ;175 Update 177 176 end 178 177 else … … 228 227 ToldAlive := G.RO[me].Alive; 229 228 end; 230 Application.ProcessMessages;229 DpiApplication.ProcessMessages; 231 230 if Mode = Quit then 232 231 EndPlaying … … 331 330 yBrain[i] - 16, 64, 64, 0, 0); 332 331 if 1 shl i and G.RO[me].Alive = 0 then 333 DpiBit Blt(Canvas.Handle, xBrain[i], yBrain[i] - 16, 64, 64,334 Shade.Canvas .Handle, 0, 0, SRCAND);332 DpiBitCanvas(Canvas, xBrain[i], yBrain[i] - 16, 64, 64, 333 Shade.Canvas, 0, 0, SRCAND); 335 334 Sprite(Canvas, HGrSystem, xBrain[i] + 30 - 14, yBrain[i] + 53, 14, 336 335 14, 1, 316); … … 368 367 begin 369 368 FormsCreated := true; 370 Application.CreateForm(TNoTermDlg, NoTermDlg);369 DpiApplication.CreateForm(TNoTermDlg, NoTermDlg); 371 370 end; 372 371 NoTermDlg.Client(Command, Player, Data);
Note:
See TracChangeset
for help on using the changeset viewer.