Changeset 178 for branches/highdpi/Packages/CevoComponents/BaseWin.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/CevoComponents/BaseWin.pas
r171 r178 5 5 uses 6 6 ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, 7 DrawDlg ;7 DrawDlg, UDpiControls; 8 8 9 9 type … … 32 32 public 33 33 UsedOffscreenWidth, UsedOffscreenHeight: integer; 34 Offscreen: T Bitmap;35 OffscreenUser: T Form;34 Offscreen: TDpiBitmap; 35 OffscreenUser: TDpiForm; 36 36 property WindowMode: integer read FWindowMode; 37 37 end; … … 72 72 SideFrame = 9; 73 73 74 procedure CreateOffscreen(var Offscreen: T Bitmap);74 procedure CreateOffscreen(var Offscreen: TDpiBitmap); 75 75 procedure Register; 76 76 … … 494 494 end; 495 495 496 procedure CreateOffscreen(var Offscreen: T Bitmap);496 procedure CreateOffscreen(var Offscreen: TDpiBitmap); 497 497 begin 498 498 if Offscreen <> nil then 499 499 exit; 500 Offscreen := T Bitmap.Create;500 Offscreen := TDpiBitmap.Create; 501 501 Offscreen.PixelFormat := pf24bit; 502 502 if Screen.Height - yUnused < 480 then
Note:
See TracChangeset
for help on using the changeset viewer.