Commit Graph

651 Commits

Author SHA1 Message Date
ondrej
e58e0a48d1 LCL: themes: high-DPI DrawIcon
git-svn-id: trunk@57929 -
2018-05-13 21:25:07 +00:00
michl
e34bbc5c6f LCL: Fixed OnKeyUp for special keys when key was handled in OnKeyDown. Issue #33196
git-svn-id: trunk@57331 -
2018-02-19 23:28:20 +00:00
ondrej
d7f8f5e5f6 LCL: High-DPI: fix font scaling and design-time scaling. Issues #32882 and #32944
git-svn-id: trunk@56962 -
2018-01-05 08:10:01 +00:00
juha
f79dd3199d LCL: Support horizontal mouse wheel messages. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56642 -
2017-12-05 21:30:57 +00:00
juha
93f48e1da6 LCL: Improve giving focus to docked windows from Windows menu. Issue #32659, patch from Pascal Riekenberg.
git-svn-id: trunk@56417 -
2017-11-16 11:19:00 +00:00
mattias
62ed571049 lcl: TBitBtn: bkClose on nested form will only close the non docked form
git-svn-id: trunk@56215 -
2017-10-27 12:29:03 +00:00
michl
f4679b14e6 LCL: TScrollingWinControl: Fixed ControlAtPos after Delphi compatible change of ScreenToClient and ClientToScreen. Issue #32392.
git-svn-id: trunk@55857 -
2017-09-13 19:29:11 +00:00
michl
e129389c1f LCL: ScrollingWinControl: Fixed ClientToScreen and ScreenToClient. Issue #32392
git-svn-id: trunk@55833 -
2017-09-10 21:18:13 +00:00
ondrej
da83c81a2a LCL: TScrollBox: add ParentBackground property. Issue #32090
git-svn-id: trunk@55778 -
2017-09-03 09:58:41 +00:00
ondrej
99922e83ea clean up
git-svn-id: trunk@55735 -
2017-08-22 07:08:28 +00:00
ondrej
380e645438 LCL: remove deprecated methods and properties (that were tagged to be removed in 1.9)
git-svn-id: trunk@55713 -
2017-08-20 10:25:04 +00:00
ondrej
9fc42932fb lcl: hint window: move paint to protected
git-svn-id: trunk@55602 -
2017-07-30 08:40:28 +00:00
ondrej
de2663825e lcl: forms: rename OffsetHintRect parameter NewPos->AOffset to make it clearer
git-svn-id: trunk@55166 -
2017-06-02 20:08:33 +00:00
ondrej
cd76f09f06 LCL: hintwindow: add parameter to shrink window size on OffsetRect.
git-svn-id: trunk@55141 -
2017-06-01 11:40:50 +00:00
ondrej
96886b5551 lcl: forms: scale TFrame the same as TForm. Issue #31807
git-svn-id: trunk@54898 -
2017-05-13 20:00:29 +00:00
ondrej
d40aae2903 lcl: forms: don't check for old value in UpdateShowInTaskBar. Issue #31248, patch by Michl
git-svn-id: trunk@54722 -
2017-04-25 08:14:10 +00:00
mattias
bd694b92c0 lcl: added ifdef to let fpdoc parse through
git-svn-id: trunk@54521 -
2017-04-04 21:18:10 +00:00
juha
0942c356a3 LCL: Publish TForm.OnConstrainedResize. Issue #31592, patch from AlexeyT.
git-svn-id: trunk@54483 -
2017-03-26 10:39:53 +00:00
juha
93da17aa07 LCL: Refactoring, combine identical code in TScreen to a function.
git-svn-id: trunk@54465 -
2017-03-22 17:17:21 +00:00
ondrej
43f6f51029 lcl: forms: add GetParentDesignControl
git-svn-id: trunk@54433 -
2017-03-17 18:39:19 +00:00
ondrej
134d8be1e9 LCL: hint window: fix default (theme) font after r54293 #2bac2f4e5a
git-svn-id: trunk@54304 -
2017-02-28 09:10:14 +00:00
ondrej
eeff7db7c3 LCL: rename DPI parameters to PPI
git-svn-id: trunk@54218 -
2017-02-21 10:56:42 +00:00
ondrej
592b495a47 LCL: HighDPI: use relative font scaling, not the absolute PPI (fix for r54210 #eb28e06e83). Issue #31276
git-svn-id: trunk@54211 -
2017-02-20 15:04:02 +00:00
ondrej
eb28e06e83 LCL: HighDPI: fix font scaling. Issue #31276
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
ondrej
1c7e92643d LCL, IDE: HighDPI: add Application.Scaled and Project1.Scaled property for automatic LCL-driven scaling
git-svn-id: trunk@54199 -
2017-02-19 20:02:58 +00:00
juha
73aa9aa4bb Order uses sections again to see dependencies better.
git-svn-id: trunk@53738 -
2016-12-20 16:26:44 +00:00
ondrej
8c7043289d lcl: forms: add AutoScale method and execute it when setting Scaled := True
git-svn-id: trunk@53692 -
2016-12-15 09:00:04 +00:00
ondrej
d770925929 lcl: customform: don't change TopLeft in DoAutoAdjustLayout
git-svn-id: trunk@53690 -
2016-12-15 08:36:22 +00:00
ondrej
9ec0b84232 lcl: add TMonitor.PixelsPerInch
git-svn-id: trunk@53687 -
2016-12-15 08:18:10 +00:00
ondrej
c2e239e881 lcl: forms: move the DesignTimeDPI and Scaled properties from TForm to TCustomDesignControl - TFrame needs it as well.
git-svn-id: trunk@53622 -
2016-12-09 22:58:54 +00:00
ondrej
a8d1a4e375 lcl: forms: set PixelsPerInch to DesignTimePPI in Loaded to correctly scale forms designed on highDPI displays.
git-svn-id: trunk@53609 -
2016-12-09 08:21:25 +00:00
ondrej
7ba71b1ba4 lcl: forms: introduce the LCLScaleForms define for enabling default Scaled=True
git-svn-id: trunk@53608 -
2016-12-09 07:51:42 +00:00
ondrej
e7b8a7cf27 lcl: highDPI: rename AScaleFonts parameter to AScale0Fonts and change its behavior. Issue #31083
git-svn-id: trunk@53594 -
2016-12-07 22:22:50 +00:00
ondrej
f1f10c72f9 lcl, ide: highDPI: make designer DPI-aware
git-svn-id: trunk@53584 -
2016-12-06 21:28:02 +00:00
ondrej
33199744d0 lcl: highDPI: use TCustomDesignControl as ancestor for TFrame and TForm to share PPI properties.
git-svn-id: trunk@53580 -
2016-12-06 19:28:48 +00:00
ondrej
11cc148c2f lcl: highDPI: rename DesignTimeDPI to DesignTimePPI to comply with property <P>ixels<P>er<I>nch
git-svn-id: trunk@53572 -
2016-12-06 13:45:47 +00:00
ondrej
38e6533972 lcl: forms: highDPI: Implement TFrame.PixelsPerInch
git-svn-id: trunk@53536 -
2016-12-03 06:47:02 +00:00
ondrej
219391b44a lcl: forms: set TForm.DesignTimeDPI default value
git-svn-id: trunk@53534 -
2016-12-02 23:10:31 +00:00
ondrej
bef77cd46b lcl: forms: implement TFrame.DesignTimeDPI
git-svn-id: trunk@53533 -
2016-12-02 23:09:42 +00:00
ondrej
337925d861 lcl: forms: highDPI: don't read TCustomForm.PixelsPerInch from Screen but use rather the value from design-time and update it on scale.
git-svn-id: trunk@53512 -
2016-12-01 21:38:39 +00:00
ondrej
9d221a90f6 lcl: forms: highDPI: call ScaleBy automatically on LM_DPICHANGED when Scaled=True.
git-svn-id: trunk@53498 -
2016-11-30 23:29:09 +00:00
ondrej
4bccf7cae5 LCL: forms: highDPI: set DesignTimeDPI automatically by the IDE, don't allow to change it manually.
git-svn-id: trunk@53497 -
2016-11-30 23:27:37 +00:00
ondrej
9b0d88e504 LCL: forms: add scaled property. Issue #27075
git-svn-id: trunk@53495 -
2016-11-30 23:24:09 +00:00
ondrej
6f5fa419e8 lcl: change OnExceptionCircle to OnCircularException, remove handler list.
git-svn-id: trunk@52730 -
2016-07-20 18:01:57 +00:00
ondrej
6fb78bd5f9 lcl: application: add handlers to exception circle.
git-svn-id: trunk@52713 -
2016-07-19 06:10:56 +00:00
ondrej
69fd011685 lcl: hint window: render user-defined font.
git-svn-id: trunk@52383 -
2016-05-24 18:36:28 +00:00
ondrej
92c16d5513 lcl: revert r52377 #a7f5af9c78, it collided with Gtk2 WS code.
git-svn-id: trunk@52380 -
2016-05-24 03:50:42 +00:00
ondrej
a7f5af9c78 lcl: add new form style fsIgnoreMouseEvents. use it instead of windows-specific WM_NCHITTEST=HTTRANSPARENT.
git-svn-id: trunk@52377 -
2016-05-23 21:47:00 +00:00
ondrej
4c522305c1 lcl: THintWindow: public mouse messages
git-svn-id: trunk@52361 -
2016-05-23 15:24:23 +00:00
ondrej
e9c686e804 win32: forward unhandled mousewheel messages to parent in order to support scrolling when mouse cursor is on child wincontrol.
git-svn-id: trunk@52045 -
2016-03-24 15:24:14 +00:00