summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_Common.h
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2014-03-11 11:15:55 +0000
committerTom Hacohen <tom@stosb.com>2014-03-11 11:21:56 +0000
commitcb5026137b70739c768474c6ea8633abb710c70d (patch)
tree31f8ede298aacd912f27bc047319e37bf6861d7a /src/lib/evas/Evas_Common.h
parent2dba63119b7660271484fe7b0dfaa36ad85b616d (diff)
evas/font: Added evas_font_path_global_* APIs.
Summary: These APIs will be used for adding font paths for the application. The existing APIs for font path, such as evas_font_path_append, are used for adding font paths to the given evas. But, these APIs will affect to every evas in the process. Reviewers: tasn, woohyun, Hermet, seoz CC: cedric, herdsman Differential Revision: https://phab.enlightenment.org/D621 @feature
Diffstat (limited to 'src/lib/evas/Evas_Common.h')
-rw-r--r--src/lib/evas/Evas_Common.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h
index 5d931ca16a..801846b683 100644
--- a/src/lib/evas/Evas_Common.h
+++ b/src/lib/evas/Evas_Common.h
@@ -5253,3 +5253,53 @@ EAPI Eina_Bool evas_key_lock_is_set(const Evas_Lock *l, const char *k
5253 */ 5253 */
5254 5254
5255typedef Eo Evas_Out; 5255typedef Eo Evas_Out;
5256
5257/**
5258 * @ingroup Evas_Font_Group
5259 *
5260 * @{
5261 */
5262
5263/**
5264 * @defgroup Evas_Font_Path_Group Font Path Functions
5265 *
5266 * Functions that edit the paths being used to load fonts.
5267 *
5268 * @ingroup Evas_Font_Group
5269 */
5270
5271/**
5272 * Removes all font paths loaded into memory by evas_font_path_app_* APIs
5273 * for the application.
5274 * @ingroup Evas_Font_Path_Group
5275 * @since 1.9
5276 */
5277EAPI void evas_font_path_global_clear(void);
5278
5279/**
5280 * Appends a font path to the list of font paths used by the application.
5281 * @param path The new font path.
5282 * @ingroup Evas_Font_Path_Group
5283 * @since 1.9
5284 */
5285EAPI void evas_font_path_global_append(const char *path) EINA_ARG_NONNULL(1);
5286
5287/**
5288 * Prepends a font path to the list of font paths used by the application.
5289 * @param path The new font path.
5290 * @ingroup Evas_Font_Path_Group
5291 * @since 1.9
5292 */
5293EAPI void evas_font_path_global_prepend(const char *path) EINA_ARG_NONNULL(1);
5294
5295/**
5296 * Retrieves the list of font paths used by the application.
5297 * @return The list of font paths used.
5298 * @ingroup Evas_Font_Path_Group
5299 * @since 1.9
5300 */
5301EAPI const Eina_List *evas_font_path_global_list(void) EINA_WARN_UNUSED_RESULT;
5302
5303/**
5304 * @}
5305 */