mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
iOS: Removed private API method
This commit is contained in:
parent
9446f6317c
commit
17fe5a54d8
1 changed files with 0 additions and 16 deletions
|
|
@ -84,9 +84,6 @@ private:
|
|||
{
|
||||
addMethod (@selector (isAccessibilityElement), getIsAccessibilityElement, "c@:");
|
||||
addMethod (@selector (accessibilityContainer), getAccessibilityContainer, "@@:");
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wundeclared-selector")
|
||||
addMethod (@selector (accessibilityHitTest:), accessibilityHitTest, "@@:", @encode (CGPoint));
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
addMethod (@selector (accessibilityFrame), getAccessibilityFrame, @encode (CGRect), "@:");
|
||||
addMethod (@selector (accessibilityTraits), getAccessibilityTraits, "i@:");
|
||||
addMethod (@selector (accessibilityLabel), getAccessibilityTitle, "@@:");
|
||||
|
|
@ -136,19 +133,6 @@ private:
|
|||
return nil;
|
||||
}
|
||||
|
||||
static id accessibilityHitTest (id self, SEL, CGPoint point)
|
||||
{
|
||||
if (auto* handler = getHandler (self))
|
||||
{
|
||||
if (auto* child = handler->getChildAt (roundToIntPoint (point)))
|
||||
return (id) child->getNativeImplementation();
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
static CGRect getAccessibilityFrame (id self, SEL)
|
||||
{
|
||||
if (auto* handler = getHandler (self))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue