From adbe4dcc0632499c48eff00f127c7c75b75ab08a Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Thu, 11 Jun 2015 16:14:37 +0100 Subject: [PATCH] edje,evas: convert type docs to new format --- src/lib/edje/edje_types.eot | 14 ++-- src/lib/evas/canvas/evas_types.eot | 159 +++++++++++++++++++------------------ 2 files changed, 88 insertions(+), 85 deletions(-) diff --git a/src/lib/edje/edje_types.eot b/src/lib/edje/edje_types.eot index d17a3d4..c44bd53 100644 --- a/src/lib/edje/edje_types.eot +++ b/src/lib/edje/edje_types.eot @@ -85,13 +85,13 @@ enum Edje.Input_Panel.Layout { enum Edje.External.Param_Type { [[The possible types the parameters of an EXTERNAL part can be.]] - int, /**< Parameter value is an integer. */ - double, /**< Parameter value is a double. */ - string, /**< Parameter value is a string. */ - bool, /**< Parameter value is boolean. */ - choice, /**< Parameter value is one of a set of - predefined string choices. */ - max /**< Sentinel. Don't use. */ + int, [[Parameter value is an integer.]] + double, [[Parameter value is a double.]] + string, [[Parameter value is a string.]] + bool, [[Parameter value is boolean.]] + choice, [[Parameter value is one of a set of + predefined string choices.]] + max [[Sentinel. Don't use.]] } struct Edje.External.Param { diff --git a/src/lib/evas/canvas/evas_types.eot b/src/lib/evas/canvas/evas_types.eot index 262f7cd..3128bd0 100644 --- a/src/lib/evas/canvas/evas_types.eot +++ b/src/lib/evas/canvas/evas_types.eot @@ -1,61 +1,69 @@ -type Evas.Modifier_Mask: ullong; /*@ An Evas modifier mask type */ -type Evas.Coord: int; /*@ A type for coordinates */ +type Evas.Modifier_Mask: ullong; [[An Evas modifier mask type]] +type Evas.Coord: int; [[A type for coordinates]] enum Evas.Aspect_Control { - /**< Aspect types/policies for scaling size hints, used for evas_object_size_hint_aspect_set() */ - none = 0, /**< Preference on scaling unset */ - neither = 1, /**< Same effect as unset preference on scaling */ - horizontal = 2, /**< Use all horizontal container space to place an object, using the given aspect */ - vertical = 3, /**< Use all vertical container space to place an object, using the given aspect */ - both = 4 /**< Use all horizontal @b and vertical container spaces to place an object (never growing it out of those bounds), using the given aspect */ + [[Aspect types/policies for scaling size hints, used for + evas_object_size_hint_aspect_set()]] + none = 0, [[Preference on scaling unset]] + neither = 1, [[Same effect as unset preference on scaling]] + horizontal = 2, [[Use all horizontal container space to place an object, + using the given aspect]] + vertical = 3, [[Use all vertical container space to place an object, using + the given aspect]] + both = 4 [[Use all horizontal @b and vertical container spaces to place an + object (never growing it out of those bounds), using the given + aspect]] } enum Evas.Render_Op { - /*@ - * How the object should be rendered to output. - * @ingroup Evas_Object_Group_Extras - */ + [[How the object should be rendered to output.]] legacy: Evas_Render; - blend = 0, /**< default op: d = d*(1-sa) + s */ - blend_rel = 1, /**< d = d*(1 - sa) + s*da */ - copy = 2, /**< d = s */ - copy_rel = 3, /**< d = s*da */ - add = 4, /* d = d + s */ - add_rel = 5, /**< d = d + s*da */ - sub = 6, /**< d = d - s */ - sub_rel = 7, /* d = d - s*da */ - tint = 8, /**< d = d*s + d*(1 - sa) + s*(1 - da) */ - tint_rel = 9, /**< d = d*(1 - sa + s) */ - mask = 10, /**< d = d*sa */ - mul = 11 /**< d = d*s */ + blend = 0, [[default op: d = d*(1-sa) + s]] + blend_rel = 1, [[d = d*(1 - sa) + s*da]] + copy = 2, [[d = s]] + copy_rel = 3, [[d = s*da]] + add = 4, [[d = d + s]] + add_rel = 5, [[d = d + s*da]] + sub = 6, [[d = d - s]] + sub_rel = 7, [[d = d - s*da]] + tint = 8, [[d = d*s + d*(1 - sa) + s*(1 - da)]] + tint_rel = 9, [[d = d*(1 - sa + s)]] + mask = 10, [[d = d*sa]] + mul = 11 [[d = d*s]] } enum Evas.Object_Pointer_Mode { - /** - * How the mouse pointer should be handled by Evas. - * - * In the mode #EVAS_OBJECT_POINTER_MODE_AUTOGRAB, when a mouse button - * is pressed down over an object and held, with the mouse pointer - * being moved outside of it, the pointer still behaves as being bound - * to that object, albeit out of its drawing region. When the button - * is released, the event will be fed to the object, that may check if - * the final position is over it or not and do something about it. - * - * In the mode #EVAS_OBJECT_POINTER_MODE_NOGRAB, the pointer will - * always be bound to the object right below it. - * - * @ingroup Evas_Object_Group_Extras - */ - autograb, /**< default, X11-like */ - nograb, /**< pointer always bound to the object right below it */ - nograb_no_repeat_updown /**< useful on object with "repeat events" enabled, where mouse/touch up and down events WONT be repeated to objects and these objects wont be auto-grabbed. @since 1.2 */ + [[How the mouse pointer should be handled by Evas. + + In the mode #EVAS_OBJECT_POINTER_MODE_AUTOGRAB, when a mouse button + is pressed down over an object and held, with the mouse pointer + being moved outside of it, the pointer still behaves as being bound + to that object, albeit out of its drawing region. When the button + is released, the event will be fed to the object, that may check if + the final position is over it or not and do something about it. + + In the mode #EVAS_OBJECT_POINTER_MODE_NOGRAB, the pointer will + always be bound to the object right below it. + ]] + autograb, [[default, X11-like]] + nograb, [[pointer always bound to the object right below it]] + nograb_no_repeat_updown [[useful on object with "repeat events" enabled, + where mouse/touch up and down events WONT be + repeated to objects and these objects wont be + auto-grabbed. + + @since 1.2 + ]] } enum Evas.Display_Mode { - none = 0, /**