}));
}
-SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Toolkit_DevelControl_GetBoundAccessibilityObject(void *arg1) {
- Dali::Accessibility::Accessible *result = nullptr;
- GUARD_ON_NULL_RET0(arg1);
- try_catch(([&]() {
- Dali::Actor *control = (Dali::Actor*) arg1;
- result = GetBoundAccessibilityObject(*control);
- }));
- return (void*)result;
-}
-
/***********************************************
**************** Accessibility ****************
***********************************************/
GUARD_ON_NULL_RET(arg1);
try_catch(([&]() {
Dali::Actor *control = (Dali::Actor*) arg1;
- auto accessible = GetBoundAccessibilityObject(*control);
+ auto accessible = Dali::Accessibility::Accessible::Get(*control);
if (accessible)
accessible->Emit((Dali::Accessibility::ObjectPropertyChangeEvent)arg2_event);
else
GUARD_ON_NULL_RET(arg1);
try_catch(([&]() {
Dali::Actor *control = (Dali::Actor*) arg1;
- auto accessible = GetBoundAccessibilityObject(*control);
+ auto accessible = Dali::Accessibility::Accessible::Get(*control);
if (accessible)
accessible->EmitStateChanged((Dali::Accessibility::State)arg2_state, arg3);
else
Dali::Accessibility::State state = (Dali::Accessibility::State) (63-leading_zeros);
Dali::Actor *control = (Dali::Actor*) arg1;
- auto accessible = GetBoundAccessibilityObject(*control);
+ auto accessible = Dali::Accessibility::Accessible::Get(*control);
if (accessible)
accessible->EmitStateChanged((Dali::Accessibility::State)state, arg3);
else
GUARD_ON_NULL_RET(arg1);
try_catch(([&]() {
Dali::Actor *control = (Dali::Actor*) arg1;
- auto accessible = GetBoundAccessibilityObject(*control);
+ auto accessible = Dali::Accessibility::Accessible::Get(*control);
std::string content(arg4_content ? arg4_content : "");
if (accessible)
accessible->EmitTextInserted(arg2_position, arg3_length, content);
GUARD_ON_NULL_RET(arg1);
try_catch(([&]() {
Dali::Actor *control = (Dali::Actor*) arg1;
- auto accessible = GetBoundAccessibilityObject(*control);
+ auto accessible = Dali::Accessibility::Accessible::Get(*control);
std::string content(arg4_content ? arg4_content : "");
if (accessible)
accessible->EmitTextDeleted(arg2_position, arg3_length, content);
GUARD_ON_NULL_RET(arg1);
try_catch(([&]() {
Dali::Actor *control = (Dali::Actor*) arg1;
- auto accessible = GetBoundAccessibilityObject(*control);
+ auto accessible = Dali::Accessibility::Accessible::Get(*control);
if (accessible)
accessible->EmitTextCursorMoved(arg2_position);
else