Commit Graph

324 Commits

Author SHA1 Message Date
paul
5a4bf4a31b lcl: skip ampersands in toolbutton textsize calculations
git-svn-id: trunk@20503 -
2009-06-08 03:28:05 +00:00
mattias
e9d3df252f LCL: TToolBar: fixed autosize loop
git-svn-id: trunk@20481 -
2009-06-06 16:59:46 +00:00
paul
673794373d lcl: publish TToolBar.Anchors
git-svn-id: trunk@20393 -
2009-06-04 06:26:38 +00:00
paul
587061f64f lcl: improve THeaderControl:
- publish BorderSpacing property
  - fix poor drawing if ContentRect is the same as the draw rect

git-svn-id: trunk@20323 -
2009-05-31 08:22:23 +00:00
mattias
cabc18d336 LCL: TToolBar.WrapButtons extended for only computing the new size without applying it
git-svn-id: trunk@20304 -
2009-05-30 12:29:21 +00:00
mattias
b5b3115e36 LCL: implemented TToolButton.AutoSize
git-svn-id: trunk@20303 -
2009-05-30 11:17:39 +00:00
paul
a8544fc87d lcl: add TProgressBar.Style property, implement Marquee style for win32, qt, gtk2 (issue #0013807)
git-svn-id: trunk@20161 -
2009-05-24 09:49:13 +00:00
paul
a8ae3b4f66 lcl: TPageControl: set dock site rectangle in DockOver and not in PositionDockRect since PositionDockRect used in other unrelated to dock over cases
git-svn-id: trunk@20092 -
2009-05-21 07:58:18 +00:00
paul
aacedf424d lcl: add a separate option to draw themed +/- tree signs in the treeview (by Luiz Americo, issue #0013677)
git-svn-id: trunk@20004 -
2009-05-17 08:31:38 +00:00
paul
c72ee51dc8 lcl: add TStatusBar.GetPanelIndexAt()
git-svn-id: trunk@19818 -
2009-05-06 07:03:16 +00:00
sekelsenmat
fdf5a12e01 Further implements TShellListView and other small changes and fixes
git-svn-id: trunk@19771 -
2009-05-02 16:29:41 +00:00
paul
584cb15de3 lcl: cleanup
git-svn-id: trunk@19393 -
2009-04-13 01:35:06 +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
8235487c42 lcl: fix char case
git-svn-id: trunk@18934 -
2009-03-10 01:58:35 +00:00
paul
80b7122c67 lcl: set default values for TListView.SortColumn, TListView.SortType, TListColumn.AutoSize
git-svn-id: trunk@18931 -
2009-03-09 15:40:29 +00:00
paul
b0938be4da lcl: set default values for TListView.ParentColor and TCustomImageList.Masked
git-svn-id: trunk@18930 -
2009-03-09 15:34:43 +00:00
paul
c363b5fff8 gtk2: fix item exchange (bug #0013081)
git-svn-id: trunk@18809 -
2009-02-23 13:48:46 +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
paul
3e01ab5302 lcl: publish TListView.BorderStyle, implement it for win32 (already works for gtk2 issue #0013182)
git-svn-id: trunk@18732 -
2009-02-17 14:31:56 +00:00
paul
895b31f8f4 lcl: add protected field TStatusPanel.FIntfFlag to store useful flags in the status panels by interfaces (needs in the next commit)
git-svn-id: trunk@18618 -
2009-02-09 14:59:27 +00:00
paul
1523931aa3 lcl: pass status panel parts which need to update to the UpdateHandleObject
git-svn-id: trunk@18599 -
2009-02-08 12:09:04 +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
5afc24b43d lcl: publish ParentFont and ParentColor properties for TListView (bug #0001910 by Leslie Kaye)
git-svn-id: trunk@18585 -
2009-02-05 15:25:30 +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
7fd30ae31e lcl: toolbar improvements
- correctly restore button position after width change (bug #0012031)
  - don't allocate width for invisible controls on the toolbar, notify toolbar when toolbutton visibility changes (mentioned in the bug #0012031)

git-svn-id: trunk@18482 -
2009-01-29 06:03:26 +00:00
mattias
d0c44e6ff9 LCL: TTreeView: implemented editing
git-svn-id: trunk@18355 -
2009-01-20 14:06:28 +00:00
vincents
8b26a74894 LCL: implemented MouseWheel handler for treeview (fixes issue #13002)
scroll whole lines when scrolling vertically as indicated in comment.

git-svn-id: trunk@18346 -
2009-01-19 21:29:10 +00:00
paul
545a71f8fa lcl: add delphi compatible DrawPanel method to the TStatusBar to allow component descendants override it without hooking to event
git-svn-id: trunk@18319 -
2009-01-17 10:56:29 +00:00
vincents
38adeef869 lcl: implemented owner drawn statusbar in the LCL and the win32 widget set (issue #1679)
* based on a patch from Leslie Kaye
* doesn't work yet for themed windows XP

git-svn-id: trunk@18312 -
2009-01-16 19:22:58 +00:00
paul
e5ead902a7 lcl: don't allow to set position of trackbar outside Min and Max (based on idea of Leslie Kaye, bug #0012893)
git-svn-id: trunk@18008 -
2009-01-01 10:23:00 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
3596127a45 lcl: set default value for TStatusPanel.Alignment
git-svn-id: trunk@17726 -
2008-12-08 10:27:07 +00:00
paul
9e6ad52bfa lcl: force treeview to reset scrollbar info after window recreation (#0012761)
win32: redraw scrollbars also if themes are not used but available (xp application without manifest)

git-svn-id: trunk@17722 -
2008-12-08 07:58:31 +00:00
paul
c806339762 lcl: publish wheel events for trackbar (by request of Maxim Ganetsky)
git-svn-id: trunk@17703 -
2008-12-06 14:43:30 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
paul
6ab8ef7ffe lcl: set defaults to some control properties
git-svn-id: trunk@17560 -
2008-11-24 03:15:50 +00:00
andrew
af616a4578 * improved the gtk2 listview to not store data twice
* gtk2 listview can now have ownerdrawn items
* gtk2 listview only keeps one copy of a pixbuf per it's imagelist instead of one per item in the listview
* fixed two memory leaks in gtk2 listview
* added method TListItem.GetCheckedInternal

git-svn-id: trunk@17502 -
2008-11-22 03:21:36 +00:00
paul
c18f0e2a56 lcl: set TToolBar.Flat = True by default - flat toolbars are generally looks better on all platforms (they have more native look). Moreover it is delphi compatible.
git-svn-id: trunk@17436 -
2008-11-19 03:58:02 +00:00
paul
6b61f8046b lcl: use psPattern style as default for TreeView.TreeLineStyle, temporary workaround psPattern painting by a slow code (but treeview looks much better now) #0012471
git-svn-id: trunk@17109 -
2008-10-23 12:52:49 +00:00
vincents
c32d7d3fa6 LCL: added TTreeview.TreeLinePenStyle from Paul Michell (issue #12459)
git-svn-id: trunk@17099 -
2008-10-22 12:45:18 +00:00
paul
1628077528 lcl: undo CN_NOTIFY overriding for trackbar
win32: 
  - handle CN_NOTIFY in the default handler and redirect it to the window proc in case of trackbar
  - use ThemeManager code to draw themed trackbar

git-svn-id: trunk@17091 -
2008-10-22 05:12:23 +00:00
paul
112beff0fb win32: don't override TrackBar WM_NOTIFY handler result in the lcl default handler (trackbar bg is transparent now)
git-svn-id: trunk@17090 -
2008-10-22 03:39:47 +00:00
paul
7b0a85df11 lcl: add TListItems.BeginUpdate, TListItems.EndUpdate with empty implementation to simplify delphi project conversion
git-svn-id: trunk@16941 -
2008-10-09 09:33:45 +00:00
paul
220ada332c lcl: add support for invisible sections in THeaderControl (from Benito van der Zander #0011727)
git-svn-id: trunk@16817 -
2008-10-01 05:42:41 +00:00
paul
3374c666b8 lcl: publish OnUTF8KeyPress
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
vincents
840a0977ba LCL: don't stream the Data property of a TreeNode, fixes issue #11749
git-svn-id: trunk@16040 -
2008-08-12 14:27:25 +00:00
mattias
4bab0127bc lcl: treeview.TreeLineColor changed default to clWindowFrame, same as ExpandSignColor
git-svn-id: trunk@15923 -
2008-07-31 09:47:58 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
fad1936a76 lcl: publish OnContextPopup for more controls
git-svn-id: trunk@15446 -
2008-06-17 04:53:06 +00:00