/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
namespace Dali
{
-
namespace Toolkit
{
-
-TextSelectionPopup TextSelectionPopup::New( Buttons enabledButtons,
- TextSelectionPopupCallbackInterface* callbackInterface )
+TextSelectionPopup TextSelectionPopup::New(TextSelectionPopupCallbackInterface* callbackInterface)
{
- return Internal::TextSelectionPopup::New( enabledButtons,
- callbackInterface );
+ return Internal::TextSelectionPopup::New(callbackInterface);
}
TextSelectionPopup::TextSelectionPopup()
{
}
-TextSelectionPopup::TextSelectionPopup( const TextSelectionPopup& handle )
-: Control( handle )
+TextSelectionPopup::TextSelectionPopup(const TextSelectionPopup& handle)
+: Control(handle)
{
}
-TextSelectionPopup& TextSelectionPopup::operator=( const TextSelectionPopup& handle )
+TextSelectionPopup& TextSelectionPopup::operator=(const TextSelectionPopup& handle)
{
- if( &handle != this )
+ if(&handle != this)
{
- Control::operator=( handle );
+ Control::operator=(handle);
}
return *this;
}
{
}
-TextSelectionPopup TextSelectionPopup::DownCast( BaseHandle handle )
+TextSelectionPopup TextSelectionPopup::DownCast(BaseHandle handle)
{
return Control::DownCast<TextSelectionPopup, Internal::TextSelectionPopup>(handle);
}
-TextSelectionPopup::TextSelectionPopup( Internal::TextSelectionPopup& implementation )
-: Control(implementation)
+void TextSelectionPopup::EnableButtons(Toolkit::TextSelectionPopup::Buttons buttonsToEnable)
+{
+ GetImpl(*this).EnableButtons(buttonsToEnable);
+}
+
+void TextSelectionPopup::RaiseAbove(Layer target)
{
+ GetImpl(*this).RaiseAbove(target);
}
-TextSelectionPopup::TextSelectionPopup( Dali::Internal::CustomActor* internal )
-: Control( internal )
+void TextSelectionPopup::ShowPopup()
{
- VerifyCustomActorPointer<Internal::TextSelectionPopup>( internal );
+ GetImpl(*this).ShowPopup();
}
+void TextSelectionPopup::HidePopup()
+{
+ GetImpl(*this).HidePopup();
+}
+
+TextSelectionPopup::TextSelectionPopup(Internal::TextSelectionPopup& implementation)
+: Control(implementation)
+{
+}
+
+TextSelectionPopup::TextSelectionPopup(Dali::Internal::CustomActor* internal)
+: Control(internal)
+{
+ VerifyCustomActorPointer<Internal::TextSelectionPopup>(internal);
+}
} // namespace Toolkit