Changeset 630
- Timestamp:
- Oct 6, 2024, 10:50:51 AM (7 weeks ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NoTerm.pas
r622 r630 7 7 ScreenTools, Protocol, Messg, LCLIntf, LCLType, DateUtils, Platform, 8 8 SysUtils, Classes, ButtonB, DrawDlg, 9 {$IFDEF DPI}Dpi.Graphics, Dpi.Controls, Dpi.Forms, System.UITypes{$ELSE}9 {$IFDEF DPI}Dpi.Graphics, Dpi.Controls, Dpi.Forms, Dpi.Common, System.UITypes{$ELSE} 10 10 Graphics, Controls, Forms{$ENDIF}; 11 11 -
trunk/Packages/DpiControls/Dpi.Common.pas
r617 r630 38 38 procedure WriteLog(Text: string); 39 39 function GetSystemMetrics(nIndex: Integer): Integer; 40 function InvalidateRect(AHandle: HWND; ARect: PRect; BErase: Boolean): Boolean; 40 41 41 42 resourcestring … … 311 312 end; 312 313 314 function InvalidateRect(AHandle: HWND; ARect: PRect; BErase: Boolean): Boolean; 315 var 316 NativeRect: TRect; 317 begin 318 NativeRect := ScaleRectToNative(ARect^); 319 Result := LCLIntf.InvalidateRect(AHandle, @NativeRect, BErase); 320 end; 321 313 322 function BitBlt(DestDC: HDC; X, Y, Width, Height: Integer; SrcDC: HDC; XSrc, 314 323 YSrc: Integer; Rop: DWORD = SRCCOPY): Boolean;
Note:
See TracChangeset
for help on using the changeset viewer.