summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorJonas M. Gastal <jgastal@profusion.mobi>2012-09-25 19:44:32 +0000
committerJonas M. Gastal <jgastal@profusion.mobi>2012-09-25 19:44:32 +0000
commit032e16f35ab02e74c54e5b976bd8884bde335610 (patch)
tree71829c78bd6a49cb7aabcabf1389a287d633ba86 /legacy
parent5f448b1e8f87596538becc471375d41d079ac93a (diff)
edje: include edje_box_layout_register to Box group in documentation.
Author: Lucas Joia <lucasjoia@profusion.mobi> SVN revision: 77056
Diffstat (limited to 'legacy')
-rw-r--r--legacy/edje/src/lib/Edje.h58
1 files changed, 24 insertions, 34 deletions
diff --git a/legacy/edje/src/lib/Edje.h b/legacy/edje/src/lib/Edje.h
index 327bb62742..d0e8a31bce 100644
--- a/legacy/edje/src/lib/Edje.h
+++ b/legacy/edje/src/lib/Edje.h
@@ -1799,40 +1799,6 @@ EAPI Eina_Bool edje_object_text_class_set (Evas_Object *obj, const c
1799 */ 1799 */
1800 1800
1801/** 1801/**
1802 * @addtogroup Edje_Object_Part
1803 *
1804 * @{
1805 */
1806
1807/**
1808 * @brief Registers a custom layout to be used in edje boxes.
1809 *
1810 * @param name The name of the layout
1811 * @param func The function defining the layout
1812 * @param layout_data_get This function gets the custom data pointer
1813 * for func
1814 * @param layout_data_free Passed to func to free its private data
1815 * when needed
1816 * @param free_data Frees data
1817 * @param data Private pointer passed to layout_data_get
1818 *
1819 * This function registers custom layouts that can be referred from
1820 * themes by the registered name. The Evas_Object_Box_Layout
1821 * functions receive two pointers for internal use, one being private
1822 * data, and the other the function to free that data when it's not
1823 * longer needed. From Edje, this private data will be retrieved by
1824 * calling layout_data_get, and layout_data_free will be the free
1825 * function passed to func. layout_data_get will be called with data
1826 * as its parameter, and this one will be freed by free_data whenever
1827 * the layout is unregistered from Edje.
1828 */
1829EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data);
1830
1831/**
1832 * @}
1833 */
1834
1835/**
1836 * @defgroup Edje_Object_File Edje Object File 1802 * @defgroup Edje_Object_File Edje Object File
1837 * 1803 *
1838 * @brief Functions to deals with EDJ files. 1804 * @brief Functions to deals with EDJ files.
@@ -3954,6 +3920,30 @@ EAPI Eina_Bool edje_object_part_drag_page (Evas_Object *obj, const c
3954 */ 3920 */
3955 3921
3956/** 3922/**
3923 * @brief Registers a custom layout to be used in edje boxes.
3924 *
3925 * @param name The name of the layout
3926 * @param func The function defining the layout
3927 * @param layout_data_get This function gets the custom data pointer
3928 * for func
3929 * @param layout_data_free Passed to func to free its private data
3930 * when needed
3931 * @param free_data Frees data
3932 * @param data Private pointer passed to layout_data_get
3933 *
3934 * This function registers custom layouts that can be referred from
3935 * themes by the registered name. The Evas_Object_Box_Layout
3936 * functions receive two pointers for internal use, one being private
3937 * data, and the other the function to free that data when it's not
3938 * longer needed. From Edje, this private data will be retrieved by
3939 * calling layout_data_get, and layout_data_free will be the free
3940 * function passed to func. layout_data_get will be called with data
3941 * as its parameter, and this one will be freed by free_data whenever
3942 * the layout is unregistered from Edje.
3943 */
3944EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data);
3945
3946/**
3957 * @brief Appends an object to the box. 3947 * @brief Appends an object to the box.
3958 * 3948 *
3959 * @param obj A valid Evas_Object handle 3949 * @param obj A valid Evas_Object handle