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
Users can implement focus movement by SetCustomAlgorithm.
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
segmentation.h
diff --git
a/dali-toolkit/internal/text/segmentation.h
b/dali-toolkit/internal/text/segmentation.h
index
4bbe5d5
..
305329f
100644
(file)
--- a/
dali-toolkit/internal/text/segmentation.h
+++ b/
dali-toolkit/internal/text/segmentation.h
@@
-1,8
+1,8
@@
-#ifndef
__DALI_TOOLKIT_TEXT_SEGMENTATION_H__
-#define
__DALI_TOOLKIT_TEXT_SEGMENTATION_H__
+#ifndef
DALI_TOOLKIT_TEXT_SEGMENTATION_H
+#define
DALI_TOOLKIT_TEXT_SEGMENTATION_H
/*
/*
- * Copyright (c) 20
15
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
21
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.
@@
-26,13
+26,10
@@
namespace Dali
{
namespace Dali
{
-
namespace Toolkit
{
namespace Toolkit
{
-
namespace Text
{
namespace Text
{
-
class LogicalModel;
/**
class LogicalModel;
/**
@@
-45,10
+42,14
@@
class LogicalModel;
* - 2 is a LINE_NO_BREAK. Text can't be broken into a new line.
*
* @param[in] text Vector of UTF-32 characters.
* - 2 is a LINE_NO_BREAK. Text can't be broken into a new line.
*
* @param[in] text Vector of UTF-32 characters.
+ * @param[in] startIndex The character from where the break info is set.
+ * @param[in] numberOfCharacters The number of characters.
* @param[out] lineBreakInfo The line break info
*/
* @param[out] lineBreakInfo The line break info
*/
-void SetLineBreakInfo( const Vector<Character>& text,
- Vector<LineBreakInfo>& lineBreakInfo );
+void SetLineBreakInfo(const Vector<Character>& text,
+ CharacterIndex startIndex,
+ Length numberOfCharacters,
+ Vector<LineBreakInfo>& lineBreakInfo);
/**
* Sets word break info.
/**
* Sets word break info.
@@
-57,10
+58,14
@@
void SetLineBreakInfo( const Vector<Character>& text,
* - 1 is a WORD_NO_BREAK. Text can't be broken into a new word.
*
* @param[in] text Vector of UTF-32 characters.
* - 1 is a WORD_NO_BREAK. Text can't be broken into a new word.
*
* @param[in] text Vector of UTF-32 characters.
+ * @param[in] startIndex The character from where the break info is set.
+ * @param[in] numberOfCharacters The number of characters.
* @param[out] wordBreakInfo The word break info.
*/
* @param[out] wordBreakInfo The word break info.
*/
-void SetWordBreakInfo( const Vector<Character>& text,
- Vector<WordBreakInfo>& wordBreakInfo );
+void SetWordBreakInfo(const Vector<Character>& text,
+ CharacterIndex startIndex,
+ Length numberOfCharacters,
+ Vector<WordBreakInfo>& wordBreakInfo);
} // namespace Text
} // namespace Text
@@
-68,4
+73,4
@@
void SetWordBreakInfo( const Vector<Character>& text,
} // namespace Dali
} // namespace Dali
-#endif //
__DALI_TOOLKIT_TEXT_SEGMENTATION_H__
+#endif //
DALI_TOOLKIT_TEXT_SEGMENTATION_H