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
Merge "Add borderline property for visual + Integrate some shaders in one" into devel...
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
text-editable-control-interface.h
diff --git
a/dali-toolkit/internal/text/text-editable-control-interface.h
b/dali-toolkit/internal/text/text-editable-control-interface.h
index
6239a68
..
4bd0de0
100644
(file)
--- a/
dali-toolkit/internal/text/text-editable-control-interface.h
+++ b/
dali-toolkit/internal/text/text-editable-control-interface.h
@@
-2,7
+2,7
@@
#define DALI_TOOLKIT_TEXT_EDITABLE_CONTROL_INTERFACE_H
/*
#define DALI_TOOLKIT_TEXT_EDITABLE_CONTROL_INTERFACE_H
/*
- * Copyright (c) 20
16
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.
@@
-23,47
+23,46
@@
namespace Dali
{
namespace Dali
{
-
class Actor;
namespace Toolkit
{
class Actor;
namespace Toolkit
{
-
namespace Text
{
namespace Text
{
-
/**
* @brief An interface that the Text::Controller uses to notify about text changes and add decoration to the text control.
*/
class EditableControlInterface
{
public:
/**
* @brief An interface that the Text::Controller uses to notify about text changes and add decoration to the text control.
*/
class EditableControlInterface
{
public:
-
/**
* @brief Virtual destructor.
*/
virtual ~EditableControlInterface()
/**
* @brief Virtual destructor.
*/
virtual ~EditableControlInterface()
- {}
+ {
+ }
/**
* @brief Called to signal that text has been inserted.
*/
/**
* @brief Called to signal that text has been inserted.
*/
- virtual void TextInserted(
unsigned int position, unsigned int length, const std::string &content
) = 0;
+ virtual void TextInserted(
unsigned int position, unsigned int length, const std::string& content
) = 0;
/**
* @brief Called to signal that text has been deleted.
*/
/**
* @brief Called to signal that text has been deleted.
*/
- virtual void TextDeleted(
unsigned int position, unsigned int length, const std::string &content
) = 0;
+ virtual void TextDeleted(
unsigned int position, unsigned int length, const std::string& content
) = 0;
/**
* @brief Called to signal that caret (cursor position) has been moved.
*/
/**
* @brief Called to signal that caret (cursor position) has been moved.
*/
- virtual void CaretMoved(
unsigned int position
) = 0;
+ virtual void CaretMoved(
unsigned int position
) = 0;
/**
* @brief Called to signal that text has been inserted or deleted.
/**
* @brief Called to signal that text has been inserted or deleted.
+ *
+ * @param[in] immediate If true, it immediately emits the signal, if false, only emits once the signal when OnRelayout() is called next time.
*/
*/
- virtual void TextChanged() = 0;
+ virtual void TextChanged(
bool immediate
) = 0;
/**
* @brief Called when the number of characters to be inserted exceeds the maximum limit
/**
* @brief Called when the number of characters to be inserted exceeds the maximum limit
@@
-75,7
+74,7
@@
public:
*
* @param[in] inputStyleMask Mask with the bits of the input style that has changed.
*/
*
* @param[in] inputStyleMask Mask with the bits of the input style that has changed.
*/
- virtual void InputStyleChanged(
InputStyle::Mask inputStyleMask
) = 0;
+ virtual void InputStyleChanged(
InputStyle::Mask inputStyleMask
) = 0;
/**
* @brief Add a decoration.
/**
* @brief Add a decoration.
@@
-83,7
+82,7
@@
public:
* @param[in] decoration The actor displaying a decoration.
* @param[in] needsClipping Whether the actor needs clipping.
*/
* @param[in] decoration The actor displaying a decoration.
* @param[in] needsClipping Whether the actor needs clipping.
*/
- virtual void AddDecoration(
Actor& actor, bool needsClipping
) = 0;
+ virtual void AddDecoration(
Actor& actor, bool needsClipping
) = 0;
/**
* @brief Editable status (on/off).
/**
* @brief Editable status (on/off).
@@
-97,7
+96,7
@@
public:
*
* @param[in] editable The editable status.
*/
*
* @param[in] editable The editable status.
*/
- virtual void SetEditable(
bool editable
) = 0;
+ virtual void SetEditable(
bool editable
) = 0;
};
} // namespace Text
};
} // namespace Text