- Timestamp:
- Jun 3, 2025, 10:20:19 PM (3 weeks ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/BaseWin.pas
r622 r657 64 64 65 65 const 66 yUnused = 161;67 66 NarrowFrame = 11; 68 67 WideFrame = 36; … … 477 476 478 477 procedure CreateOffscreen(var Offscreen: TBitmap; Width, Height: Integer); 479 var480 NewWidth: Integer;481 NewHeight: Integer;482 478 begin 483 479 if not Assigned(Offscreen) then begin … … 485 481 Offscreen.PixelFormat := TPixelFormat.pf24bit; 486 482 end; 487 if Height - yUnused < 480 then begin 488 NewWidth := Width; 489 NewHeight := 480; 490 end else begin 491 NewWidth := Width; 492 NewHeight := Height - yUnused; 493 end; 494 if (Offscreen.Width <> NewWidth) or (Offscreen.Height <> NewHeight) then begin 495 Offscreen.SetSize(NewWidth, NewHeight); 483 if (Offscreen.Width <> Width) or (Offscreen.Height <> Height) then begin 484 Offscreen.SetSize(Width, Height); 496 485 Offscreen.Canvas.Brush.Color := clBlack; 497 486 Offscreen.Canvas.Brush.Style := TBrushStyle.bsSolid; -
trunk/Packages/DpiControls/Dpi.Common.pas
r630 r657 22 22 {$ENDIF} 23 23 function ScrollDC(Canvas: TCanvas; dx: Longint; dy: Longint; const lprcScroll: TRect; 24 const lprcClip:TRect; hrgnUpdate: H andle; lprcUpdate: PRect): Boolean; overload;24 const lprcClip:TRect; hrgnUpdate: HWND; lprcUpdate: PRect): Boolean; overload; 25 25 function SetWindowPos(hWnd: HWND; hWndInsertAfter: HWND; 26 26 X, Y, cx, cy: Integer; uFlags: UINT): Boolean; … … 202 202 203 203 function ScrollDC(Canvas: TCanvas; dx: Longint; dy: Longint; 204 const lprcScroll: TRect; const lprcClip: TRect; hrgnUpdate: H andle;204 const lprcScroll: TRect; const lprcClip: TRect; hrgnUpdate: HWND; 205 205 lprcUpdate: PRect): Boolean; 206 206 begin -
trunk/readme.txt
r550 r657 24 24 * Home page: https://app.zdechov.net/c-evo/ 25 25 * Source code: https://svn.zdechov.net/c-evo/ 26 * Developed in [http://www.lazarus-ide.org/ Lazarus/FPC] 3.2.026 * Developed in [http://www.lazarus-ide.org/ Lazarus/FPC] 4.0.0 27 27 * To build new Windows installer run Install/build.bat. InnoSetup (http://www.jrsoftware.org/isdl.php) needs to be installed). 28 28
Note:
See TracChangeset
for help on using the changeset viewer.