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
use string_view to avoid temporary string allocation.
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
controls
/
text-controls
/
text-field-devel.cpp
diff --git
a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp
b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp
old mode 100755
(executable)
new mode 100644
(file)
index
c73bb5e
..
29c3730
--- a/
dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp
+++ b/
dali-toolkit/devel-api/controls/text-controls/text-field-devel.cpp
@@
-1,8
+1,5
@@
-#ifndef DALI_TOOLKIT_TEXT_FIELD_DEVEL_H
-#define DALI_TOOLKIT_TEXT_FIELD_DEVEL_H
-
/*
/*
- * Copyright (c) 20
17
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.
@@
-24,22
+21,27
@@
namespace Dali
{
namespace Dali
{
-
namespace Toolkit
{
namespace Toolkit
{
-
namespace DevelTextField
{
namespace DevelTextField
{
+InputMethodContext GetInputMethodContext(TextField textField)
+{
+ return GetImpl(textField).GetInputMethodContext();
+}
-
InputMethodContext GetInputMethodContext( TextField textField
)
+
void SelectWholeText(TextField textField
)
{
{
-
return GetImpl( textField ).GetInputMethodCont
ext();
+
GetImpl(textField).SelectWholeT
ext();
}
}
-} // namespace DevelText
+void SelectNone(TextField textField)
+{
+ GetImpl(textField).SelectNone();
+}
+
+} // namespace DevelTextField
} // namespace Toolkit
} // namespace Dali
} // namespace Toolkit
} // namespace Dali
-
-#endif // DALI_TOOLKIT_TEXT_FIELD_DEVEL_H