Commit Graph

336 Commits

Author SHA1 Message Date
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
paul
685097901a lcl: use CreateCompatibleBitmaps() instead of dirrect RawImage_CreateBitmaps for internal imagelist bitmaps
git-svn-id: trunk@38808 -
2012-09-24 09:18:51 +00:00
juha
d26df0d987 LCL: Add CheckWidth and Header[] to TCustomCheckListBox. Issue #21765, patch from David Jenkins
git-svn-id: trunk@37484 -
2012-06-02 16:48:03 +00:00
mattias
c23b1f8f26 LCL: added comment about linker errors when user forgets unit interfaces
git-svn-id: trunk@36485 -
2012-03-31 16:59:16 +00:00
mattias
40d3ff8228 LCL: reduced warnings
git-svn-id: trunk@35528 -
2012-02-21 10:18:07 +00:00
sekelsenmat
913c5364a6 Adds a new object to lazdevicepias: Device and it starts with manufacturer and model info showing in Android and already predicts vibration capabilities. Starts opening the implementation of font enumeration in lcl-customdrawn
git-svn-id: trunk@35291 -
2012-02-10 13:39:06 +00:00
sekelsenmat
ca2975464a Adds registration of the default TWSLazDeviceAPIs class when the WS lacks an implementation
git-svn-id: trunk@34947 -
2012-01-26 10:44:08 +00:00
sekelsenmat
2ef6d922c8 Restructures the LazDeviceAPIs WS implementation to be on a separate unit instead of in the LCLIntf. This allows us to move the types which bellong in the lazdeviceapis unit back to it and make things more modular too.
git-svn-id: trunk@34946 -
2012-01-26 10:07:10 +00:00
sekelsenmat
d469685cc6 Adds many property implementations for non-windowed accessible objects in Carbon
git-svn-id: trunk@34831 -
2012-01-21 11:35:37 +00:00
sekelsenmat
5f9824929d Changes a little bit the Accessibility API. Removes notifications which were added to reflect the Mac API and are redundant. Splitted the setters for accessibility fields.
git-svn-id: trunk@34820 -
2012-01-20 12:59:10 +00:00
juha
9adcf1b232 LCL: Register some new Delphi properties to be skipped by form loader. Issue #20273
git-svn-id: trunk@34800 -
2012-01-19 18:26:48 +00:00
juha
a0912487d5 LCL: Add and move some properties to be skipped by form loader.
git-svn-id: trunk@34798 -
2012-01-19 16:32:56 +00:00
sekelsenmat
46e5cbf514 Finally figured out how to properly create child non-windowed accessible objects in Carbon! Renames AccessibleName to the more useful AccessibleValue information. However it still doesnt work properly because the non-windowed accessible objects require a already created HIView so we need to figure out the proper place to do this after the HIView is created for TTreeView
git-svn-id: trunk@34788 -
2012-01-19 08:09:12 +00:00
sekelsenmat
c532802420 Moves SendNotification to WSControls, moves all accessibility types to Controls, starts changing TTreeView to use selected text changed messages instead of child objects. TTreeView accessibility not yet working in Carbon
git-svn-id: trunk@34769 -
2012-01-18 08:29:35 +00:00
sekelsenmat
034d195ca9 Advances implementing the WS class for TLazAccessibleObject
git-svn-id: trunk@34713 -
2012-01-12 01:29:32 +00:00