elm_layout: moved Elm_Layout_Part_Alias_Description to elm_layout.eo
authorLarry <larry.olj@gmail.com>
Fri, 12 Feb 2016 22:35:00 +0000 (20:35 -0200)
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Mon, 22 Feb 2016 13:38:26 +0000 (10:38 -0300)
legacy/elementary/src/lib/elm_image.eo
legacy/elementary/src/lib/elm_layout.eo
legacy/elementary/src/lib/elm_widget_layout.h

index dada8c5..b458872 100644 (file)
@@ -21,7 +21,7 @@ enum Elm.Image_Orient
    flip_transverse =  Evas.Image_Orient.flip_transverse
 }
 
-struct Elm.Image.Progress
+struct Elm.Image_Progress
 {
    [[
      Structure associated with smart callback 'download,progress'.
index 11b7cef..50f4e88 100644 (file)
@@ -1,3 +1,20 @@
+struct Elm.Layout_Part_Alias_Description
+{
+   [[
+     Elementary Layout-based widgets may declare part proxies, i.e., aliases
+     for real theme part names to expose to the API calls:
+     - elm_layout_text_set()
+     - elm_layout_text_get()
+     - elm_layout_content_set()
+     - elm_layout_content_get()
+     - elm_layout_content_unset()
+     and their equivalents. This list must be set on the "_smart_set_user()" function of inheriting widgets,
+     so that part aliasing is handled automatically for them.
+   ]]
+   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]]
+   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]]
+}
+
 class Elm.Layout (Elm.Container, Efl.File)
 {
    eo_prefix: elm_obj_layout;
index a8c5e17..ded10f3 100644 (file)
  */
 
 /**
- * @struct _Elm_Layout_Part_Alias_Description
- *
- * Elementary Layout-based widgets may declare part proxies, i.e., aliases
- * for real theme part names to expose to the API calls:
- * - elm_layout_text_set()
- * - elm_layout_text_get()
- * - elm_layout_content_set()
- * - elm_layout_content_get()
- * - elm_layout_content_unset()
- * and their equivalents. This list must be set on the
- * @c "_smart_set_user()" function of inheriting widgets, so that part
- * aliasing is handled automatically for them.
- *
- * @ingroup Widget
- */
-struct _Elm_Layout_Part_Alias_Description
-{
-   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 */
-
-   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 */
-};
-
-/**
  * Base widget smart data extended with layout instance data.
  */
 typedef struct _Elm_Layout_Smart_Data