summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry <larry.olj@gmail.com>2016-02-12 20:35:00 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-22 10:38:26 -0300
commit4e369975a1d5449305cc354949a2e32a4f783f95 (patch)
tree2f6d0ce7407adbebcad90ac81a8deba985373492
parentee28ce8c3bfb250890a2ac3c0bbe3e57e5a7ab66 (diff)
elm_layout: moved Elm_Layout_Part_Alias_Description to elm_layout.eo
-rw-r--r--src/lib/elm_image.eo2
-rw-r--r--src/lib/elm_layout.eo17
-rw-r--r--src/lib/elm_widget_layout.h23
3 files changed, 18 insertions, 24 deletions
diff --git a/src/lib/elm_image.eo b/src/lib/elm_image.eo
index dada8c5f1..b45887202 100644
--- a/src/lib/elm_image.eo
+++ b/src/lib/elm_image.eo
@@ -21,7 +21,7 @@ enum Elm.Image_Orient
21 flip_transverse = Evas.Image_Orient.flip_transverse 21 flip_transverse = Evas.Image_Orient.flip_transverse
22} 22}
23 23
24struct Elm.Image.Progress 24struct Elm.Image_Progress
25{ 25{
26 [[ 26 [[
27 Structure associated with smart callback 'download,progress'. 27 Structure associated with smart callback 'download,progress'.
diff --git a/src/lib/elm_layout.eo b/src/lib/elm_layout.eo
index 11b7cef8a..50f4e8865 100644
--- a/src/lib/elm_layout.eo
+++ b/src/lib/elm_layout.eo
@@ -1,3 +1,20 @@
1struct Elm.Layout_Part_Alias_Description
2{
3 [[
4 Elementary Layout-based widgets may declare part proxies, i.e., aliases
5 for real theme part names to expose to the API calls:
6 - elm_layout_text_set()
7 - elm_layout_text_get()
8 - elm_layout_content_set()
9 - elm_layout_content_get()
10 - elm_layout_content_unset()
11 and their equivalents. This list must be set on the "_smart_set_user()" function of inheriting widgets,
12 so that part aliasing is handled automatically for them.
13 ]]
14 alias: const(char)*; [[Alternate name for a given (real) part. Calls receiving this string as a part name will be translated to the string at Elm.Layout_Part_Proxies_Description::real_part]]
15 real_part: const(char)*; [[Target part name for the alias set on Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be "default" on that field, with "elm.content.swallow" on this one]]
16}
17
1class Elm.Layout (Elm.Container, Efl.File) 18class Elm.Layout (Elm.Container, Efl.File)
2{ 19{
3 eo_prefix: elm_obj_layout; 20 eo_prefix: elm_obj_layout;
diff --git a/src/lib/elm_widget_layout.h b/src/lib/elm_widget_layout.h
index a8c5e1719..ded10f3d6 100644
--- a/src/lib/elm_widget_layout.h
+++ b/src/lib/elm_widget_layout.h
@@ -45,29 +45,6 @@
45 */ 45 */
46 46
47/** 47/**
48 * @struct _Elm_Layout_Part_Alias_Description
49 *
50 * Elementary Layout-based widgets may declare part proxies, i.e., aliases
51 * for real theme part names to expose to the API calls:
52 * - elm_layout_text_set()
53 * - elm_layout_text_get()
54 * - elm_layout_content_set()
55 * - elm_layout_content_get()
56 * - elm_layout_content_unset()
57 * and their equivalents. This list must be set on the
58 * @c "_smart_set_user()" function of inheriting widgets, so that part
59 * aliasing is handled automatically for them.
60 *
61 * @ingroup Widget
62 */
63struct _Elm_Layout_Part_Alias_Description
64{
65 const char *alias; /**< Alternate name for a given (real) part. Calls receiving this string as a part name will be translated to the string at _Elm_Layout_Part_Proxies_Description::real_part */
66
67 const char *real_part; /**< Target part name for the alias set on @ref _Elm_Layout_Part_Proxies_Description::real_part. An example of usage would be @c "default" on that field, with @c "elm.content.swallow" on this one */
68};
69
70/**
71 * Base widget smart data extended with layout instance data. 48 * Base widget smart data extended with layout instance data.
72 */ 49 */
73typedef struct _Elm_Layout_Smart_Data 50typedef struct _Elm_Layout_Smart_Data