projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ATSPI] Implementation of Hypertext and Hyperlink in text controls
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
controls
/
text-controls
/
text-selection-toolbar.cpp
diff --git
a/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp
b/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp
index
453b12d
..
64515fc
100644
(file)
--- a/
dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp
+++ b/
dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 20
15
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-25,10
+25,8
@@
using namespace Dali;
namespace Dali
{
namespace Dali
{
-
namespace Toolkit
{
namespace Toolkit
{
-
TextSelectionToolbar TextSelectionToolbar::New()
{
return Internal::TextSelectionToolbar::New();
TextSelectionToolbar TextSelectionToolbar::New()
{
return Internal::TextSelectionToolbar::New();
@@
-38,16
+36,16
@@
TextSelectionToolbar::TextSelectionToolbar()
{
}
{
}
-TextSelectionToolbar::TextSelectionToolbar(
const TextSelectionToolbar& handle
)
-: Control(
handle
)
+TextSelectionToolbar::TextSelectionToolbar(
const TextSelectionToolbar& handle
)
+: Control(
handle
)
{
}
{
}
-TextSelectionToolbar& TextSelectionToolbar::operator=(
const TextSelectionToolbar& handle
)
+TextSelectionToolbar& TextSelectionToolbar::operator=(
const TextSelectionToolbar& handle
)
{
{
- if(
&handle != this
)
+ if(
&handle != this
)
{
{
- Control::operator=(
handle
);
+ Control::operator=(
handle
);
}
return *this;
}
}
return *this;
}
@@
-56,39
+54,47
@@
TextSelectionToolbar::~TextSelectionToolbar()
{
}
{
}
-void TextSelectionToolbar::AddOption(
Actor& option
)
+void TextSelectionToolbar::AddOption(
Actor& option
)
{
GetImpl(*this).AddOption(option);
}
{
GetImpl(*this).AddOption(option);
}
+void TextSelectionToolbar::AddDivider(Actor& divider)
+{
+ GetImpl(*this).AddDivider(divider);
+}
+
+void TextSelectionToolbar::ResizeDividers(Size& size)
+{
+ GetImpl(*this).ResizeDividers(size);
+}
-void TextSelectionToolbar::
AddDivider( Actor& divider
)
+void TextSelectionToolbar::
RaiseAbove(Actor target
)
{
{
- GetImpl(*this).
AddDivider( divider
);
+ GetImpl(*this).
RaiseAbove(target
);
}
}
-void TextSelectionToolbar::
ResizeDividers( Size& size
)
+void TextSelectionToolbar::
ScrollTo(const Vector2& position
)
{
{
- GetImpl(*this).
ResizeDividers( size
);
+ GetImpl(*this).
ScrollTo(position
);
}
}
-TextSelectionToolbar TextSelectionToolbar::DownCast(
BaseHandle handle
)
+TextSelectionToolbar TextSelectionToolbar::DownCast(
BaseHandle handle
)
{
return Control::DownCast<TextSelectionToolbar, Internal::TextSelectionToolbar>(handle);
}
{
return Control::DownCast<TextSelectionToolbar, Internal::TextSelectionToolbar>(handle);
}
-TextSelectionToolbar::TextSelectionToolbar(
Internal::TextSelectionToolbar& implementation
)
+TextSelectionToolbar::TextSelectionToolbar(
Internal::TextSelectionToolbar& implementation
)
: Control(implementation)
{
}
: Control(implementation)
{
}
-TextSelectionToolbar::TextSelectionToolbar(
Dali::Internal::CustomActor* internal
)
-: Control(
internal
)
+TextSelectionToolbar::TextSelectionToolbar(
Dali::Internal::CustomActor* internal
)
+: Control(
internal
)
{
{
- VerifyCustomActorPointer<Internal::TextSelectionToolbar>(
internal
);
+ VerifyCustomActorPointer<Internal::TextSelectionToolbar>(
internal
);
}
}
-
} // namespace Toolkit
} // namespace Dali
} // namespace Toolkit
} // namespace Dali