Commit Graph

68 Commits

Author SHA1 Message Date
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
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
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
mattias
927577f78d LCL: added TWSControl.ConstraintWidth/Height
git-svn-id: trunk@26513 -
2010-07-07 20:28:13 +00:00
paul
c39a0c5aad lcl: GetConstraints is a function
git-svn-id: trunk@23628 -
2010-02-04 04:27:12 +00:00
paul
bcfa496270 lcl: call TWsControl.GetConstraints instead of direct call of Widgetset.GetControlConstraints
git-svn-id: trunk@23627 -
2010-02-04 04:20:49 +00:00
paul
6b3bf6deae lcl: change DefaultHandler to call TWsWinControlClass method instead of Widgetset method, therefore custom WS class can implement own logic there
git-svn-id: trunk@23620 -
2010-02-03 23:50:22 +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
4e59427231 lcl: remove dummy initialization sections
git-svn-id: trunk@19282 -
2009-04-09 05:52:37 +00:00
paul
efe9d531c3 widgetset: make WS classes method explicitly published
win32: fix WS classes. move methods to published sections

git-svn-id: trunk@17576 -
2008-11-25 02:29:28 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
dbddffe2cb lcl: bidi mode patch from Ido with modifications
git-svn-id: trunk@14991 -
2008-04-27 14:24:22 +00:00
paul
c2db5ffa0f qt: bidimode depends on TControl.UseRightToLeftAlignment, TControl.UseRightToLeftReading,
TContorl.UseRightToLeftScrollBar more than on BidiMode property since that methods are virtual

git-svn-id: trunk@14847 -
2008-04-16 05:51:23 +00:00
sekelsenmat
78a6878d99 Fixes preferred size for TComboBox in gtk2.
git-svn-id: trunk@14059 -
2008-02-09 22:03:53 +00:00
paul
f1d8f78b0c initial implementation of TWinControl.SetShape for gtk, qt, win32 + example
git-svn-id: trunk@13874 -
2008-01-25 06:56:57 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
paul
3ed6ba4007 TWinControl.PaintTo:
- implementation for win32 and qt
- initial implementation for gtk

git-svn-id: trunk@13209 -
2007-12-07 18:56:17 +00:00
paul
92057d6f41 rename previously introduced method 'GetMouseInteractiveInDesigner' to 'GetDesignInteractive'
git-svn-id: trunk@12620 -
2007-10-28 16:38:49 +00:00
paul
946941c1a6 Widgetset: introduce new WSWinControl method GetMouseInteractiveInDesigner to ask control about its needs in mouse messages/events in design time
win32:
- fix PageControl page changing by Tab clicking in designer
- fix PageControl tab switching by arrows (if tab part is selected) and tab focusing by one click instead of two clicks (issue #0008673)

git-svn-id: trunk@12245 -
2007-09-29 16:55:13 +00:00
paul
0b6ce0bd99 BiDiMode patch from zaher dirkey (report 0008955)
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
mattias
f1ddc29682 LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
paul
1cdfd2446a - some minor changes and comments for native win32 image list
- native drag image list implementation for win32

git-svn-id: trunk@10933 -
2007-04-11 05:41:56 +00:00
paul
14d8e68b4a - Step 1 of implementing DragImageList (only barebone)
git-svn-id: trunk@10879 -
2007-04-05 09:31:25 +00:00
mattias
05fa424bb7 gtk2 intf: fixed codetools include paths, fixed double painting
git-svn-id: trunk@10870 -
2007-04-04 18:08:37 +00:00
paul
78187ac487 - added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop

git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
mattias
2b1083e359 LCL: SetTempCursor is now called on every mouse move, cursors of TControls
git-svn-id: trunk@10595 -
2007-02-05 23:24:03 +00:00
marc
b3f981c48b * Modified patch from Paul Ishenin implementing cursors
git-svn-id: trunk@10446 -
2007-01-15 00:53:09 +00:00
mattias
bfb3fd9685 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9364 -
2006-05-27 17:40:59 +00:00
mattias
e81c0f77a0 added WithThemSpace parameter to GetPreferredSize
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
884510044d started using TAsyncProceess, fixed gtk2 compilation
git-svn-id: trunk@8290 -
2005-12-11 11:20:20 +00:00
marc
82fb7d047d * Modified patch from Andrew for MouseMove and MouseUp messages
git-svn-id: trunk@7963 -
2005-10-12 22:22:02 +00:00
mattias
00692af0ed started ChildSizing auto layouts for TWinControl
git-svn-id: trunk@7882 -
2005-10-02 09:46:55 +00:00
marc
68321456bb * Renamed InterfaceObject to WidgetSet
- Removed some logs
* Changed mainloop to a callback through the interface

git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
micha
8f21b33cd7 can only introduce virtual methods in TWSWinControl; quick fix
git-svn-id: trunk@7372 -
2005-07-18 19:31:53 +00:00
marc
98f5b75116 * Reimplemented ZOrder
+ Added IDE option to move a control one forward/back
* Fixed IDE control selection
- Removed some IFDEF VER 1_0
+ Added some inline

git-svn-id: trunk@7361 -
2005-07-16 00:08:26 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +00:00
mattias
8960dd3810 implemented preferred size for controls for theme depending AutoSizing
git-svn-id: trunk@6189 -
2004-11-03 14:18:36 +00:00
mattias
8f32b28a3f calling updating notebook tab after realize, needed for close btns
git-svn-id: trunk@6138 -
2004-10-15 12:04:09 +00:00
micha
f9d650d137 convert LM_CREATE message to interface methods
remove SendMsgToInterface, CNSendMessage and related methods
remove TWidgetSet.IntSendMessage3; all LCL to interface messages have been converted

git-svn-id: trunk@6073 -
2004-09-24 21:34:14 +00:00
micha
8033722b1f convert LM_SETGEOMETRY message to interface method
git-svn-id: trunk@6068 -
2004-09-24 17:20:43 +00:00
micha
07ce1184e8 convert LM_DESTROY message to interface methods
git-svn-id: trunk@6028 -
2004-09-18 12:43:15 +00:00