Commit Graph

73 Commits

Author SHA1 Message Date
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
juha
0e316db7a8 LCL, CoolBar: Calculate text and control positions for bands in AlignControls method.
git-svn-id: trunk@40148 -
2013-02-03 11:04:48 +00:00
marc
d30d8468dc lcl: implement Delphi compatible AutoScrollEnabled function
git-svn-id: trunk@34470 -
2011-12-28 16:57:14 +00:00
paul
5e397ae583 lcl: save/restore TControlScrollBar.Position even if AutoScroll = True (issue #0017409)
git-svn-id: trunk@30220 -
2011-04-06 11:30:56 +00:00
paul
e0f19a0bea lcl: cleanup
git-svn-id: trunk@30077 -
2011-03-30 01:43:40 +00:00
paul
a7f36e8fb3 lcl: don't scroll inner control with TScrollingWinControl when it is visible (issue #0019020)
git-svn-id: trunk@30076 -
2011-03-30 01:42:52 +00:00
paul
00d73b2f13 lcl: cleanup
git-svn-id: trunk@29945 -
2011-03-21 02:48:03 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
mattias
a6965afecd LCL: TControlScrollBar: Visible is not the current state, but a flag to allow the widget to become visible, for Delphi compatibility, fixed calculating Range (the widget frame was added)
git-svn-id: trunk@29031 -
2011-01-15 12:50:44 +00:00
mattias
8b96b3b1d9 LCL: fixed page in TScrollingWinControl.ComputeScrollbars
git-svn-id: trunk@26861 -
2010-07-27 16:45:51 +00:00
mattias
42463c684d LCL: TControlScrollBar: fixed considering clientwidth/height and scrollbars visible, bug #16799
git-svn-id: trunk@26567 -
2010-07-10 07:57:06 +00:00
mattias
5977b88aca LCL: added controlstyles csAutoSizeKeepChildLeft, csAutoSizeKeepChildTop, TScrollBox: use preferred size even if AutoSize=false
git-svn-id: trunk@26222 -
2010-06-21 08:10:11 +00:00
mattias
cb7c832e25 LCL: TScrollingWincontrol: fixed GetLogicalClientRect - only use Range if bar is visible, use preferredsize if Parent.ChildSizing.Layout<>cclNone
git-svn-id: trunk@25574 -
2010-05-22 11:52:45 +00:00
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
d69055d322 LCL: fixed some nil checks
git-svn-id: trunk@24397 -
2010-04-04 14:37:47 +00:00
mattias
e7b5a78d0f LCL: added debugging for Disable/EnableAutoSizing
git-svn-id: trunk@24094 -
2010-03-19 11:11:47 +00:00
mattias
bf4387a62b LCL: improved debugging, TScrollingWinControl.CreateWnd: reduce autosizing overhead
git-svn-id: trunk@24068 -
2010-03-17 15:46:11 +00:00
paul
fa02d07c5a lcl: don't change TControlScrollBar.Visible inside TScrollingWinControl (let user value be used), visibility is already managed inside TControlScrollBar itself
git-svn-id: trunk@21684 -
2009-09-13 11:52:10 +00:00
paul
9ce421e78e lcl: various TControlScrollBar, TScollingWinControl fixes:
- fix scrollbar visibility when AutoScroll = False, scrollbars must appear if visible = True and range > page (with help of patch of Sven Barth, issue #0014279)
  - fix class definition (no need to handle writing of properties using stored modifier - fpc bug was fixed long ago)

git-svn-id: trunk@21501 -
2009-08-31 14:54:29 +00:00
paul
91a1cb262f lcl: fix TScrollingWinControl.AutoScroll = False (issue #0014279)
git-svn-id: trunk@21485 -
2009-08-30 15:47:25 +00:00
paul
2dbed7a511 lcl: formatting
git-svn-id: trunk@21484 -
2009-08-30 15:30:37 +00:00
paul
56c45690de lcl: make AutoScroll delphi compatible:
- set AutoScroll to False by default for TForm and TFrame. Leave it True for TScrollBox
  - allow AutoScroll change for forms with bsSizeable, bsSizeToolWin BorderStyle

git-svn-id: trunk@21478 -
2009-08-29 03:03:10 +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
sekelsenmat
3ccc06be10 Patch from zeljko. Improves scrolling fixes
git-svn-id: trunk@17684 -
2008-12-04 16:39:12 +00:00
sekelsenmat
bd8fc98301 Fixes the AutoScroll property.
git-svn-id: trunk@17682 -
2008-12-04 14:26:34 +00:00
mattias
c9298fa17b LCL: added safety check for destroy
git-svn-id: trunk@15854 -
2008-07-24 02:00:44 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
96e855ad53 LCL: TControlScrollBar: implemented hiding scrollbar, bug #11491
git-svn-id: trunk@15470 -
2008-06-19 10:41:09 +00:00
vincents
d99a049461 LCL: TScrollingWinControl.AutoScroll (bug #10774)
* moved TScrollingWinControl.AutoScroll from published to protected section
* set default value to true
* published AutoScroll in descendant classes

git-svn-id: trunk@15375 -
2008-06-10 14:30:57 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
mattias
09342edb8f gtk intf: fixed GetClientRect for notebook
git-svn-id: trunk@12694 -
2007-11-02 10:58:55 +00:00
mattias
ef2d81ca2c LCL: reduced debug output
git-svn-id: trunk@12693 -
2007-11-02 10:03:36 +00:00
mattias
1a09783017 LCL: TScrollingWinControl: using ClientWidth/Height as minimums for GetLogicalClientRect if no ranges are specified
git-svn-id: trunk@12680 -
2007-11-01 14:46:29 +00:00
mattias
112a347fa5 LCL: autosizing now uses logical clienrect, so Align<>alNone controls now fills the whole logical area
git-svn-id: trunk@12679 -
2007-11-01 14:32:15 +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
852f93d82f lcl: move VerboseScrollingWinControl debug condition to separate method (to simplify condition change)
git-svn-id: trunk@12328 -
2007-10-05 05:48:17 +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
mattias
f9fcb805bb LCL: fixed updating control scrollbars, remaining bug: win32 intf moves controls when scrolling
git-svn-id: trunk@10317 -
2006-12-09 10:24:44 +00:00
mattias
9b836a28f0 moved code from TControlScrollBar to TScrollingWinControl, deriving TScrollingWinControl from TCustomControl from Flavio
git-svn-id: trunk@9952 -
2006-09-20 23:14:09 +00:00
mattias
3093718d32 TScrollingWinControl: fixed AV during destruction
git-svn-id: trunk@9763 -
2006-08-28 21:44:51 +00:00
mattias
ab619c7b0a added virtual TCanvas.FreeHandle and extended TControlCanvas to work without control from Darek
git-svn-id: trunk@9428 -
2006-06-12 19:41:12 +00:00
jesus
aa20edd467 fixed mouse events return wrong coordinates in scrolling components (win32, issue #1983), enabled ajustments for customforms in gtk
git-svn-id: trunk@9316 -
2006-05-20 17:10:17 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
948a215e46 added QuestionDlg - a MessageDlg with custom buttons
git-svn-id: trunk@6703 -
2005-01-27 19:03:51 +00:00
micha
acf4a0fbbf fix scrolling: left, top should not be changed while scrolling
git-svn-id: trunk@6604 -
2005-01-15 15:36:19 +00:00
mattias
30836c4ced fixed lock/unlock difference
git-svn-id: trunk@6602 -
2005-01-15 13:43:11 +00:00
micha
32c65f7004 fix scrolling (win32)
git-svn-id: trunk@6601 -
2005-01-15 13:25:29 +00:00
mattias
9cbff0982c added default values for compiler skip options and improved many parts of synedit for UTF8
git-svn-id: trunk@5919 -
2004-09-04 22:24:16 +00:00