summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-11-01 12:10:05 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-11-01 12:50:36 +0100
commitb4705ea968de21f25434357cff7683673a4cf8ef (patch)
tree8be537214ba38262b849d455acbb936e5eae4df9 /src/lib/elementary
parenteab6f009e25a34492e0fd69a283d135df7a60d25 (diff)
elementary: use @cref where possible
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_access.eo2
-rw-r--r--src/lib/elementary/efl_ui_win.eo2
-rw-r--r--src/lib/elementary/elm_calendar.eo4
-rw-r--r--src/lib/elementary/elm_gengrid.eo10
-rw-r--r--src/lib/elementary/elm_gengrid_item.eo4
-rw-r--r--src/lib/elementary/elm_genlist.eo10
-rw-r--r--src/lib/elementary/elm_genlist_item.eo4
-rw-r--r--src/lib/elementary/elm_interface_atspi_widget_action.eo2
-rw-r--r--src/lib/elementary/elm_map.eo2
-rw-r--r--src/lib/elementary/elm_slideshow.eo4
-rw-r--r--src/lib/elementary/elm_widget.eo2
11 files changed, 23 insertions, 23 deletions
diff --git a/src/lib/elementary/efl_access.eo b/src/lib/elementary/efl_access.eo
index 17181f7ff6..01a1b4abe2 100644
--- a/src/lib/elementary/efl_access.eo
+++ b/src/lib/elementary/efl_access.eo
@@ -356,7 +356,7 @@ mixin Efl.Access (Efl.Interface, Efl.Object)
356 [[Emit event]] 356 [[Emit event]]
357 params { 357 params {
358 @in accessible: Efl.Access; [[Accessibility object.]] 358 @in accessible: Efl.Access; [[Accessibility object.]]
359 @in event: ptr(const(Efl.Event.Description)); [[Accessibility event type.]] 359 @cref event: Efl.Event.Description; [[Accessibility event type.]]
360 @in event_info: void_ptr; [[Accessibility event details.]] 360 @in event_info: void_ptr; [[Accessibility event details.]]
361 } 361 }
362 } 362 }
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index b7b7213e26..818ea53e58 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -228,6 +228,7 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Efl.Access.Window,
228 ]] 228 ]]
229 legacy: elm_win_wm_rotation_available_rotations_set; 229 legacy: elm_win_wm_rotation_available_rotations_set;
230 values { 230 values {
231 /* FIXME: array */
231 rotations: ptr(const(int)); [[The array of rotation value.]] 232 rotations: ptr(const(int)); [[The array of rotation value.]]
232 count: uint; [[The size of the rotations array.]] 233 count: uint; [[The size of the rotations array.]]
233 } 234 }
@@ -843,7 +844,6 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Efl.Access.Window,
843 Efl.Gfx.Size.Hint.hint_base { get; set; } 844 Efl.Gfx.Size.Hint.hint_base { get; set; }
844 Efl.Gfx.Size.Hint.hint_step { get; set; } 845 Efl.Gfx.Size.Hint.hint_step { get; set; }
845 Efl.Gfx.Size.Hint.hint_aspect { set; } 846 Efl.Gfx.Size.Hint.hint_aspect { set; }
846 Efl.Gfx.Size.Hint.hint_weight { set; }
847 Efl.Gfx.Size.Hint.hint_max { set; } 847 Efl.Gfx.Size.Hint.hint_max { set; }
848 Efl.Text.text { get; set; } 848 Efl.Text.text { get; set; }
849 Efl.Canvas.pointer_position { get; } 849 Efl.Canvas.pointer_position { get; }
diff --git a/src/lib/elementary/elm_calendar.eo b/src/lib/elementary/elm_calendar.eo
index 556d78ab3d..d08765d312 100644
--- a/src/lib/elementary/elm_calendar.eo
+++ b/src/lib/elementary/elm_calendar.eo
@@ -252,7 +252,7 @@ class Elm.Calendar (Efl.Ui.Layout, Efl.Ui.Focus.Composition, Elm.Interface.Atspi
252 ]] 252 ]]
253 } 253 }
254 values { 254 values {
255 min: const(ptr(Efl.Time)); [[A tm struct to point to minimum date.]] 255 @cref min: Efl.Time; [[A tm struct to point to minimum date.]]
256 } 256 }
257 } 257 }
258 @property date_max { 258 @property date_max {
@@ -280,7 +280,7 @@ class Elm.Calendar (Efl.Ui.Layout, Efl.Ui.Focus.Composition, Elm.Interface.Atspi
280 ]] 280 ]]
281 } 281 }
282 values { 282 values {
283 max: const(ptr(Efl.Time)); [[A tm struct to point to maximum date.]] 283 @cref max: Efl.Time; [[A tm struct to point to maximum date.]]
284 } 284 }
285 } 285 }
286 selected_time_set { 286 selected_time_set {
diff --git a/src/lib/elementary/elm_gengrid.eo b/src/lib/elementary/elm_gengrid.eo
index 6be46b33d9..efa0e954e3 100644
--- a/src/lib/elementary/elm_gengrid.eo
+++ b/src/lib/elementary/elm_gengrid.eo
@@ -377,7 +377,7 @@ class Elm.Gengrid (Efl.Ui.Layout, Efl.Ui.Focus.Composition, Elm.Interface_Scroll
377 ]] 377 ]]
378 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]] 378 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
379 params { 379 params {
380 @in itc: ptr(const(Elm.Gengrid.Item.Class)); [[The item class for the item.]] 380 @cref itc: Elm.Gengrid.Item.Class; [[The item class for the item.]]
381 @in data: const(void_ptr); [[The item data.]] 381 @in data: const(void_ptr); [[The item data.]]
382 @in relative: Elm.Widget.Item; [[The item to place this new one before.]] 382 @in relative: Elm.Widget.Item; [[The item to place this new one before.]]
383 @in func: Evas_Smart_Cb @optional; [[Convenience function called 383 @in func: Evas_Smart_Cb @optional; [[Convenience function called
@@ -403,7 +403,7 @@ class Elm.Gengrid (Efl.Ui.Layout, Efl.Ui.Focus.Composition, Elm.Interface_Scroll
403 ]] 403 ]]
404 return: Elm.Widget.Item; [[A handle to the item added or $null on error.]] 404 return: Elm.Widget.Item; [[A handle to the item added or $null on error.]]
405 params { 405 params {
406 @in itc: ptr(const(Elm.Gengrid.Item.Class)); [[The item class for the item.]] 406 @cref itc: Elm.Gengrid.Item.Class; [[The item class for the item.]]
407 @in data: const(void_ptr); [[The item data.]] 407 @in data: const(void_ptr); [[The item data.]]
408 @in relative: Elm.Widget.Item; [[The item to place this new one after.]] 408 @in relative: Elm.Widget.Item; [[The item to place this new one after.]]
409 @in func: Evas_Smart_Cb @optional; [[Convenience function called 409 @in func: Evas_Smart_Cb @optional; [[Convenience function called
@@ -451,7 +451,7 @@ class Elm.Gengrid (Efl.Ui.Layout, Efl.Ui.Focus.Composition, Elm.Interface_Scroll
451 ]] 451 ]]
452 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]] 452 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
453 params { 453 params {
454 @in itc: ptr(const(Elm.Gengrid.Item.Class)); [[The item class for the item.]] 454 @cref itc: Elm.Gengrid.Item.Class; [[The item class for the item.]]
455 @in data: const(void_ptr); [[The item data.]] 455 @in data: const(void_ptr); [[The item data.]]
456 @in func: Evas_Smart_Cb @optional; [[Convenience function called 456 @in func: Evas_Smart_Cb @optional; [[Convenience function called
457 when the item is selected.]] 457 when the item is selected.]]
@@ -465,7 +465,7 @@ class Elm.Gengrid (Efl.Ui.Layout, Efl.Ui.Focus.Composition, Elm.Interface_Scroll
465 ]] 465 ]]
466 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]] 466 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
467 params { 467 params {
468 @in itc: ptr(const(Elm.Gengrid.Item.Class)); [[The item class for the item.]] 468 @cref itc: Elm.Gengrid.Item.Class; [[The item class for the item.]]
469 @in data: const(void_ptr); [[The item data.]] 469 @in data: const(void_ptr); [[The item data.]]
470 @in func: Evas_Smart_Cb @optional; [[Convenience function called 470 @in func: Evas_Smart_Cb @optional; [[Convenience function called
471 when the item is selected.]] 471 when the item is selected.]]
@@ -490,7 +490,7 @@ class Elm.Gengrid (Efl.Ui.Layout, Efl.Ui.Focus.Composition, Elm.Interface_Scroll
490 ]] 490 ]]
491 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]] 491 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
492 params { 492 params {
493 @in itc: ptr(const(Elm.Gengrid.Item.Class)); [[The item class for the item.]] 493 @cref itc: Elm.Gengrid.Item.Class; [[The item class for the item.]]
494 @in data: const(void_ptr); [[The item data.]] 494 @in data: const(void_ptr); [[The item data.]]
495 @in comp: Eina_Compare_Cb; [[User defined comparison function 495 @in comp: Eina_Compare_Cb; [[User defined comparison function
496 that defines the sort order based 496 that defines the sort order based
diff --git a/src/lib/elementary/elm_gengrid_item.eo b/src/lib/elementary/elm_gengrid_item.eo
index 6bdaad694a..3f0e73663c 100644
--- a/src/lib/elementary/elm_gengrid_item.eo
+++ b/src/lib/elementary/elm_gengrid_item.eo
@@ -80,7 +80,7 @@ class Elm.Gengrid.Item(Elm.Widget.Item, Efl.Ui.Focus.Object)
80 the function pointers and item_style.]] 80 the function pointers and item_style.]]
81 } 81 }
82 values { 82 values {
83 itc: ptr(const(Elm.Gengrid.Item.Class)); [[Gengrid Item class for the given item]] 83 @cref itc: Elm.Gengrid.Item.Class; [[Gengrid Item class for the given item]]
84 } 84 }
85 } 85 }
86 @property index { 86 @property index {
@@ -219,7 +219,7 @@ class Elm.Gengrid.Item(Elm.Widget.Item, Efl.Ui.Focus.Object)
219 displayed. After changing the item class, elm_gengrid_item_update() is 219 displayed. After changing the item class, elm_gengrid_item_update() is
220 called on the item $it.]] 220 called on the item $it.]]
221 params { 221 params {
222 @in itc: ptr(const(Elm.Gengrid.Item.Class)); [[The gengrid item class describing the function pointers and the item style.]] 222 @cref itc: Elm.Gengrid.Item.Class; [[The gengrid item class describing the function pointers and the item style.]]
223 } 223 }
224 } 224 }
225 all_contents_unset{ 225 all_contents_unset{
diff --git a/src/lib/elementary/elm_genlist.eo b/src/lib/elementary/elm_genlist.eo
index 3a6969e6f3..52cb44908c 100644
--- a/src/lib/elementary/elm_genlist.eo
+++ b/src/lib/elementary/elm_genlist.eo
@@ -346,7 +346,7 @@ class Elm.Genlist (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
346 ]] 346 ]]
347 return: Elm.Widget.Item; [[Handle to inserted item]] 347 return: Elm.Widget.Item; [[Handle to inserted item]]
348 params { 348 params {
349 @in itc: ptr(const(Elm.Genlist.Item.Class)); [[The item class for the item.]] 349 @cref itc: Elm.Genlist.Item.Class; [[The item class for the item.]]
350 @in data: const(void_ptr); [[The item data.]] 350 @in data: const(void_ptr); [[The item data.]]
351 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]] 351 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
352 @in before_it: Elm.Widget.Item; [[The item to place this new one before.]] 352 @in before_it: Elm.Widget.Item; [[The item to place this new one before.]]
@@ -374,7 +374,7 @@ class Elm.Genlist (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
374 ]] 374 ]]
375 return: Elm.Widget.Item; [[Handle to inserted item]] 375 return: Elm.Widget.Item; [[Handle to inserted item]]
376 params { 376 params {
377 @in itc: ptr(const(Elm.Genlist.Item.Class)); [[The item class for the item.]] 377 @cref itc: Elm.Genlist.Item.Class; [[The item class for the item.]]
378 @in data: const(void_ptr); [[The item data.]] 378 @in data: const(void_ptr); [[The item data.]]
379 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]] 379 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
380 @in after_it: Elm.Widget.Item; [[The item to place this new one after.]] 380 @in after_it: Elm.Widget.Item; [[The item to place this new one after.]]
@@ -454,7 +454,7 @@ class Elm.Genlist (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
454 ]] 454 ]]
455 return: Elm.Widget.Item; [[Handle to prepended item]] 455 return: Elm.Widget.Item; [[Handle to prepended item]]
456 params { 456 params {
457 @in itc: ptr(const(Elm.Genlist.Item.Class)); [[The item class for the item.]] 457 @cref itc: Elm.Genlist.Item.Class; [[The item class for the item.]]
458 @in data: const(void_ptr); [[The item data.]] 458 @in data: const(void_ptr); [[The item data.]]
459 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]] 459 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
460 @in type: Elm.Genlist.Item.Type; [[Item type.]] 460 @in type: Elm.Genlist.Item.Type; [[Item type.]]
@@ -476,7 +476,7 @@ class Elm.Genlist (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
476 ]] 476 ]]
477 return: Elm.Widget.Item; [[Handle to appended item]] 477 return: Elm.Widget.Item; [[Handle to appended item]]
478 params { 478 params {
479 @in itc: ptr(const(Elm.Genlist.Item.Class)); [[The item class for the item.]] 479 @cref itc: Elm.Genlist.Item.Class; [[The item class for the item.]]
480 @in data: const(void_ptr); [[The item data.]] 480 @in data: const(void_ptr); [[The item data.]]
481 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]] 481 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
482 @in type: Elm.Genlist.Item.Type; [[Item type.]] 482 @in type: Elm.Genlist.Item.Type; [[Item type.]]
@@ -493,7 +493,7 @@ class Elm.Genlist (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
493 ]] 493 ]]
494 return: Elm.Widget.Item; [[Handle to inserted item]] 494 return: Elm.Widget.Item; [[Handle to inserted item]]
495 params { 495 params {
496 @in itc: ptr(const(Elm.Genlist.Item.Class)); [[The item class for the item.]] 496 @cref itc: Elm.Genlist.Item.Class; [[The item class for the item.]]
497 @in data: const(void_ptr); [[The item data.]] 497 @in data: const(void_ptr); [[The item data.]]
498 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]] 498 @in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
499 @in type: Elm.Genlist.Item.Type; [[Item type.]] 499 @in type: Elm.Genlist.Item.Type; [[Item type.]]
diff --git a/src/lib/elementary/elm_genlist_item.eo b/src/lib/elementary/elm_genlist_item.eo
index 28a5beaead..87bc3bcff8 100644
--- a/src/lib/elementary/elm_genlist_item.eo
+++ b/src/lib/elementary/elm_genlist_item.eo
@@ -172,7 +172,7 @@ class Elm.Genlist.Item(Elm.Widget.Item)
172 ]] 172 ]]
173 } 173 }
174 values { 174 values {
175 itc: ptr(const(Elm.Genlist.Item.Class)); [[Genlist Item class for the given item.]] 175 @cref itc: Elm.Genlist.Item.Class; [[Genlist Item class for the given item.]]
176 } 176 }
177 } 177 }
178 @property index { 178 @property index {
@@ -399,7 +399,7 @@ class Elm.Genlist.Item(Elm.Widget.Item)
399 @.update is called on the item $it. 399 @.update is called on the item $it.
400 ]] 400 ]]
401 params { 401 params {
402 @in itc: ptr(const(Elm.Genlist.Item.Class)); [[The item class for the item.]] 402 @cref itc: Elm.Genlist.Item.Class; [[The item class for the item.]]
403 } 403 }
404 } 404 }
405 decorate_mode_set { 405 decorate_mode_set {
diff --git a/src/lib/elementary/elm_interface_atspi_widget_action.eo b/src/lib/elementary/elm_interface_atspi_widget_action.eo
index 9d0ce3458b..568ce5ac41 100644
--- a/src/lib/elementary/elm_interface_atspi_widget_action.eo
+++ b/src/lib/elementary/elm_interface_atspi_widget_action.eo
@@ -11,7 +11,7 @@ mixin Elm.Interface.Atspi_Widget_Action (Efl.Access.Action)
11 get @pure_virtual { 11 get @pure_virtual {
12 } 12 }
13 values { 13 values {
14 actions: ptr(const(Elm_Atspi_Action)); [[NULL-terminated array of Elm_Atspi_Action]] 14 @cref actions: Elm_Atspi_Action; [[NULL-terminated array of Elm_Atspi_Action]]
15 } 15 }
16 } 16 }
17 } 17 }
diff --git a/src/lib/elementary/elm_map.eo b/src/lib/elementary/elm_map.eo
index 05c0a109c2..7f5376ad85 100644
--- a/src/lib/elementary/elm_map.eo
+++ b/src/lib/elementary/elm_map.eo
@@ -566,7 +566,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable,
566 ]] 566 ]]
567 return: ptr(Elm_Map_Overlay); [[The created overlay or $null upon failure.]] 567 return: ptr(Elm_Map_Overlay); [[The created overlay or $null upon failure.]]
568 params { 568 params {
569 @in route: ptr(const(Elm_Map_Route)); [[The route object to make a overlay.]] 569 @cref route: Elm_Map_Route; [[The route object to make a overlay.]]
570 } 570 }
571 } 571 }
572 overlay_scale_add { 572 overlay_scale_add {
diff --git a/src/lib/elementary/elm_slideshow.eo b/src/lib/elementary/elm_slideshow.eo
index e6c9950e16..7842be06b7 100644
--- a/src/lib/elementary/elm_slideshow.eo
+++ b/src/lib/elementary/elm_slideshow.eo
@@ -276,7 +276,7 @@ class Elm.Slideshow (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action)
276 ]] 276 ]]
277 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]] 277 return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
278 params { 278 params {
279 @in itc: ptr(const(Elm_Slideshow_Item_Class)); [[The item class for the item.]] 279 @cref itc: Elm_Slideshow_Item_Class; [[The item class for the item.]]
280 @in data: const(void_ptr); [[The item's data.]] 280 @in data: const(void_ptr); [[The item's data.]]
281 } 281 }
282 } 282 }
@@ -294,7 +294,7 @@ class Elm.Slideshow (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action)
294 return: Elm.Widget.Item; [[Returns The slideshow item handle, 294 return: Elm.Widget.Item; [[Returns The slideshow item handle,
295 on success, or $null on errors.]] 295 on success, or $null on errors.]]
296 params { 296 params {
297 @in itc: ptr(const(Elm_Slideshow_Item_Class)); [[The item class for the item.]] 297 @cref itc: Elm_Slideshow_Item_Class; [[The item class for the item.]]
298 @in data: const(void_ptr); [[The item's data.]] 298 @in data: const(void_ptr); [[The item's data.]]
299 @in func: Eina_Compare_Cb; [[The comparing function to be used to sort the slideshow 299 @in func: Eina_Compare_Cb; [[The comparing function to be used to sort the slideshow
300 items by #Elm_Slideshow_Item_Class item handles.]] 300 items by #Elm_Slideshow_Item_Class item handles.]]
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index 33c74cc8d0..bbff97af77 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -108,7 +108,7 @@ abstract Elm.Widget (Efl.Canvas.Group, Efl.Access,
108 makes sure other widgets will not also process this input event. 108 makes sure other widgets will not also process this input event.
109 ]] 109 ]]
110 params { 110 params {
111 @in eo_event: const(ptr(Efl.Event)); 111 @cref eo_event: Efl.Event;
112 [[EO event struct with an Efl.Input.Event as info.]] 112 [[EO event struct with an Efl.Input.Event as info.]]
113 @in source: Efl.Canvas.Object; 113 @in source: Efl.Canvas.Object;
114 [[Source object where the event originated. Often same as this.]] 114 [[Source object where the event originated. Often same as this.]]