mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 23:18:01 +02:00
Adds a capability for Accessibility support
git-svn-id: trunk@36113 -
This commit is contained in:
parent
c01b8ac358
commit
83f7ae1a8d
@ -100,6 +100,7 @@ begin
|
||||
lcSendsUTF8KeyPress:
|
||||
if IntfSendsUTF8KeyPress() then Result := LCL_CAPABILITY_YES
|
||||
else Result := LCL_CAPABILITY_NO;
|
||||
lcAccessibilitySupport: Result := LCL_CAPABILITY_NO;
|
||||
else
|
||||
Result := LCL_CAPABILITY_NO;
|
||||
end;
|
||||
|
@ -3070,7 +3070,7 @@ begin
|
||||
// Accessibility
|
||||
AccessibleDescription := rsTTreeViewAccessibilityDescription;
|
||||
AccessibleRole := larTreeView;
|
||||
FAccessibilityOn := True;
|
||||
FAccessibilityOn := WidgetSet.GetLCLCapability(lcAccessibilitySupport) = LCL_CAPABILITY_YES;
|
||||
end;
|
||||
|
||||
destructor TCustomTreeView.Destroy;
|
||||
|
@ -85,7 +85,8 @@ type
|
||||
lcReceivesLMClearCutCopyPasteReliably, // In Carbon we do not receive LM_CLEAR, CUT, COPY, PASTE, etc reliably, and this affects DB controls. See bug http://bugs.freepascal.org/view.php?id=20394
|
||||
lcSendsUTF8KeyPress, // If the interface does not yet send UTF8KeyPress directly, then it will be emulated in TWinControl.CNChar
|
||||
lcAllowChildControlsInNativeControls, // Utilized by LCL-CustomDrawn so that it can inject child controls in native ones
|
||||
lcEmulatedMDI // used for emulating MDI on widgetsets which does not provide native MDI handling
|
||||
lcEmulatedMDI, // used for emulating MDI on widgetsets which does not provide native MDI handling
|
||||
lcAccessibilitySupport // Indicates that accessibility is implemented, mostly for TCustomControl descendents as native widgests should have in-built accessibility
|
||||
);
|
||||
|
||||
{ TDialogButton }
|
||||
|
@ -1232,6 +1232,7 @@ begin
|
||||
Result := LCL_CAPABILITY_NO;
|
||||
lcAntialiasingEnabledByDefault:
|
||||
Result := LCL_CAPABILITY_YES;
|
||||
lcAccessibilitySupport: Result := LCL_CAPABILITY_YES;
|
||||
else
|
||||
Result := inherited;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user