Commit Graph

309 Commits

Author SHA1 Message Date
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
sekelsenmat
61d31cd4c2 Various improvements and attempts at creating a WS implementation for TLazAccessibleObject
git-svn-id: trunk@34712 -
2012-01-11 18:36:30 +00:00
sekelsenmat
355493350f Temporary fix for TListView crashes. See bug #21059
git-svn-id: trunk@34696 -
2012-01-10 18:19:40 +00:00
sekelsenmat
b3a3ec2fb9 Rearchitectures LazAccessibility_SetFields in order to support TControl
git-svn-id: trunk@34688 -
2012-01-09 18:05:00 +00:00
sekelsenmat
fa02b703f1 Renames TNotebookOption and friends to TCTabControlOptions,etc because the old name was completely wrong since TNotebook is completely unrelated to this type
git-svn-id: trunk@33537 -
2011-11-15 07:28:07 +00:00
zeljko
4628bd06d0 LCL: started MDI support. Added needed routines and properties.
git-svn-id: trunk@33323 -
2011-11-05 08:17:56 +00:00
sekelsenmat
7426f761eb Fixes bug #20442: PAge Control crashes into EReadError of OnPageChanged even on WinCE
git-svn-id: trunk@32937 -
2011-10-17 09:33:41 +00:00
sekelsenmat
2214a142af Finishes fixing IndexOfTabAt
git-svn-id: trunk@31781 -
2011-07-22 11:34:43 +00:00
sekelsenmat
f49a57bd08 Adds the skeleton of the missing method IndexOfTabAt
git-svn-id: trunk@31780 -
2011-07-22 11:31:15 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
09171ba1ef Removes a useless ws non-virtual method. ws classes should have only virtual methods
git-svn-id: trunk@31702 -
2011-07-14 13:17:55 +00:00
sekelsenmat
ca84ba2f7f Patch from Hans-Peter, starts fixing TTabControl, from bug #19575
git-svn-id: trunk@31686 -
2011-07-13 12:43:43 +00:00
sekelsenmat
bc7a2ba310 Moves TCustomNotebook to ComCtrls in preparation for renaming it
git-svn-id: trunk@31552 -
2011-07-04 09:43:21 +00:00
zeljko
84d29ef869 LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().

git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
zeljko
8bdf87abed LCL: TListViewItems: implemented Exchange() and Move() to easy move or exchange items in list. Implementation done for gtk2 and qt
git-svn-id: trunk@31358 -
2011-06-24 12:04:01 +00:00
jesus
54b44563d9 LCL, make the grids send first typed char to external editors, issue #19306
git-svn-id: trunk@31325 -
2011-06-22 03:46:06 +00:00
zeljko
01f454abce LCL: introduced TWSScrollBar.SetKind() to avoid usage of RecreateWnd when changing kind of TScrollBar, because it crashes on 64bit installations.Fixed AV with qt and gtk2 under 64bit
git-svn-id: trunk@30853 -
2011-05-22 09:53:34 +00:00
zeljko
5306a46d58 LCL: TTrackbar: introduced TWSTrackBar.SetOrientation(), default implementation is RecreateWnd(), but should be implemented for ws which supports changing trackbar orientation. fixes #19387
git-svn-id: trunk@30846 -
2011-05-22 08:55:33 +00:00
juha
b01be5b936 LCL: Register more Delphi-only properties to skip when loading a project.
git-svn-id: trunk@30787 -
2011-05-17 21:56:42 +00:00
paul
aecfd2f738 lcl: implement TListBox.ScrollWidth:
- win32, wince: set/get scrollwidth using LB_SETHORIZONTALEXTENT/LB_GETHORIZONTALEXTENT (issue #0018912)
  - qt, gtk2: don't show listbox horizontal scrollbar by default. show it only when scrollwidth > content area

git-svn-id: trunk@30138 -
2011-04-02 17:30:44 +00:00
juha
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
paul
c6ae8b8210 lcl: add TTrackBar.Reversed property, implement for win32. Zeljan will implement for other widgetsets
git-svn-id: trunk@28312 -
2010-11-18 09:28:03 +00:00
paul
2fd8aba64b lcl: extent GetDefaultColor function to get default Brush and Font colors
git-svn-id: trunk@28306 -
2010-11-18 02:19:50 +00:00
paul
9bd782a63e lcl:
- add GetDefaultColor to TControl which asks Parent in case widgetset returns clDefault color for it;
  - return clDefault instead of clWindow for generic TControl
win32, wince: use TControl.GetDefaultColor in all the places where we used TWSControlClass

git-svn-id: trunk@28172 -
2010-11-10 04:15:43 +00:00
paul
8944d373f9 win32, lcl: further work on clDefault implementation
git-svn-id: trunk@28111 -
2010-11-07 12:54:33 +00:00
jesus
962c2c3c0c LCL, fix normal row drawing over fixed row (gtk), issue #13404
git-svn-id: trunk@27549 -
2010-10-02 19:39:41 +00:00
blikblum
bbfbce8fdd lcl: fix compilation after rev 27070 #69b2b72516
git-svn-id: trunk@27073 -
2010-08-12 12:49:38 +00:00