Changeset View
Changeset View
Standalone View
Standalone View
src/lib/evas/canvas/evas_textblock_legacy.h
Show First 20 Lines • Show All 132 Lines • ▼ Show 20 Line(s) | |||||
133 | * @typedef Evas_Textblock_Style | 133 | * @typedef Evas_Textblock_Style | ||
134 | * | 134 | * | ||
135 | * A textblock style object. | 135 | * A textblock style object. | ||
136 | * @see evas_textblock_style_new() | 136 | * @see evas_textblock_style_new() | ||
137 | * @see evas_textblock_style_get() | 137 | * @see evas_textblock_style_get() | ||
138 | * @see evas_textblock_style_set() | 138 | * @see evas_textblock_style_set() | ||
139 | */ | 139 | */ | ||
140 | 140 | | |||
141 | typedef struct _Efl_Canvas_Text_Style Evas_Textblock_Style; | 141 | typedef struct _Efl_Canvas_Text_Canvas_Style Evas_Textblock_Style; | ||
142 | 142 | | |||
143 | /** | 143 | /** | ||
144 | * @typedef Evas_Textblock_Cursor | 144 | * @typedef Evas_Textblock_Cursor | ||
145 | * | 145 | * | ||
146 | * A textblock cursor object, used to maipulate the cursor of an evas textblock | 146 | * A textblock cursor object, used to maipulate the cursor of an evas textblock | ||
147 | * @see evas_object_textblock_cursor_new | 147 | * @see evas_object_textblock_cursor_new | ||
148 | * | 148 | * | ||
149 | */ | 149 | */ | ||
▲ Show 20 Lines • Show All 766 Lines • ▼ Show 20 Line(s) | |||||
916 | */ | 916 | */ | ||
917 | EAPI int evas_textblock_cursor_text_prepend(Evas_Textblock_Cursor *cur, const char *text) EINA_ARG_NONNULL(1, 2); | 917 | EAPI int evas_textblock_cursor_text_prepend(Evas_Textblock_Cursor *cur, const char *text) EINA_ARG_NONNULL(1, 2); | ||
918 | 918 | | |||
919 | /** | 919 | /** | ||
920 | * @brief The "replacement character" to use for the given textblock object. | 920 | * @brief The "replacement character" to use for the given textblock object. | ||
921 | * | 921 | * | ||
922 | * @param[in] ch The charset name. | 922 | * @param[in] ch The charset name. | ||
923 | * | 923 | * | ||
924 | * @ingroup Efl_Canvas_Text | 924 | * @ingroup Efl_Canvas_Text_Canvas | ||
925 | */ | 925 | */ | ||
926 | EAPI void evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch); | 926 | EAPI void evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch); | ||
927 | 927 | | |||
928 | /** | 928 | /** | ||
929 | * @brief The "replacement character" to use for the given textblock object. | 929 | * @brief The "replacement character" to use for the given textblock object. | ||
930 | * | 930 | * | ||
931 | * @return The charset name. | 931 | * @return The charset name. | ||
932 | * | 932 | * | ||
933 | * @ingroup Efl_Canvas_Text | 933 | * @ingroup Efl_Canvas_Text_Canvas | ||
934 | */ | 934 | */ | ||
935 | EAPI const char *evas_object_textblock_replace_char_get(const Evas_Object *obj); | 935 | EAPI const char *evas_object_textblock_replace_char_get(const Evas_Object *obj); | ||
936 | 936 | | |||
937 | /** | 937 | /** | ||
938 | * @brief The vertical alignment of text within the textblock object as a | 938 | * @brief The vertical alignment of text within the textblock object as a | ||
939 | * whole. | 939 | * whole. | ||
940 | * | 940 | * | ||
941 | * Normally alignment is 0.0 (top of object). Values given should be between | 941 | * Normally alignment is 0.0 (top of object). Values given should be between | ||
942 | * 0.0 and 1.0 (1.0 bottom of object, 0.5 being vertically centered etc.). | 942 | * 0.0 and 1.0 (1.0 bottom of object, 0.5 being vertically centered etc.). | ||
943 | * | 943 | * | ||
944 | * @param[in] align The alignment set for the object. | 944 | * @param[in] align The alignment set for the object. | ||
945 | * | 945 | * | ||
946 | * @since 1.1 | 946 | * @since 1.1 | ||
947 | * | 947 | * | ||
948 | * @ingroup Efl_Canvas_Text | 948 | * @ingroup Efl_Canvas_Text_Canvas | ||
949 | */ | 949 | */ | ||
950 | EAPI void evas_object_textblock_valign_set(Evas_Object *obj, double align); | 950 | EAPI void evas_object_textblock_valign_set(Evas_Object *obj, double align); | ||
951 | 951 | | |||
952 | /** | 952 | /** | ||
953 | * @brief The vertical alignment of text within the textblock object as a | 953 | * @brief The vertical alignment of text within the textblock object as a | ||
954 | * whole. | 954 | * whole. | ||
955 | * | 955 | * | ||
956 | * Normally alignment is 0.0 (top of object). Values given should be between | 956 | * Normally alignment is 0.0 (top of object). Values given should be between | ||
957 | * 0.0 and 1.0 (1.0 bottom of object, 0.5 being vertically centered etc.). | 957 | * 0.0 and 1.0 (1.0 bottom of object, 0.5 being vertically centered etc.). | ||
958 | * | 958 | * | ||
959 | * @return The alignment set for the object. | 959 | * @return The alignment set for the object. | ||
960 | * | 960 | * | ||
961 | * @since 1.1 | 961 | * @since 1.1 | ||
962 | * | 962 | * | ||
963 | * @ingroup Efl_Canvas_Text | 963 | * @ingroup Efl_Canvas_Text_Canvas | ||
964 | */ | 964 | */ | ||
965 | EAPI double evas_object_textblock_valign_get(const Evas_Object *obj); | 965 | EAPI double evas_object_textblock_valign_get(const Evas_Object *obj); | ||
966 | 966 | | |||
967 | /** | 967 | /** | ||
968 | * Sets the cursor to the start of the first text node. | 968 | * Sets the cursor to the start of the first text node. | ||
969 | * | 969 | * | ||
970 | * @param cur the cursor to update. | 970 | * @param cur the cursor to update. | ||
971 | * @return Returns no value. | 971 | * @return Returns no value. | ||
▲ Show 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | |||||
1051 | */ | 1051 | */ | ||
1052 | EAPI void evas_textblock_cursor_char_delete(Evas_Textblock_Cursor *cur); | 1052 | EAPI void evas_textblock_cursor_char_delete(Evas_Textblock_Cursor *cur); | ||
1053 | 1053 | | |||
1054 | /** Get the object's main cursor. | 1054 | /** Get the object's main cursor. | ||
1055 | * | 1055 | * | ||
1056 | * @ingroup Evas_Textblock | 1056 | * @ingroup Evas_Textblock | ||
1057 | */ | 1057 | */ | ||
1058 | EAPI Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const Evas_Object *obj); | 1058 | EAPI Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const Evas_Object *obj); | ||
1059 | #include "canvas/efl_canvas_text_eo.legacy.h" | 1059 | #include "canvas/efl_canvas_text_canvas_eo.legacy.h" | ||
1060 | /** | 1060 | /** | ||
1061 | * @} | 1061 | * @} | ||
1062 | */ | 1062 | */ |