Commit Graph

280 Commits

Author SHA1 Message Date
paul
415884606c lcl: publish TPageControl.MultiLine property and map it to TCustomNotebook.Options nboMultiLine
git-svn-id: trunk@25507 -
2010-05-19 08:40:32 +00:00
paul
c39c87916a lcl: fix TabVisible handling (issue #0016440)
git-svn-id: trunk@25321 -
2010-05-12 00:29:30 +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
paul
51bab0e62e lcl: change TBevel and TScrollBar code to use GetControlDefaultSize method and SetInitialBounds as other controls do
git-svn-id: trunk@25184 -
2010-05-04 14:20:18 +00:00
mattias
84d4e6bf32 LCL; TCustomImage: comment
git-svn-id: trunk@24892 -
2010-04-24 19:38:59 +00:00
paul
7ca94731c5 lcl: add bsSpacer to bevel shapes by Juha (issue #0016141), simplify Bevel code by removing unnecessary getters, format bevel code, add missing properties
git-svn-id: trunk@24720 -
2010-04-19 12:02:50 +00:00
mattias
ed6915b885 LCL: removed wrong TCustomPage.AdjustClientRect, bug #15205
git-svn-id: trunk@24262 -
2010-03-28 08:38:14 +00:00
mattias
a146e3b1e7 LCL: TPanel: fixed AdjustClientRect
git-svn-id: trunk@23915 -
2010-03-10 12:04:34 +00:00
mattias
b63e50b3fe lcl: TImage: removed unneeded and buggy autosize code
git-svn-id: trunk@23852 -
2010-03-06 23:45:40 +00:00
martin
e633753632 LCL, Interfaces: added TNotebook.TabRect for Win/Gtk/2
git-svn-id: trunk@22512 -
2009-11-10 05:13:46 +00:00
paul
2e2fcd58fc lcl: bidi mode support for buttons from Zaher Dirkey (#issue #0014933)
git-svn-id: trunk@22448 -
2009-11-05 14:35:36 +00:00
paul
aa3aa41889 lcl: change ImageIndex property from Integer to TImageIndex for more components
git-svn-id: trunk@22141 -
2009-10-13 09:53:40 +00:00
paul
c8b4ccad1f lcl: fix TPageContol.OnChange event
git-svn-id: trunk@22037 -
2009-10-05 06:26:12 +00:00
paul
b564b437f8 lcl: fix compilation with the fixed fpc bug (which gave access to private fields from properties)
git-svn-id: trunk@21998 -
2009-10-03 15:57:51 +00:00
paul
42ad042ae5 lcl: protect TTrayIcon code from the PopupMenu component destruction
git-svn-id: trunk@21846 -
2009-09-24 09:29:27 +00:00
paul
27b2238ee0 lcl: TCustomNotebook:
- fix crash when connected imagelist was destructed (fixes bug #0014627)
  - reset imagelist on content change

git-svn-id: trunk@21770 -
2009-09-19 15:45:34 +00:00
paul
2f6201ed2e lcl: publish OnMouseEnter, OnMouseLeave for some controls (patch of Zeljan, issue #0014575)
git-svn-id: trunk@21683 -
2009-09-13 11:31:57 +00:00
paul
df40d0e347 lcl: formatting
git-svn-id: trunk@21677 -
2009-09-13 08:01:32 +00:00
paul
1a4af6d743 lcl: remove TTabStyle from the extctrls unit (issue #0014570)
git-svn-id: trunk@21676 -
2009-09-13 07:30:46 +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
marc
1e0889bde7 * Placed fields end methods/properties in the correct order. Fixes compilation on fpc 2.3.1. Patch by Marco van de Voort
git-svn-id: trunk@20757 -
2009-06-27 14:41:20 +00:00
jesus
5a971c0e06 LCL, added option nboHidePageListPopup to Notebook so default right click popup list can be disabled (gtk1&2), enable multiline tab control under windows
git-svn-id: trunk@20500 -
2009-06-07 19:13:17 +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
mattias
8704259100 LCL: TIdleTimer: added property FireOnIdle for idle functions that work in several chunks
git-svn-id: trunk@19389 -
2009-04-12 22:57:42 +00:00
paul
2cad847317 lcl: publish Alignment property for TLabeledEdit (issue #0013495 by Alexander S. Klenin)
git-svn-id: trunk@19378 -
2009-04-12 08:59:46 +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
ecc57f0bda lcl: implement at least some differences in painting for TSplitter.ResizeStyle (part of issue #0013406)
git-svn-id: trunk@19213 -
2009-04-04 09:57:01 +00:00
paul
56ae429345 lcl: fix Timers class hierarchi. Was: TCustomTimer -> TTimer -> TIdleTimer with published props only in TCustomFirmer. Now: TCustomTimer -> TTimer, TCustomTimer -> TCustomIdleTimer -> TIdleTimer and published props are in TTimer and TIdleTimer.
git-svn-id: trunk@19117 -
2009-03-26 15:09:24 +00:00
paul
17b9b92756 lcl: publish BorderStyle for more components
git-svn-id: trunk@19032 -
2009-03-19 14:26:57 +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
685e4613f7 lcl: add csNoDesignVisible to the HiddenRadioButton of TRadioGroup
git-svn-id: trunk@18458 -
2009-01-27 04:18:58 +00:00
paul
6eccca7842 lcl: button changes
- set TabStop = Checked on radio button checked change (delphi compatibility) 
  - move LM_CLICKED handler from TCustomButton to TButtonControl
  - change TRadioGroup TabStop back to false
win32: pass LM_CLICKED for TButtonControls, remove unneeded code
(fixes #0012855, #0012689 ?)

git-svn-id: trunk@18426 -
2009-01-24 19:38:02 +00:00
paul
e24b1cdfc5 lcl: a bit of formatting
git-svn-id: trunk@18368 -
2009-01-21 06:31:19 +00:00
paul
542c7d66c3 lcl: allow TabStop for notebook (bug #0012959)
git-svn-id: trunk@18267 -
2009-01-13 07:15:14 +00:00
paul
5df806377b formatting
git-svn-id: trunk@18229 -
2009-01-09 19:37:13 +00:00
paul
92968b1868 lcl: fix bevel repaint (bug #0012516)
git-svn-id: trunk@18204 -
2009-01-08 05:06:53 +00:00
paul
2967687379 lcl: fix visibility of pagecontrol pages after window recreation (bug #0011334)
git-svn-id: trunk@18185 -
2009-01-07 10:55:49 +00:00
paul
37e866d1ea lcl: set caption for TCustomPage even it is has not handle allocated but parent has since page caption belongs to pagecontrol, not the page (bug #0011888)
git-svn-id: trunk@18184 -
2009-01-07 09:53:40 +00:00
paul
ff7e66f216 lcl: publish OnMouseEnter, OnMouseLeave for groupboxes
git-svn-id: trunk@18013 -
2009-01-01 17:43:55 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
mattias
eee432e048 LCL: published TLabeledEdit.Font, from smace
git-svn-id: trunk@17952 -
2008-12-26 15:40:30 +00:00
sekelsenmat
1a0fb05b4a Patch from Chris Kirkpatrick, fixed type in TTrayIcon
git-svn-id: trunk@17869 -
2008-12-20 16:18:30 +00:00
paul
910cfc5b20 lcl: set default values for some component properties
git-svn-id: trunk@17725 -
2008-12-08 09:48:25 +00:00
vincents
ebe1b9d29a LCL: published TImage MouseWheel events, tested by Maxim Ganetsky
git-svn-id: trunk@17709 -
2008-12-07 19:18:34 +00:00
paul
2f2f3b5c11 lcl: set default values for TCustomTrayIcon properties
git-svn-id: trunk@17610 -
2008-11-27 04:46:42 +00:00
paul
6ab8ef7ffe lcl: set defaults to some control properties
git-svn-id: trunk@17560 -
2008-11-24 03:15:50 +00:00
paul
c29b56e233 lcl: add new TImage event OnPictureChanged
git-svn-id: trunk@17065 -
2008-10-20 04:46:40 +00:00
paul
3374c666b8 lcl: publish OnUTF8KeyPress
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +00:00
paul
f67b637d75 cleanup
git-svn-id: trunk@16503 -
2008-09-09 14:10:56 +00:00