mattias
96b6819584
LCL: new autosize: added AutoSizePhase
...
git-svn-id: trunk@22058 -
2009-10-06 16:14:27 +00:00
paul
89b271b14f
lcl: remove dummy constructor and destructor from TMouse class
...
git-svn-id: trunk@22035 -
2009-10-05 03:25:02 +00:00
paul
a3d64e981d
lcl: simplified Mouse.GetCursorPos + formatting
...
git-svn-id: trunk@22034 -
2009-10-05 03:17:37 +00:00
mattias
02b4b8e04b
LCL: newautosize delaying autosize
...
git-svn-id: trunk@21720 -
2009-09-15 22:45:42 +00:00
mattias
313244d699
LCL: merged TWinControl.FControls/FWinControls - needed for layouts
...
git-svn-id: trunk@21707 -
2009-09-15 01:01:00 +00:00
paul
be1d125c88
lcl: distinct AutoCreated TDragObject and AutoFree TDragObject:
...
- first is created internally by LCL if in DragStart none DragObject is passed
- second is a TDragObject which must be auto destructed on drag drop operation finish
(more delphi compatible and fixes issue #0014476 )
git-svn-id: trunk@21544 -
2009-09-03 00:55:03 +00:00
mattias
7799ac78c6
LCL: started new autosizing phases
...
git-svn-id: trunk@21491 -
2009-08-30 21:30:57 +00:00
mattias
074aa39eb1
IDE: disable csSetCaption when creating component, caption is set during loading OR when creating a new component, but not both, needed for empty caption
...
git-svn-id: trunk@21472 -
2009-08-28 06:54:14 +00:00
mattias
8300860867
LCL: reordered variables of TAnchorSide as workaround for bug #14364
...
git-svn-id: trunk@21345 -
2009-08-20 10:39:26 +00:00
sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
523351a53f
lcl: formatting
...
git-svn-id: trunk@21263 -
2009-08-17 16:07:23 +00:00
paul
fd9e3c084e
lcl: properly release control resources on TWinControl.DestroyWnd:
...
- notify child controls (only TControl, not TWinControl) before parent handle destruction to perform appropriate preparations inside controls
- release canvas handle of TGraphicControl when before parent handle destruction
(fixes issue #0014152 )
git-svn-id: trunk@20874 -
2009-07-17 02:44:31 +00:00
paul
9a7b124e9d
lcl: apply "Proper initialization of the docking object" from Hans-Peter Diettrich (issue #0013945 )
...
git-svn-id: trunk@20628 -
2009-06-15 02:18:26 +00:00
mattias
6da7ac1398
LCL: implemented BidiMode for ChildSizing.Layout
...
git-svn-id: trunk@20557 -
2009-06-09 17:39:04 +00:00
paul
8140fd8755
lcl: add more extra mouse buttons support
...
git-svn-id: trunk@20536 -
2009-06-09 04:25:32 +00:00
mattias
e50a4f4556
LCL: TAnchorSide.GetSidePosition check always for circles
...
git-svn-id: trunk@20298 -
2009-05-29 14:24:23 +00:00
paul
656d65cb06
lcl: LDockTree: fix drop to non-empty root zone (issue #0013770 )
...
git-svn-id: trunk@20080 -
2009-05-20 14:55:59 +00:00
paul
4a690c2f5a
lcl: TDockObject: add Dropped property for delphi compatibility (issue #0013427 )
...
git-svn-id: trunk@20067 -
2009-05-20 05:54:07 +00:00
paul
7f29518b52
lcl: add Sender argument to TDockManager.MessageHandler
...
git-svn-id: trunk@20059 -
2009-05-20 02:22:52 +00:00
paul
fe8960bd81
lcl: rename TDockManager.MouseMessage to TDockManager.MessageHandler to allow handling of more messages
...
git-svn-id: trunk@20058 -
2009-05-20 02:19:28 +00:00
paul
3cd340fe31
lcl: formatting
...
git-svn-id: trunk@19966 -
2009-05-15 01:57:42 +00:00
paul
3e258b4ef8
lcl: request Font and Color update after DestroyWnd call to properly restore them after new Handle creation (fixes issue #0011935 )
...
git-svn-id: trunk@19936 -
2009-05-12 05:23:55 +00:00
paul
469effabc4
lcl: don't compare old capture control with new in SetCaptureControl, do it in any case. Read description in comment. Fixes issue #13615 .
...
git-svn-id: trunk@19705 -
2009-04-30 08:21:17 +00:00
paul
4a1309f268
lcl: formatting
...
git-svn-id: trunk@19704 -
2009-04-30 08:04:12 +00:00
paul
670a37d8c4
lcl: add comments why Left, Top, Height, Width have no default values
...
git-svn-id: trunk@19632 -
2009-04-26 12:54:56 +00:00
paul
f422f8db79
lcl: set default value for TControl.DoubleBuffered (issue #0013593 )
...
git-svn-id: trunk@19630 -
2009-04-26 12:15:44 +00:00
paul
cf6f94ec98
lcl: forgotten change
...
git-svn-id: trunk@19437 -
2009-04-15 07:25:50 +00:00
paul
837c2f1563
lcl: cleanup
...
git-svn-id: trunk@19392 -
2009-04-13 01:26:30 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
f7577be51b
lcl: move Dock Image handling from the drag manager to the TDragDockObject (part of issue #0013427 )
...
git-svn-id: trunk@19202 -
2009-04-03 05:59:46 +00:00
paul
e9ab826ce1
lcl: fix TDragObjectEx and other Ex object Create constructors (by patch of Hans-Peter Diettrich, part of #0013427 )
...
git-svn-id: trunk@19187 -
2009-04-01 14:23:44 +00:00
paul
a395aebafc
lcl: drag/dock (from patch of Hans-Peter Diettrich, issue #0013427 )
...
- add TDragObject.AutoCreate constructor
- add TDragObjectEx, TDragControlObjectEx, TDragDockObjectEx for delphi compatibility
- remove TDragDockCommon.FDragObjectAutoFree, use AutoCreated property of TDragObject instead
- simplify TControl.GetFloating
git-svn-id: trunk@19168 -
2009-03-31 06:47:01 +00:00
paul
c501a479b7
lcl: allow to set crNone cursor in the designer (issue #0013424 )
...
git-svn-id: trunk@19160 -
2009-03-30 13:45:16 +00:00
paul
9713e8b48c
lcl: add TControl.AutoSizingLockCount protected read only property for use in child classes,
...
don't remove fsDisableAutoSize in TCustomForm.WMPaint handler if we are inside AutoSizing (fixes bug #0013378 )
git-svn-id: trunk@19071 -
2009-03-23 09:34:48 +00:00
paul
0265fae03f
lcl: implemented GetParentComponent for TControl (part of issue #0013217 ) from Alexander S. Klenin
...
git-svn-id: trunk@18781 -
2009-02-20 17:55:47 +00:00
paul
fbfc224459
lcl: Color property storing (fixes bug #0012322 )
...
- change default ColorIsStored method. It was written probably to override old fpc streaming bug. Now it only checks for ParentColor property. If control want to skip some color storing then simple Default value need to be filled.
- remove TButtonControl.ColorIsStored, TStatusBar.ColorIsStored. Default value for color property do this job
- introduce new function IsColorDefault(AControl: TControl): Boolean; which checks both ParentColor and default color value
- gtk: use IsColorDefault instead of IsColorStored
git-svn-id: trunk@18744 -
2009-02-18 08:40:13 +00:00
sekelsenmat
ddf3663f55
Adds a setShape for regions in TWinControl
...
git-svn-id: trunk@18665 -
2009-02-13 15:35:02 +00:00
paul
e14c92e885
lcl: apply few comments related to docking from Hans-Peter Diettrich (issue #0013118 )
...
git-svn-id: trunk@18625 -
2009-02-10 02:01:54 +00:00
paul
6fc8235611
lcl: apply patch of Stephano to make some method declarations more delphi compatible (issue #0013125 )
...
git-svn-id: trunk@18593 -
2009-02-06 17:50:50 +00:00
paul
80e3207944
fix gtk autosize loop
...
git-svn-id: trunk@18574 -
2009-02-05 02:55:49 +00:00
paul
702dc11c4c
lcl: apply patch of Hans-Peter Diettrich (issue #0013034 ) - Missing dock manager notifications (with small my changes)
...
git-svn-id: trunk@18573 -
2009-02-05 02:06:26 +00:00
paul
68603b956b
lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
...
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
748f663981
lcl: BorderWidth
...
- TWinControl: send CM_BORDERCHANGED when borderwidth property is changed
- TPanel: move DoAdjustClientRectCache to the TWinControl CM_BORDERCHANGED handler; use that handler to handle bevel changes; use TWinControl BorderWidth property instead of own
- implement TForm.BorderWidth (part of issue #0001182 )
git-svn-id: trunk@18513 -
2009-01-31 11:27:20 +00:00
paul
75fcdb8abe
lcl: initial support for arrow keys, handle CM_WANTSPECIALKEY for tabs and arrows
...
git-svn-id: trunk@18461 -
2009-01-27 09:05:42 +00:00
paul
685e4613f7
lcl: add csNoDesignVisible to the HiddenRadioButton of TRadioGroup
...
git-svn-id: trunk@18458 -
2009-01-27 04:18:58 +00:00
paul
949b2781aa
win32: pass WM_CANCELMODE to the LCL,
...
lcl: stop mouse capture on LM_CANCELMODE (issue #0012813 )
git-svn-id: trunk@18393 -
2009-01-23 02:40:28 +00:00
mattias
3502222ac1
LCL: changed default RTTI value of Ctl3d to false
...
git-svn-id: trunk@18353 -
2009-01-20 11:27:10 +00:00
mattias
f8114b3622
fixed typo
...
git-svn-id: trunk@18352 -
2009-01-20 11:15:21 +00:00
paul
10ad596863
lcl: move bidi mode fields and methods to the correct containers, increase visibility of some methods, make SetBidiMode and SetParentBidiMode virtual (mantis #0012971 )
...
git-svn-id: trunk@18266 -
2009-01-13 03:40:42 +00:00
marc
12750cd509
* Allow custom defaults for Borderspacing in derived Controls
...
git-svn-id: trunk@18256 -
2009-01-11 17:22:27 +00:00