Commit Graph

350 Commits

Author SHA1 Message Date
juha
a02fda2366 LCL: Remove the fixed VIRTUAL_VMT_COUNT limit in RegisterWSComponent. Get the real VMT size dynamically. Issue #34408, patch from Bartek Dajewski.
git-svn-id: trunk@59294 -
2018-10-13 11:56:34 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
ondrej
70b731c254 LCL: publish DoubleBuffered & ParentDoubleBuffered
git-svn-id: trunk@58099 -
2018-06-03 20:36:08 +00:00
ondrej
460bcc1dd5 LCL: DoubleBuffered & ParentDoubleBuffered support
git-svn-id: trunk@58097 -
2018-06-03 19:45:05 +00:00
ondrej
ab410ae1d2 LCL, win32: add TWSWinControlClass.GetDoubleBuffered
git-svn-id: trunk@57305 -
2018-02-16 11:15:36 +00:00
ondrej
557b843294 LCL: high-dpi image list: support retina (for now Cocoa only)
git-svn-id: trunk@57240 -
2018-02-03 22:58:50 +00:00
ondrej
039c7ea1bf LCL: High-DPI ImageList: reload WS image lists on resolution handle destruction (TPageControl, TListView)
git-svn-id: branches/HiDPIImageList@57073 -
2018-01-13 12:01:07 +00:00
ondrej
90f22ba7fd LCL: High-DPI ImageList: LCL runtime and win32
git-svn-id: branches/HiDPIImageList@57039 -
2018-01-10 12:46:42 +00:00
ondrej
9a9e336851 LCL: combo box: deprecate ReadOnly property
git-svn-id: trunk@55243 -
2017-06-05 19:07:31 +00:00
sekelsenmat
5c1106e76b Reverts changes to the handling of vclass due to issues in gtk2
git-svn-id: trunk@55146 -
2017-06-01 19:36:16 +00:00
sekelsenmat
e34e7bb6bf vclass change: Adds more code to implement missing inheritance
git-svn-id: trunk@55144 -
2017-06-01 16:29:15 +00:00
sekelsenmat
db4c7d76eb Removes the runtime creation of classes in favor of a partial emulation of multiple inheritance only for those classes where it was indispensable
git-svn-id: trunk@55140 -
2017-06-01 08:12:02 +00:00
sekelsenmat
0886cc5c9c vclass: Stores the result of FindWSComponentClass
git-svn-id: trunk@55121 -
2017-05-29 11:46:50 +00:00
sekelsenmat
6ca0d918e8 vclass: Starts prototype demonstrating how to eliminate vclass
git-svn-id: trunk@55119 -
2017-05-29 08:39:04 +00:00
zeljko
0b2fc88171 LCL: added WSWinControl.Repaint, since all widgetsets except win32 calls update twice in TWinControl.Repaint. Default method calls Invalidate and Update like it was in TWinControl.Repaint, now widgetsets can implement it's own way of Repaint method. eg for Qt QWidget_repaint() - one call for immediate repaint.
git-svn-id: trunk@54107 -
2017-02-07 11:53:35 +00:00
michl
6a9b9d4d9e LCL: TCustomTabControl: Win32: Allow setting tab width and tab height. Issue #31109, patch from AlexeyT.
git-svn-id: trunk@54002 -
2017-01-25 17:42:06 +00:00
ondrej
5f5df812af LCL, win32: TMemo: remove Lines.BeginUpdate/EndUpdate for win32 for Delphi compatibility
git-svn-id: trunk@53888 -
2017-01-06 11:03:11 +00:00
michl
98625cfd74 LCL: TEdit/TMemo: use UTF8ToUTF16 instead of string magic to be FPC 2.6.4 compatible. Issue #8657
git-svn-id: trunk@53887 -
2017-01-06 07:12:54 +00:00
michl
b310cb9b16 LCL: TMemo: Fixed SetSelText scroll memo. Issue #8665 Modified patch from AlexeyT
git-svn-id: trunk@53886 -
2017-01-05 19:11:01 +00:00
ondrej
7ad916287c LCL: customedit: rewrite TextHint emulation, use WinAPI if available.
git-svn-id: trunk@53365 -
2016-11-14 14:19:14 +00:00
bart
4213e0848c Dialogs:
- implement a mechanisme to query the widgetset how and when to handle DoShow, DoCanClose and DoClose.
- implement QueryWSEventCapabilities for Win32 widgetset

git-svn-id: trunk@52850 -
2016-08-21 11:45:58 +00:00
ondrej
e14417c1f8 LCL: WidgetSet: fix VMT parent class entry for FPC changes r34171 #7571057b7d-r34179. Issue #30407
git-svn-id: trunk@52744 -
2016-07-24 12:28:50 +00:00
bart
d0a37e168d LCL: Implement TCustomCalendar.GetCalendarView. Patch by Zoran Vučenović.
git-svn-id: trunk@51694 -
2016-02-25 09:55:01 +00:00
ondrej
81733b2e74 lcl: rewrite PopupMode/PopupParent
- unify code for PopupMode/PopupParent in one function TCustomForm.GetRealPopupParent for all WS.
- change TWSCustomFormClass.SetPopupParent to TWSCustomFormClass.SetRealPopupParent without PopupMode parameter.
- Fix TPopupMode documentation.
Issue #29247

git-svn-id: trunk@51032 -
2015-12-25 15:37:10 +00:00
ondrej
2e076a451f LCL: grids: fix editor position for win32, Qt, Gtk2. Issue #29196
git-svn-id: trunk@50854 -
2015-12-17 08:32:52 +00:00
juha
6bb18f6fbd LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067.
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
sekelsenmat
6621c5c9ce cocoa: Fixes modalresult
git-svn-id: trunk@49724 -
2015-08-29 06:16:44 +00:00
juha
8a2cbf2d8e LCL: Remove arrow from widgetsets.
git-svn-id: trunk@49278 -
2015-06-05 17:11:00 +00:00
jesus
ded4b23a89 LCL, grids: modified previous patch, the text should be the text value not the pressed key
git-svn-id: trunk@48872 -
2015-04-26 20:41:18 +00:00
jesus
4ec7f482b1 LCL, grids: make sure the grid is notified about text is changed on pressing the first char, issue #27955
git-svn-id: trunk@48871 -
2015-04-26 20:34:38 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
bart
77aeb483c6 LCL: Implement TCustomCheckbox.Alignment (Windows only), partly resolves issue #0012343.
git-svn-id: trunk@46963 -
2014-11-22 14:38:26 +00:00
mattias
fe227ded7f LCL: fixed GetDefaultColor for TStaticText, TNoteBook, TTabSheet, TGroupBox, bug #26535
git-svn-id: trunk@46021 -
2014-08-06 16:54:36 +00:00
sekelsenmat
90d7c92c6b cocoa: Support for TLabel and other graphic controls inside TPageControl tab views; Implements many properties and methods from TListView
git-svn-id: trunk@44877 -
2014-05-01 22:45:25 +00:00
martin
8510d36eaf LCL: TScrollBox, remove unnecessary Invalidate on Windows. Issue #0026087 Move Invalidate in WS code for all other WS
git-svn-id: trunk@44840 -
2014-04-28 20:17:56 +00:00
bart
409cedc9c4 LCL: Implement TCustomEdit.NumbersOnly property.
Currently only effective on Windows.

git-svn-id: trunk@43678 -
2014-01-09 13:36:11 +00:00
zeljko
f6fa81d118 LCL: TCustomListView: implemented SelectAll & ClearSelection for delphi compatibility. issue #19812
git-svn-id: trunk@43244 -
2013-10-14 07:35:34 +00:00
zeljko
e48f39d20f LCL: wslclclasses, increased VIRTUAL_VMT_COUNT const from 100 to 128, to be able to add more methods to ws classes.
git-svn-id: trunk@43222 -
2013-10-12 15:43:24 +00:00
paul
2b9bef5afa lcl: move TWSControl.DragStart to TWSCustomListBox.DragStart because of limitation of TWS classes
git-svn-id: trunk@42631 -
2013-09-06 07:29:10 +00:00
paul
2743011353 lcl: fix ListBox onChange call on win32 (mantis #0020324)
- notify TWS class about drag start
  - set csLButtonDown before BeginAutoDrag (there is no dependency in LCL for csLButtonDown in BeginAutoDrag so I see no reason to postpone it)
win32:
  - send TWM_LButtonUp to windows for ListBox if drag operation is started by mouse down

git-svn-id: trunk@42627 -
2013-09-06 04:58:06 +00:00
sekelsenmat
a29c6d9dec Applies patch from bug #17519 to fix regression in WinCE menus
git-svn-id: trunk@42069 -
2013-07-13 05:12:09 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
juha
f68bd44412 LCL: replace the Arrow component with a better version from H. Page-Clark. The old one used widgetset bindings which was not needed.
git-svn-id: trunk@41221 -
2013-05-16 12:30:52 +00:00
juha
f59a82f602 LCL: make the new TArrow code as default. NewArrow define is not needed.
git-svn-id: trunk@40964 -
2013-05-01 08:44:31 +00:00
zeljko
76ec5ddbc4 wsarrow: fixed wrong reference to pen instead to brush. Now it paints arrows under qt,gtk2 and win32 (guess others are ok too)
git-svn-id: trunk@40955 -
2013-04-30 15:07:42 +00:00
juha
aa38f3a4f4 LCL: Allow changing background Color of TArrow. Compile with define NewArrow. Issue #21117, modified from Tomasz Wieckowski's patch
git-svn-id: trunk@40947 -
2013-04-30 09:17:21 +00:00
sekelsenmat
ca38c244cf LazDeviceAPIs: Adds an API to read the screen orientation
git-svn-id: trunk@40797 -
2013-04-12 12:59:35 +00:00
mattias
577bc9d322 LCL: gtk2: disabled optimization REMOVEEMPTYPROCS for fpc 2.7.1
git-svn-id: trunk@40321 -
2013-02-14 23:34:15 +00:00
mattias
e579fe52a4 lcl: clean up
git-svn-id: trunk@40268 -
2013-02-11 21:15:42 +00:00
mattias
8d124948d7 LCL: comments
git-svn-id: trunk@40265 -
2013-02-11 17:14:14 +00:00