Changeset 630 for trunk/Packages/DpiControls
- Timestamp:
- Oct 6, 2024, 10:50:51 AM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.