summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_textblock_legacy.h
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-07-17 12:45:36 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-07-17 16:51:45 +0300
commitd5f781da2b93085d51fd09803e27579fb7f8c2da (patch)
tree44d34b8114b413ad30fc9742e728fb2474997c8c /src/lib/evas/canvas/evas_textblock_legacy.h
parentc4ea25cbdbfb027d5119880ddcf0bf5ba6a5720b (diff)
Efl text: replace all usages of cursor handle to same type
Changes cursor handle name from 'Efl.Text.Cursor.Cursor_Data' to 'Efl.Text.Cursor.Cursor'. Also, replace all usages of Efl_Canvas_Text_Cursor with Efl_Text_Cursor_Cursor as the handle for the cursor.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_textblock_legacy.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/evas/canvas/evas_textblock_legacy.h b/src/lib/evas/canvas/evas_textblock_legacy.h
index 664a2a7a74..f55691d48b 100644
--- a/src/lib/evas/canvas/evas_textblock_legacy.h
+++ b/src/lib/evas/canvas/evas_textblock_legacy.h
@@ -146,8 +146,7 @@ typedef struct _Efl_Canvas_Text_Style Evas_Textblock_Style;
146 * @see evas_object_textblock_cursor_new 146 * @see evas_object_textblock_cursor_new
147 * 147 *
148 */ 148 */
149typedef struct _Efl_Text_Cursor_Cursor_Data Evas_Textblock_Cursor; 149typedef struct _Efl_Text_Cursor_Cursor Evas_Textblock_Cursor;
150typedef struct _Efl_Text_Cursor_Cursor_Data Efl_Canvas_Text_Cursor;
151 150
152/** 151/**
153 * @typedef Evas_Object_Textblock_Node_Format 152 * @typedef Evas_Object_Textblock_Node_Format
@@ -584,8 +583,6 @@ EAPI Eina_Bool evas_textblock_cursor_eol_get(cons
584 * @brief Advances the cursor one char backwards. 583 * @brief Advances the cursor one char backwards.
585 * 584 *
586 * @return @c true on success, @c false otherwise. 585 * @return @c true on success, @c false otherwise.
587 *
588 * @ingroup Efl_Canvas_Text_Cursor
589 */ 586 */
590EAPI Eina_Bool evas_textblock_cursor_char_prev(Evas_Textblock_Cursor *obj); 587EAPI Eina_Bool evas_textblock_cursor_char_prev(Evas_Textblock_Cursor *obj);
591 588
@@ -850,8 +847,6 @@ EAPI Evas_Textblock_Cursor *evas_object_textblock_cursor_new(const Evas_Object *
850 * @param[in] y y coord to set by. 847 * @param[in] y y coord to set by.
851 * 848 *
852 * @return @c true on success, @c false otherwise. 849 * @return @c true on success, @c false otherwise.
853 *
854 * @ingroup Efl_Canvas_Text_Cursor
855 */ 850 */
856EAPI Eina_Bool evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *obj, Evas_Coord x, Evas_Coord y); 851EAPI Eina_Bool evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *obj, Evas_Coord x, Evas_Coord y);
857 852
@@ -970,10 +965,8 @@ EAPI int evas_textblock_cursor_compare(const Evas_Textblock_Cursor *cur1, const
970 * @return @c true if equal 965 * @return @c true if equal
971 * 966 *
972 * @since 1.18 967 * @since 1.18
973 *
974 * @ingroup Efl_Canvas_Text_Cursor
975 */ 968 */
976EAPI Eina_Bool evas_textblock_cursor_equal(const Efl_Canvas_Text_Cursor *obj, const Efl_Canvas_Text_Cursor *cur); 969EAPI Eina_Bool evas_textblock_cursor_equal(const Evas_Textblock_Cursor *obj, const Evas_Textblock_Cursor *cur);
977 970
978/** 971/**
979 * Go to the start of the current line 972 * Go to the start of the current line