Commit Graph

704 Commits

Author SHA1 Message Date
paul
f8dcbb669b lcl: don't block special keys in common TControl handler - this is up to descendants.
SynEdit: use shorter inherited call since TControl does not have the handler now

git-svn-id: trunk@37150 -
2012-05-04 00:55:22 +00:00
paul
70fca72696 lcl: always ask control about special key using CM_WANTSPECIALKEY and LM_GETDLGCODE, simplify DoCancelKey, DoReturnKey, remove old WantKeyBeforeInterface
git-svn-id: trunk@37142 -
2012-05-03 01:38:51 +00:00
mattias
e5ffde0bbc LCL: clean up
git-svn-id: trunk@36877 -
2012-04-17 08:29:01 +00:00
mattias
eb05b8141f LCL: SetAlign: restore the basebounds set before changes
git-svn-id: trunk@36870 -
2012-04-17 08:15:46 +00:00
paul
c11192b6a5 lcl: implement ClientToParent, ParentToClient based on patch of David Jenkins (issue #0021763)
git-svn-id: trunk@36775 -
2012-04-14 14:18:08 +00:00
mattias
47c24e80ad LCL: more verbose form updateshowing
git-svn-id: trunk@36385 -
2012-03-27 16:27:45 +00:00
sekelsenmat
83a68ea2d7 LCL-CustomDrawn-Cocoa: Greatly improves the accessibility, now child objects start to appear
git-svn-id: trunk@36213 -
2012-03-22 08:46:04 +00:00
sekelsenmat
c0143743b4 Changes the AccessibleValue getter to overridable, to allow a more efficient implementation of it for TLabel for example
git-svn-id: trunk@36135 -
2012-03-17 19:41:46 +00:00
sekelsenmat
0bc23ed6ad LCL-CustomDrawn-Cocoa: Advances the accessibility support, nothing working yet
git-svn-id: trunk@36105 -
2012-03-17 10:08:21 +00:00
mattias
f1f99b4a6e LCL: added TLazAccessibleObject enumerator
git-svn-id: trunk@35394 -
2012-02-16 09:17:30 +00:00
mattias
45d0b49083 LCL: TLazAccessibleObject: using a tree for children for faster search
git-svn-id: trunk@35374 -
2012-02-15 14:57:15 +00:00
sekelsenmat
015279a045 Adds more method for TLazAccessibleObject to manipulate the list of children
git-svn-id: trunk@35239 -
2012-02-08 17:58:06 +00:00
paul
8d364b03df lcl:
- Extend FindLCLWindow method by AllowDisabled argument to skip disabled windows
  - Fix FindControlAtPosition - it previously ignored AllowDisabled option
  - Don't allow disabled window to be an internal MouseControl (fixes bug #0017993 for win32)

git-svn-id: trunk@35204 -
2012-02-07 07:49:42 +00:00
sekelsenmat
1130c0fb47 Patch from bug #20121, also added ssModifier constant in the unit Controls for global usage, but use it with care not to do something like [ssModifier, ssMeta] which wont compile in Macs
git-svn-id: trunk@35131 -
2012-02-04 17:39:11 +00:00
mattias
aad4d125c5 LCL: added TControl.AddHandlerBeforeDestruction
git-svn-id: trunk@35090 -
2012-02-02 16:46:20 +00:00
sekelsenmat
1fb90cb1f1 Improves the accessibility code to allow for initializing the Handle later. Also attempts to fix the accesssibility issues of TEdit/TMemo, but still not successful
git-svn-id: trunk@35070 -
2012-02-01 07:25:28 +00:00
juha
62fcc662c6 LCL: remove IFDEFs for old FPC versions. Lazarus won't compile anyway with old versions.
git-svn-id: trunk@34948 -
2012-01-26 10:47:37 +00:00
sekelsenmat
df68e05b3b Adds one more accessibility Role
git-svn-id: trunk@34926 -
2012-01-25 15:12:18 +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
ec6c831a3b Implements AccessibleValue for TTreeView items even when reading from the lfm. Improves the Carbon accessibility code for lists
git-svn-id: trunk@34830 -
2012-01-21 08:37:45 +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
5a33af4ebb More Carbon accessibility advances: Makes it less obstrusive for non-TCustomControl controls, implements a lot more of attributes, implements more events, increases the list of available roles and implements AX values for all LCL accessibility roles
git-svn-id: trunk@34814 -
2012-01-20 08:15:45 +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
ebb666cb58 Advances implementing accessible children for TTreeView, specially in Carbon. Not yet fully working
git-svn-id: trunk@34709 -
2012-01-11 12:48:55 +00:00
sekelsenmat
6201edbbac Rearchitectures the accessibility child objects and data storage as per Martin proposal
git-svn-id: trunk@34708 -
2012-01-11 09:19:36 +00:00
sekelsenmat
6a22f885c2 Adds the generic structure for arbitrary non-TControl accessible objects and starts implementing support for it in TTreeView
git-svn-id: trunk@34701 -
2012-01-11 00:10:13 +00:00
sekelsenmat
07b94b092f Now connects setting the accessible fields to LCLIntf via TControl.SetAccessibleFields and starts the carbon accessibility fields implementation
git-svn-id: trunk@34689 -
2012-01-09 19:23:10 +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
5b98ba7981 Upgrades the Accessibility structure to support roles, name, description and more easily extensible notifications
git-svn-id: trunk@34678 -
2012-01-09 13:25:26 +00:00
sekelsenmat
217b6bb45b Changes the lapDefault resolution into Application.Initialize
git-svn-id: trunk@34289 -
2011-12-19 18:59:14 +00:00
sekelsenmat
cc0e04b161 Finishes the basic implementation of dpi and screen rotation adjustment for Android. Not 100% perfect, but in general already functional.
git-svn-id: trunk@34279 -
2011-12-19 13:51:13 +00:00
paul
b839a5040a lcl: report ssMeta in GetKeyShiftState
git-svn-id: trunk@34276 -
2011-12-19 12:21:36 +00:00
sekelsenmat
b5a59868f9 Commits the first part of layout auto-adjustment support in the LCL
git-svn-id: trunk@34272 -
2011-12-19 10:25:13 +00:00
sekelsenmat
3270436597 Adds virtual keyboard support to LCL-CustomDrawn-Android
git-svn-id: trunk@34221 -
2011-12-16 14:31:57 +00:00
mattias
e5e20bfbe3 LCL: fixed result of standard anchored control, bug #20367
git-svn-id: trunk@33548 -
2011-11-16 04:21:00 +00:00
juha
43d521337d LCL: Set Result in TAnchorSide.CheckSidePosition. Solves issue #20367, patch from cobines
git-svn-id: trunk@33526 -
2011-11-14 11:26:45 +00:00
zeljko
a54eb80b2f LCL: added IsParentFont:Boolean and IsParentColor: Boolean to read protected ParentFont and ParentColor from TControl.Needed by widgetsets.
git-svn-id: trunk@33282 -
2011-11-04 09:30:36 +00:00
sekelsenmat
943326f458 Renames GetRGBBackgroundColor to GetRGBColorResolvingParent because the previous name was wrong. It has not necessarily to be a background color, it is really just the Color.
git-svn-id: trunk@33280 -
2011-11-04 08:54:55 +00:00
juha
123ceac181 LCL: remove obsolete AlignNames, AnchorNames and AutoSizePhaseNames. Use WriteStr
git-svn-id: trunk@33233 -
2011-11-02 23:15:07 +00:00
mattias
2cd66811f0 LCL: delay autosizing when form is minimized
git-svn-id: trunk@33145 -
2011-10-29 07:28:02 +00:00
sekelsenmat
1c344c9372 Renames GetRGBColor to make it more unique, the old name had too many conflicts
git-svn-id: trunk@33102 -
2011-10-26 17:32:31 +00:00
sekelsenmat
cae025b734 Adds helper routines to TControl to obtain the background color
git-svn-id: trunk@33093 -
2011-10-26 15:22:45 +00:00
zeljko
b8cb50f5ce LCL: added explanation for TControlStyles csNoStdEvents and csNoFocus
git-svn-id: trunk@33072 -
2011-10-24 19:14:29 +00:00
zeljko
928292514b LCL: added public TControl.IsParentShowHint:boolean function, to check parentShowHint property, since ParentShowHint is protected.For now it's used only in GetHintControl() in application.inc.Fixes issue #20518.
git-svn-id: trunk@33020 -
2011-10-22 12:47:44 +00:00
sekelsenmat
5e67d91117 applies patch from bug #20252: [Patch] BitBtn with Kind<>bkCustom should not save Caption to LFM but be translated via lclstrconsts
git-svn-id: trunk@32648 -
2011-10-03 08:55:56 +00:00
mattias
43bf91ff49 LCL: clean up
git-svn-id: trunk@32563 -
2011-09-30 07:53:38 +00:00