paul
622f0ba392
lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
...
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
mattias
cf55952b42
removed OldAutoSize
...
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
3729314672
LCL: TControl.DoAutoSize: autosizes to peferred size
...
git-svn-id: trunk@24379 -
2010-04-03 15:52:01 +00:00
mattias
68c75f3577
LCL: TToolBar using SetBounds to not struggle with the LCL
...
git-svn-id: trunk@24378 -
2010-04-03 14:14:47 +00:00
mattias
7699be6191
LCL: removed LockBaseBounds, OnChangeBounds can now change its own bounds, bug #16028
...
git-svn-id: trunk@24085 -
2010-03-18 15:05:07 +00:00
paul
deba8dce43
lcl: comment DebugLn in toolbutton code (issue #0015623 )
...
git-svn-id: trunk@23598 -
2010-01-30 04:04:49 +00:00
paul
7d3d566314
lcl: make TActionLink.SetImageIndex argument delphi compatible TImageIndex -> Integer
...
git-svn-id: trunk@22727 -
2009-11-23 15:08:19 +00:00
paul
538e53caad
lcl: use TImageIndex instead of Integer in more cases
...
git-svn-id: trunk@22138 -
2009-10-13 09:24:26 +00:00
paul
e8e52a07ea
lcl: Explicitly request MenuItem to notify TToolButton about destruction
...
git-svn-id: trunk@21845 -
2009-09-24 09:29:01 +00:00
paul
7031393709
lcl: formatting
...
git-svn-id: trunk@20848 -
2009-07-13 08:13:39 +00:00
paul
c729661d99
lcl: fix toolbutton divider and separator drawing on windows 7, implement autosize for them
...
git-svn-id: trunk@20516 -
2009-06-08 12:28:40 +00:00
paul
e55e302b7e
lcl: allow use of DropDownMenu for TToolButton.Style = tbsButton (delphi compatible)
...
git-svn-id: trunk@20504 -
2009-06-08 03:42:06 +00:00
paul
5a4bf4a31b
lcl: skip ampersands in toolbutton textsize calculations
...
git-svn-id: trunk@20503 -
2009-06-08 03:28:05 +00:00
paul
5a6d80b45a
lcl: don't update toolbar if imageindex is set for non-visible button
...
git-svn-id: trunk@20482 -
2009-06-06 17:05:02 +00:00
paul
6938b6b821
lcl: some cosmetic corrections for TToolButton.Autosize
...
git-svn-id: trunk@20453 -
2009-06-05 17:09:19 +00:00
mattias
db8a062f86
LCL: improved TToolBar.AutoSize with wrapping
...
git-svn-id: trunk@20305 -
2009-05-30 13:25:02 +00:00
mattias
b5b3115e36
LCL: implemented TToolButton.AutoSize
...
git-svn-id: trunk@20303 -
2009-05-30 11:17:39 +00:00
paul
597eb84d8c
lcl: Themes
...
- redo TThemeServices.GetDetailSize to return TSize instead of Integer
- improve toolbutton drawing
git-svn-id: trunk@20213 -
2009-05-26 01:32:38 +00:00
paul
6af0fb9bc9
lcl: fix asterisk position in the copyright comment
...
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
87e1d4d117
lcl: reduce debug output
...
git-svn-id: trunk@19463 -
2009-04-17 01:34:25 +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
jesus
82f1dfb48a
LCL, mouse hovering a toolbutton might change down state after leaving the button area, it should not change the previous down state
...
git-svn-id: trunk@18790 -
2009-02-22 05:05:09 +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
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
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
e1ffc23daa
lcl: improve reordering of toolbuttons if they were added on toolbar create and their bounds are equal
...
git-svn-id: trunk@15434 -
2008-06-16 07:06:37 +00:00
paul
9c829fa22a
lcl: toolbutton
...
- fix drawing of non-flat disabled state
- fix drawing of disabled state (now it looks gray and fixes #0001650 )
git-svn-id: trunk@15275 -
2008-05-30 02:18:12 +00:00
paul
2c757eff9a
lcl: make TToolButton TGraphicControl instead of TCustomControl. This is: a) delphi compatible b) eats less system resources
...
git-svn-id: trunk@15091 -
2008-05-11 06:57:49 +00:00
marc
b7569c6053
* Fixed crash when TToolbar.ButtonHeight = 0
...
* TToolbar.ButtonHeight overrules TToolbutton.Autosize (when > 0)
* Fixed caption update when TToolbar.Autosize = False
* Fixed setting Toolbutton size when alignment allowes
git-svn-id: trunk@14909 -
2008-04-20 16:31:50 +00:00
paul
7a90db3ab1
lcl: don't show pressed state for whole toolbutton when only arrow is pressed (part of 0000612)
...
git-svn-id: trunk@14726 -
2008-04-02 08:26:15 +00:00
paul
543c7bfaab
toolbutton: dont draw rectangle around divider in design mode
...
git-svn-id: trunk@13905 -
2008-01-29 07:30:02 +00:00
paul
cbb748b963
toolbutton:
...
- support for vertical toolbars
- improve drawing of dividers
- draw separators on flat toolbars as ||
git-svn-id: trunk@13903 -
2008-01-29 07:18:04 +00:00
paul
6055944e29
removed some unneeded component styles
...
git-svn-id: trunk@13460 -
2007-12-26 04:48:15 +00:00
mattias
e8f4f6e240
replaced several BoolToStr calls with dbgs
...
git-svn-id: trunk@12914 -
2007-11-18 13:06:38 +00:00
paul
4787d1157b
lcl: draw toobar elements with ThemeServices (0010187)
...
git-svn-id: trunk@12893 -
2007-11-16 09:34:27 +00:00
paul
95f6b902b7
toolbutton should not change jump under mouse if it is disabled
...
git-svn-id: trunk@12778 -
2007-11-08 03:04:36 +00:00
paul
4480d1ed60
lcl: draw ToolBar using themes (through -dUseThemes switch). only for manifested winxp at moment
...
git-svn-id: trunk@12562 -
2007-10-23 12:11:26 +00:00
mattias
6264aac23c
LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
...
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
paul
55a9f353b2
Qt:
...
- fix problem with grabbing mouse capture for TCustomControl
- remove toolbar and toolbutton implementation into ifdefs since ToolBar and ToolButton are TCustomControl descendants and fully implemented by LCL means
git-svn-id: trunk@12148 -
2007-09-23 06:52:30 +00:00
mattias
f4eaf90e42
undo
...
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885
translations: german: added lazreport maincalleditor.de.po from Joerg Braun
...
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
paul
7d5f9842ec
- fix win32 crash if listview imagelist changed to nil (from Nikolay aka Browny)
...
- change ToolButtons font on ToolBar font change events (from Nikolay)
- redraw ToolButton if enabled changed and pass apropriate flag to ImageList.Draw (from Nikolay)
- cleanup
git-svn-id: trunk@11974 -
2007-09-09 08:53:16 +00:00
marc
658e9a848c
* Modified patch #9491 to allow button grouping cross separator
...
git-svn-id: trunk@11909 -
2007-09-01 22:18:36 +00:00
mattias
133ba4c529
TToolButton: no OnClick for tbsDropDown
...
git-svn-id: trunk@9743 -
2006-08-23 18:08:05 +00:00
mattias
7bb113cec8
fixed a few fpc 2.1.1 incompatibilities
...
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
mattias
ea9419ecb7
TToolBar: disabled using designtime resizes to set ButtonWidth/Height, it interferes with the autosizing
...
git-svn-id: trunk@9496 -
2006-06-24 09:04:42 +00:00
mattias
9b52c9bc1d
gtk1/2 intf: fixed Arc
...
git-svn-id: trunk@9472 -
2006-06-22 02:41:09 +00:00
mattias
d82a5a4d96
improved autosizing TToolButton
...
git-svn-id: trunk@9445 -
2006-06-18 22:55:16 +00:00
mattias
5b814f9fcb
implemented AutoSize for TToolButton
...
git-svn-id: trunk@9433 -
2006-06-14 16:46:57 +00:00
mattias
6eb4930179
fixed references to COPYING.LCL
...
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00