Commit Graph

772 Commits

Author SHA1 Message Date
ondrej
a55241308e revert r52494, r52500 #48fe37a204: they caused crashes in Carbon interface. Issue #30003
git-svn-id: trunk@52703 -
2016-07-17 04:12:46 +00:00
ondrej
dd7ec70032 lcl: TControlCanvas: don't allow to empty handle if there is a pre-allocated FDeviceContext handle. Solves issue #30003
git-svn-id: trunk@52494 -
2016-06-12 19:41:44 +00:00
ondrej
33de4ee12d lcl: do CheckTransparentWindow also for TWinControl tree within a form.
git-svn-id: trunk@52385 -
2016-05-24 20:16:28 +00:00
ondrej
7775747072 lcl: controls: do CheckTransparentWindow only for a form.
git-svn-id: trunk@52384 -
2016-05-24 18:48:33 +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
744b5e7ca8 lcl: CheckTransparentWindow: ignore nested transparent windows.
git-svn-id: trunk@52370 -
2016-05-23 17:13:54 +00:00
ondrej
30f2c5f007 LCL: add CheckTransparentWindow procedure to add support for WM_NCHITTEST=HTTRANSPARENT windows on non-win32 widgetsets.
git-svn-id: trunk@52356 -
2016-05-23 13:55:01 +00:00
ondrej
0897600234 LCL: add TControlAtPosFlag.capfOnlyWinControls
git-svn-id: trunk@52355 -
2016-05-23 13:51:54 +00:00
ondrej
7da309900e LCL: support CM_CHANGED message (Delphi compatibility).
git-svn-id: trunk@52321 -
2016-05-17 16:41:32 +00:00
ondrej
87c63ee431 lcl: add TControlBorderSpacing.Around* properties
git-svn-id: trunk@52146 -
2016-04-08 11:03:11 +00:00
ondrej
9ed3c75499 lcl: add TControlBorderSpacing.ControlRight and -Bottom
git-svn-id: trunk@52024 -
2016-03-23 08:43:01 +00:00
ondrej
e26b2a0a3c lcl: change anchor space parameters to TSpacingSize. Issue #29567
git-svn-id: trunk@52006 -
2016-03-21 11:22:28 +00:00
ondrej
37913b5e66 lcl: allow negative values for TSpacingSize, allow negative offsets.
git-svn-id: trunk@51931 -
2016-03-14 07:26:55 +00:00
ondrej
23f31975f0 lcl: fix Linux compilation after r51821 #be5322bd6d, Issue #29766
git-svn-id: trunk@51822 -
2016-03-04 06:44:48 +00:00
ondrej
be5322bd6d lcl: fix overflows in mouse messages if mouse position exceeds smallint. Issue #29766
git-svn-id: trunk@51821 -
2016-03-04 06:06:04 +00:00
ondrej
dfaba8f0d8 lcl: add WinHandle check into CheckMouseButtonDownUp in case AWinControl is nil. Issue #29769
git-svn-id: trunk@51803 -
2016-03-02 14:29:31 +00:00
ondrej
8d04ffd73b lcl: force use only double clicks in design time
git-svn-id: trunk@51790 -
2016-03-01 16:20:52 +00:00
ondrej
7b141be77b lcl: fix multi click control style to target control.
git-svn-id: trunk@51735 -
2016-02-28 03:53:45 +00:00
ondrej
84a559fbad lcl: unify multiclick mouse message handling for all widgetsets
git-svn-id: trunk@51722 -
2016-02-27 06:21:22 +00:00
mattias
16ca8935b5 lcl: added SM_LCLHasFormAlphaBlend to GetSystemMetrics, added OnDrawDockImage, when widgetset supports alphablend use a transparent hint window for dock (preview) image, patch #29426
git-svn-id: trunk@51340 -
2016-01-19 17:15:03 +00:00
juha
6bb18f6fbd LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067.
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
ondrej
a562122e19 LCL: move BorderSpacing.Control* properties in public section.
git-svn-id: trunk@50383 -
2015-11-18 06:30:18 +00:00
ondrej
7f3a0f94b2 LCL: added TControlBorderSpacing.Control* properties (compatibility to Delphi's TMargins.Control*)
git-svn-id: trunk@50356 -
2015-11-17 10:38:42 +00:00
juha
fdde7f3583 LCL: Make TUpDown.ArrowKeys work. Issue #28537, patch from Denis Kozlov.
git-svn-id: trunk@49726 -
2015-08-29 11:59:12 +00:00
juha
64e74b9e18 LCL: Show all Cursor values in Object Inspector. Issue #28402.
git-svn-id: trunk@49555 -
2015-07-18 08:20:56 +00:00
juha
41ca5227fd LCL: New CanSetFocus function with whole parent tree check. Work better than CanFocus in many cases. Issue #21708, patch from Ondrej Pokorny.
git-svn-id: trunk@49526 -
2015-07-11 23:27:51 +00:00
juha
11612bcf6b LCL: Use "real" system capture for TMouse.capture property. Issue #28238, patch from Andrew G. Khodotov.
git-svn-id: trunk@49254 -
2015-06-03 17:23:21 +00:00
mattias
2d13dc3be6 LCL: fixed typo
git-svn-id: trunk@48683 -
2015-04-08 20:58:23 +00:00
mattias
094fd462f5 LCL: TScrollingWincontrol: GetLogicalClientRect: independent of AutoScroll to avoid cycle, GetPreferredSize: independent of AutoScroll, added extra checks if LCL clientrect is not in sync with widgetset, improved debugging preferredsize
git-svn-id: trunk@47873 -
2015-02-17 23:58:41 +00:00
giuliano
ed5fd30d67 LCL: issue #0014257 - SetCursor faulty under GTK2 - changes cursor for
wrong control

files controls.pp and include/graphiccontrol.inc

git-svn-id: trunk@47814 -
2015-02-15 23:26:26 +00:00
mattias
9e66742aeb LCL: comments
git-svn-id: trunk@46496 -
2014-10-09 16:22:34 +00:00
mattias
dd86099d37 LCL: comments
git-svn-id: trunk@46474 -
2014-10-07 23:55:26 +00:00
juha
e89095b1a4 LCL: Implement TControl.EndDrag. Issue #25138, patch from ocean.
git-svn-id: trunk@46392 -
2014-10-01 14:41:15 +00:00
juha
4b38ed7b2b LCL: use constants in controlconsts.inc. Issue #26673, patch from ocean.
git-svn-id: trunk@46216 -
2014-09-13 21:28:55 +00:00
mattias
9d3226d369 LCL: removed TControl.ParentVisibleChanged
git-svn-id: trunk@46188 -
2014-09-11 16:52:52 +00:00
mattias
db564054c4 LCL: added TControl.ParentVisibleChanged
git-svn-id: trunk@46184 -
2014-09-11 16:40:12 +00:00
mattias
cc8a8f9740 LCL: clean up
git-svn-id: trunk@46181 -
2014-09-11 16:03:48 +00:00
juha
9d6fca6e69 LCL + Designer: A new flag TWinControl.DesignerDeleting. Make TPairSplitter use it. Issue #26618
git-svn-id: trunk@46072 -
2014-08-24 15:58:09 +00:00
juha
90b05dca85 LCL: Remove deprecated TWinControl.AutoSizeCanStart.
git-svn-id: trunk@45788 -
2014-07-05 14:56:46 +00:00
mattias
debddcec44 LCL: gtk2: dropfiles for sub forms
git-svn-id: trunk@45559 -
2014-06-16 22:24:44 +00:00
mattias
1417fc6edf LCL: comment
git-svn-id: trunk@44868 -
2014-05-01 14:00:37 +00:00
mattias
0f7890690f lcl: made TControlBorderSpacing.GetSpace/GetSpaceAround virtual, patch #26048
git-svn-id: trunk@44805 -
2014-04-26 08:29:52 +00:00
mattias
2f637d4295 LCL: fixed typo GetChildsRect GetChildrenRect
git-svn-id: trunk@44663 -
2014-04-09 15:12:36 +00:00
juha
41f1295739 LCL: GetParentHandle and GetTopParentHandle for TWinControl. Issue #25813, patch from ocean.
git-svn-id: trunk@44453 -
2014-03-16 23:26:56 +00:00
mattias
1fe37e15a2 fixed spelling mistakes, found by lintian
git-svn-id: trunk@43900 -
2014-02-05 12:07:46 +00:00
juha
5c1f0c896b Revert r42752 #8caba4283d making TWinControl.GetChildren public. It was incomplete.
git-svn-id: trunk@42757 -
2013-09-12 15:34:02 +00:00
juha
8caba4283d LCL: Make TWinControl.GetChildren public. Issue #24974, patch from Stephano.
git-svn-id: trunk@42752 -
2013-09-12 10:13:03 +00:00
juha
023fd6ba9b LCL: rename TCMMouseWheel.WheelData to WheelDelta. Issue #24989, patch from Stephano
git-svn-id: trunk@42751 -
2013-09-12 10:07:30 +00:00
juha
aa33021670 LCL: Make TWinControl.GetTabOrderList virtual. Issue #24969, patch from Stephano
git-svn-id: trunk@42672 -
2013-09-07 23:20:33 +00:00