summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_textblock_legacy.h
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2016-06-07 17:16:34 +0000
committerTom Hacohen <tom@stosb.com>2016-06-16 19:15:20 +0100
commited512ea49e5c63c17fbda4d91d6816e15b6695df (patch)
tree34aa87f1ac1da3ad002bc9794760e60c938187f7 /src/lib/evas/canvas/evas_textblock_legacy.h
parentc297ff4115ba99f212c59dc8ed2430bcd7c8ad6b (diff)
Canvas Text: continue porting api and fixup bugs
Also: This merges style user and normal style into a list with precedence. This allows for more flexibility while keeping the API clean. @feature
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_textblock_legacy.h (renamed from src/lib/evas/Evas_Textblock_Legacy.h)48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_Textblock_Legacy.h b/src/lib/evas/canvas/evas_textblock_legacy.h
index 8c6d52fb61..3179a76f01 100644
--- a/src/lib/evas/Evas_Textblock_Legacy.h
+++ b/src/lib/evas/canvas/evas_textblock_legacy.h
@@ -860,6 +860,54 @@ EAPI void evas_textblock_cursor_free(Evas_Textblock_Cursor *cur);
860 860
861EAPI int evas_textblock_cursor_text_append(Evas_Textblock_Cursor *cur, const char *_text); 861EAPI int evas_textblock_cursor_text_append(Evas_Textblock_Cursor *cur, const char *_text);
862 862
863/**
864 * @brief The "replacement character" to use for the given textblock object.
865 *
866 * @param[in] ch The charset name.
867 *
868 * @ingroup Efl_Canvas_Text
869 */
870EAPI void evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch);
871
872/**
873 * @brief The "replacement character" to use for the given textblock object.
874 *
875 * @return The charset name.
876 *
877 * @ingroup Efl_Canvas_Text
878 */
879EAPI const char *evas_object_textblock_replace_char_get(const Evas_Object *obj);
880
881/**
882 * @brief The vertical alignment of text within the textblock object as a
883 * whole.
884 *
885 * Normally alignment is 0.0 (top of object). Values given should be between
886 * 0.0 and 1.0 (1.0 bottom of object, 0.5 being vertically centered etc.).
887 *
888 * @param[in] align The alignment set for the object.
889 *
890 * @since 1.1
891 *
892 * @ingroup Efl_Canvas_Text
893 */
894EAPI void evas_object_textblock_valign_set(Evas_Object *obj, double align);
895
896/**
897 * @brief The vertical alignment of text within the textblock object as a
898 * whole.
899 *
900 * Normally alignment is 0.0 (top of object). Values given should be between
901 * 0.0 and 1.0 (1.0 bottom of object, 0.5 being vertically centered etc.).
902 *
903 * @return The alignment set for the object.
904 *
905 * @since 1.1
906 *
907 * @ingroup Efl_Canvas_Text
908 */
909EAPI double evas_object_textblock_valign_get(const Evas_Object *obj);
910
863#include "canvas/efl_canvas_text_cursor.eo.legacy.h" 911#include "canvas/efl_canvas_text_cursor.eo.legacy.h"
864#include "canvas/efl_canvas_text.eo.legacy.h" 912#include "canvas/efl_canvas_text.eo.legacy.h"
865/** 913/**