paul
820cc2f396
fix mem leak in docking code
...
git-svn-id: trunk@14496 -
2008-03-12 09:49:10 +00:00
mattias
29340e990e
LCL: anchordocking: fixed auto undocking of last child
...
git-svn-id: trunk@14161 -
2008-02-16 18:33:56 +00:00
paul
e533a2bb89
dockheader: handle also CM_MOUSELEAVE message
...
git-svn-id: trunk@14131 -
2008-02-14 09:10:15 +00:00
paul
8c92b3ba66
docking: improve text drawing in TDockHeader
...
git-svn-id: trunk@14106 -
2008-02-12 09:09:31 +00:00
paul
2a41b470fd
create array of dock images in TLazDockForm and TLazDockTree and use it in header drawing (it is better than create bitmap on every draw)
...
git-svn-id: trunk@14091 -
2008-02-11 15:01:33 +00:00
mattias
e08cf5abf5
LCL: anchordocking: TlazDockForm: fixed invalidate on MouseLeave
...
git-svn-id: trunk@14090 -
2008-02-11 14:36:46 +00:00
mattias
57ee3d33a0
LCL: anchordocking: fixed uninitialized records
...
git-svn-id: trunk@14089 -
2008-02-11 14:30:19 +00:00
mattias
84a2ec0155
LCL: anchordocking: updating TLazDockForm.Caption when switching page in nested TLazDockPages
...
git-svn-id: trunk@14088 -
2008-02-11 14:27:31 +00:00
paul
fc14dbf587
improve dock header redrawing
...
git-svn-id: trunk@14087 -
2008-02-11 13:56:59 +00:00
mattias
36f6495e18
LCL: anchordocking: updating TLazDockForm.Caption when adding controls to a nested TLazDockPage
...
git-svn-id: trunk@14086 -
2008-02-11 13:27:07 +00:00
mattias
9a67a4094d
LCL: anchordocking: undock: setting some default bounds to reduce window jumping only if changing parent
...
git-svn-id: trunk@14085 -
2008-02-11 13:13:51 +00:00
mattias
68328b837b
LCL: anchordocking: undock: setting some default bounds to reduce window jumping
...
git-svn-id: trunk@14084 -
2008-02-11 13:10:23 +00:00
mattias
41fa8addf2
LCL: anchordocking: combining spiral splitters: fixed enlarging splitter
...
git-svn-id: trunk@14083 -
2008-02-11 12:35:08 +00:00
mattias
54bf460d15
LCL: added TDockManager.AutoFreeByControl: boolean needed by shared docking managers
...
git-svn-id: trunk@14081 -
2008-02-11 11:51:29 +00:00
mattias
b5730a0075
LCL: anchordocking: auto undock if remaining is only one control
...
git-svn-id: trunk@14080 -
2008-02-11 11:15:58 +00:00
mattias
216d9689df
LCL: anchordocking: TCustomAnchoredDockManager now sets DockManager and UseDockManager
...
git-svn-id: trunk@14076 -
2008-02-10 23:31:32 +00:00
mattias
28d926e861
LCL: anchordocking: fixed freeing TLazDockForm on undock
...
git-svn-id: trunk@14075 -
2008-02-10 23:29:07 +00:00
mattias
11e7b203ca
LCL: anchordocking: ManualFloat now calls DoUnDockClientMsg if HostDockSIte=nil and DockManager set
...
git-svn-id: trunk@14074 -
2008-02-10 23:21:27 +00:00
paul
fa24c54a9c
use '.Dock' instead of 'Parent :=' then BorderStyle will be preserved
...
git-svn-id: trunk@14064 -
2008-02-10 09:21:22 +00:00
paul
3ab568e9ad
docking: split mouse down and mouse handling: mouse up - for buttons, mouse down - for header
...
git-svn-id: trunk@14063 -
2008-02-10 09:14:11 +00:00
paul
4f7164b77c
docking:
...
- add special png images for docking (mdi buttons differ between widgetsets and not so informative)
- use toolbutton + image drawing instead of mdi button drawing
- track mouse on dock header (buttons become how and pressed)
- execute button actions on mouse-up instead of mouse-down
git-svn-id: trunk@14062 -
2008-02-10 08:52:06 +00:00
mattias
a51b0eced1
LCL: anchordocking: started using TCustomLazDockingManager as LCL docking manager
...
git-svn-id: trunk@14060 -
2008-02-10 00:19:14 +00:00
paul
6a8326732d
dont draw dock header for invisible controls
...
git-svn-id: trunk@14048 -
2008-02-09 14:31:05 +00:00
paul
8762e825c2
docking: implement header click
...
git-svn-id: trunk@14047 -
2008-02-09 14:29:21 +00:00
paul
15151ee192
docking:
...
- refactor dock header part searching
- start handle mouse messages for dock header
git-svn-id: trunk@14034 -
2008-02-08 17:20:40 +00:00
mattias
1ca8d4b353
LCL: anchordocking: added owner for TlazDockForms, implemented DragOver for TlazDockForm
...
git-svn-id: trunk@14032 -
2008-02-08 15:06:19 +00:00
mattias
7e96f598d5
LCL: anchordocking: implemented BeginDrag when mouse down on header, not buttons
...
git-svn-id: trunk@14031 -
2008-02-08 14:00:39 +00:00
mattias
cdbaf61026
LCL: anchordocking: removed tlazdockform.fdockzone
...
git-svn-id: trunk@14028 -
2008-02-08 13:35:01 +00:00
paul
0230315a7c
docking:
...
- workaround fpc linker bug (in ldockctrl)
- move things related to header drawing to separate class TDockHeader
- use 'Control.Dock' instead of 'Control.Parent :=' in anchor-docking (now anchordocking demo looks much better under win32)
git-svn-id: trunk@14025 -
2008-02-08 02:51:59 +00:00
mattias
0bd4b1c1ab
LCL: anchordocking: implemented utility functions for headers
...
git-svn-id: trunk@14024 -
2008-02-07 21:20:59 +00:00
mattias
1337670e24
LCL: anchordocking: updating title on restore
...
git-svn-id: trunk@14022 -
2008-02-07 19:02:26 +00:00
paul
016f6c1c6e
docking: fix crash
...
git-svn-id: trunk@14008 -
2008-02-07 00:07:46 +00:00
paul
6c623426f8
draw dock header with rotated font (in case of vertical header)
...
git-svn-id: trunk@14007 -
2008-02-06 23:57:08 +00:00
paul
0b69fd9a95
docking allocate space for dock header
...
git-svn-id: trunk@14006 -
2008-02-06 23:53:40 +00:00
mattias
cb9458c6c0
LCL: anchordocking: enlargecontrol: updating title
...
git-svn-id: trunk@14003 -
2008-02-06 14:38:21 +00:00
mattias
c505ab3682
LCL: anchordocking: implemented painting titles
...
git-svn-id: trunk@14000 -
2008-02-06 14:03:30 +00:00
mattias
2f93d7ffe0
LCL: anchordocking: added titlewidth,height to TCustomAnchoredDockManager
...
git-svn-id: trunk@13999 -
2008-02-06 13:45:08 +00:00
mattias
f3efce1701
LCL: anchor docking: auto cleanup on undock/hiding, undocking pages, anchoring on manualfloat for non forms, fixed undocking pages, TSplitter: fixed anchor splitter max/min
...
git-svn-id: trunk@13760 -
2008-01-15 19:31:02 +00:00
mattias
21bc42839b
LCL: fixed compilation for fpc 2.3.1
...
git-svn-id: trunk@13692 -
2008-01-09 19:41:37 +00:00
paul
be879539ca
- move OnGetDockCaption and friends to TWinControl
...
- some improvements to dock header drawing
git-svn-id: trunk@13681 -
2008-01-09 09:08:12 +00:00
mattias
6d8157c7f3
LCL: replaced comment with IFDEF VER2_0
...
git-svn-id: trunk@13674 -
2008-01-08 23:58:40 +00:00
mattias
0da528ffe8
LCL: TLazDockTree: implemented RemoveControl, refactored: TDragManager ancestor to TComponent, fixed undocking
...
git-svn-id: trunk@13673 -
2008-01-08 23:38:14 +00:00
paul
b56d496934
fix fpc 2.0.4 compilation by Giuliano request
...
git-svn-id: trunk@13668 -
2008-01-08 15:11:21 +00:00
paul
db8928bd1c
dockSite: call paint dock frame only only for docked controls
...
git-svn-id: trunk@13653 -
2008-01-06 10:09:46 +00:00
paul
e4cc92429b
use MDI buttons for dock frame painting
...
git-svn-id: trunk@13635 -
2008-01-05 17:13:05 +00:00
mattias
0eda8d5b38
LCL: improved painting dock frame e.g. TLazDockTree.PaintDockFrame from Paul
...
git-svn-id: trunk@13632 -
2008-01-05 16:39:32 +00:00
mattias
3e34d8a699
LCL: anchor docking: fixed cleaning up when docker is freed, Examples: anchor docking: added test case for clearing layouts
...
git-svn-id: trunk@13623 -
2008-01-04 19:15:47 +00:00
mattias
34f204e389
LCL: fixed crash on anchor docking form as page
...
git-svn-id: trunk@13594 -
2008-01-02 23:19:44 +00:00
mattias
cbedb2962f
LCL: anchor docking: started restoring page in neighbourhod
...
git-svn-id: trunk@11656 -
2007-07-28 10:31:43 +00:00
mattias
4506e97271
codetools: added static keyword for methods
...
git-svn-id: trunk@9742 -
2006-08-23 17:58:03 +00:00