@in bool clear; /*@ If set, will delete subobjs on remove */
}
}
- part_external_param_type_get {
+ part_external_param_type_get @const {
/*@
Facility to query the type of the given parameter of the given part.
@return @c EDJE_EXTERNAL_PARAM_TYPE_MAX on errors, or another value
from #Edje_External_Param_Type on success. */
-
- const;
return Edje_External_Param_Type;
params {
@in const(char)* part; /*@ The part name */
@out const(char) param; /*@ the parameter name to use. */
}
}
- part_text_select_allow_set {
+ part_text_select_allow_set @const {
/*@
@brief Enables selection if the entry is an EXPLICIT selection mode
type.
The default is to @b not allow selection. This function only affects user
selection, functions such as edje_object_part_text_select_all() and
edje_object_part_text_select_none() are not affected. */
-
- const;
params {
@in const(char)* part; /*@ The part name */
@in bool allow; /*@ EINA_TRUE to enable, EINA_FALSE otherwise */
}
}
- part_state_get {
+ part_state_get @const {
/*@
@brief Returns the state of the Edje part.
@return The part state:\n
"default" for the default state\n
"" for other states */
-
- const;
return const(char)*;
params {
@in const(char)* part; /*@ The part name */
@in double dy; /*@ The y step amount */
}
}
- part_drag_step_get {
+ part_drag_step_get @const {
/*@
@brief Gets the drag step increment values.
@see edje_object_part_drag_step_set() */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part */
@out double dy; /*@ The y step increment pointer */
}
}
- part_text_imf_context_get {
+ part_text_imf_context_get @const {
/*@
@brief Get the input method context in entry.
@return The input method context (Ecore_IMF_Context *) in entry
@since 1.2.0 */
-
- const;
return void *;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_text_select_begin {
+ part_text_select_begin @const {
/*@
@brief Starts selecting at current cursor position */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_text_style_user_peek {
+ part_text_style_user_peek @const {
/*@
@brief Return the text of the object part.
This function returns the style associated with the textblock part.
@since 1.2.0 */
-
- const;
return const(char)*;
params {
@in const(char)* part; /*@ The part name */
@in const(char)* text; /*@ The text string */
}
}
- part_geometry_get {
+ part_geometry_get @const {
/*@
@brief Retrieve the geometry of a given Edje part, in a given Edje
object's group definition, <b>relative to the object's area</b>
@note On failure, this function will make all non-@c NULL geometry
pointers' pointed variables be set to zero. */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The Edje part's name */
@out Evas_Coord h; /*@ A pointer to a variable where to store the part's height */
}
}
- part_text_input_panel_hide {
+ part_text_input_panel_hide @const {
/*@
@brief Hide the input panel (virtual keyboard).
@see edje_object_part_text_input_panel_show
This API can be used in the case of manually controlling by using edje_object_part_text_input_panel_enabled_set.
@since 1.2.0 */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_text_item_geometry_get {
+ part_text_item_geometry_get @const {
/*@
@brief Return item geometry.
This function return a list of Evas_Textblock_Rectangle item
rectangles. */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in Evas_Object *child_obj; /*@ The object to pack in */
}
}
- part_text_select_abort {
+ part_text_select_abort @const {
/*@
@brief Aborts any selection action on a part. */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
@in int len; /*@ the length of data, in bytes, to send to the input panel */
}
}
- part_text_input_panel_imdata_get {
+ part_text_input_panel_imdata_get @const {
/*@
Get the specific data of the current active input panel.
@since 1.2.0 */
-
- const;
params {
@in const(char)* part; /*@ The part name */
@in void *data; /*@ The specific data to be got from the input panel */
@in double dy; /*@ The y value */
}
}
- part_drag_value_get {
+ part_drag_value_get @const {
/*@
@brief Get the dragable object location.
@see edje_object_part_drag_value_set()
Gets the drag location values. */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in int pos; /*@ the position of the cursor */
}
}
- part_text_cursor_pos_get {
+ part_text_cursor_pos_get @const {
/*@
@brief Retrieves the current position of the cursor
@return The cursor position
@since 1.1.0 */
-
- const;
return int;
params {
@in const(char)* part; /*@ The part name */
return int;
}
- part_text_cursor_content_get {
+ part_text_cursor_content_get @const {
/*@
@brief Returns the content (char) at the cursor position.
@see evas_textblock_cursor_content_get
You must free the return (if not NULL) after you are done with it.
@return The character string pointed to (may be a multi-byte utf8 sequence) terminated by a nul byte. */
-
- const;
return char *;
params {
@in const(char)* part; /*@ The part name */
@in Edje_Input_Panel_Layout layout; /*@ layout type */
}
}
- part_text_input_panel_layout_get {
+ part_text_input_panel_layout_get @const {
/*@
@brief Get the layout of the input panel.
@see edje_object_part_text_input_panel_layout_set
@since 1.1 */
-
- const;
return Edje_Input_Panel_Layout;
params {
@in const(char)* part; /*@ The part name */
@in Edje_Input_Panel_Lang lang; /*@ the language to be set to the input panel. */
}
}
- part_text_input_panel_language_get {
+ part_text_input_panel_language_get @const {
/*@
Get the language mode of the input panel.
@return input panel language type
@since 1.2.0 */
-
- const;
return Edje_Input_Panel_Lang;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_table_col_row_size_get {
+ part_table_col_row_size_get @const {
/*@
@brief Gets the number of columns and rows the table has.
@return @c EINA_TRUE get some data, @c EINA_FALSE on failure
Retrieves the size of the table in number of columns and rows. */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@out int rows; /*@ Pointer where to store number of rows (can be NULL) */
}
}
- part_external_object_get {
+ part_external_object_get @const {
/*@
@brief Get the object created by this external part.
@return The externally created object, or NULL if there is none or
part is not an external. */
-
- const;
return Evas_Object *;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_external_content_get {
+ part_external_content_get @const {
/*@
@brief Get an object contained in an part of type EXTERNAL
The @p content string must not be NULL. Its actual value depends on the
code providing the EXTERNAL. */
-
- const;
return Evas_Object *;
params {
@in const(char)* part; /*@ The name of the part holding the EXTERNAL */
@in bool enabled; /*@ If true, the input panel is appeared when entry is clicked or has a focus */
}
}
- part_text_input_panel_enabled_get {
+ part_text_input_panel_enabled_get @const {
/*@
@brief Retrieve the attribute to show the input panel automatically.
@see edje_object_part_text_input_panel_enabled_set
@return EINA_TRUE if it supports or EINA_FALSE otherwise
@since 1.1.0 */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_text_select_extend {
+ part_text_select_extend @const {
/*@
@brief Extends the current selection to the current cursor position */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
@in uint pos; /*@ The position where to insert child */
}
}
- part_text_anchor_geometry_get {
+ part_text_anchor_geometry_get @const {
/*@
@brief Return a list of Evas_Textblock_Rectangle anchor rectangles.
This function return a list of Evas_Textblock_Rectangle anchor
rectangles. */
-
- const;
return const(Eina.List)*;
params {
@in const(char)* part; /*@ The part name */
@in double dy; /*@ The y page step increment */
}
}
- part_drag_page_get {
+ part_drag_page_get @const {
/*@
@brief Gets the page step increments.
Gets the x,y page step increments for the dragable object.
@see edje_object_part_drag_page_set() */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in int variation; /*@ layout variation type */
}
}
- part_text_input_panel_layout_variation_get {
+ part_text_input_panel_layout_variation_get @const {
/*@
@brief Get the layout variation of the input panel.
@see edje_object_part_text_input_panel_layout_variation_set
@since 1.8 */
-
- const;
return int;
params {
@in const(char)* part; /*@ The part name */
@in void *msg; /*@ The message's body, a struct depending on @p type */
}
}
- part_text_select_none {
+ part_text_select_none @const {
/*@
@brief Set the selection to be none.
This function sets the selection text to be none. */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_object_get {
+ part_object_get @const {
/*@
@brief Get a handle to the Evas object implementing a given Edje
part, in an Edje object.
query information about its current state (with @c
evas_object_visible_get() or @c evas_object_color_get() for
example), though. */
-
- const;
return const(Evas_Object)*;
params {
@in const(char)* part; /*@ The Edje part's name */
@in double dh; /*@ The drag height */
}
}
- part_drag_size_get {
+ part_drag_size_get @const {
/*@
@brief Get the dragable object size.
Gets the dragable object size.
@see edje_object_part_drag_size_set() */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in Edje_Text_Filter_Cb func; /*@ The function callback to remove */
}
}
- part_drag_dir_get {
+ part_drag_dir_get @const {
/*@
@brief Determine dragable directions.
#EDJE_DRAG_DIR_X: Dragable in X direction\n
#EDJE_DRAG_DIR_Y: Dragable in Y direction\n
#EDJE_DRAG_DIR_XY: Dragable in X & Y directions */
-
- const;
return Edje_Drag_Dir;
params {
@in const(char)* part; /*@ The part name */
@in const(char)* text_to_escape; /*@ The text string */
}
}
- part_text_unescaped_get {
+ part_text_unescaped_get @const {
/*@
@brief Returns the text of the object part, without escaping.
when done.
@see edje_object_part_text_unescaped_set(). */
-
- const;
return char *;
params {
@in const(char)* part; /*@ The part name */
@in void *data; /*@ A pointer to data to pass in to @p func. */
}
}
- part_text_select_all {
+ part_text_select_all @const {
/*@
@brief Set the selection to be everything.
This function selects all text of the object of the part. */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
@in bool disabled; /*@ The state */
}
}
- part_text_input_panel_return_key_disabled_get {
+ part_text_input_panel_return_key_disabled_get @const {
/*@
Get whether the return key on the input panel should be disabled or not.
@return EINA_TRUE if it should be disabled
@since 1.2.0 */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in Edje_Text_Autocapital_Type autocapital_type; /*@ The type of autocapitalization */
}
}
- part_text_autocapital_type_get {
+ part_text_autocapital_type_get @const {
/*@
@brief Retrieves the autocapitalization type
@return The autocapitalization type
@since 1.1.0 */
-
- const;
return Edje_Text_Autocapital_Type;
params {
@in const(char)* part; /*@ The part name */
@in bool prediction; /*@ If true, the prediction feature is allowed. */
}
}
- part_text_prediction_allow_get {
+ part_text_prediction_allow_get @const {
/*@
@brief Get whether the prediction is allowed or not.
@return EINA_TRUE if prediction feature is allowed.
@since 1.2.0 */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
}
}
- data_get {
+ data_get @const {
/*@
@brief Retrive an <b>EDC data field's value</b> from a given Edje
object's group.
queries for a @b global EDC data field on an EDC declaration file.
@see edje_object_file_set() */
-
- const;
return const(char)*;
params {
@in const(char)* key; /*@ The data field's key string */
return int;
}
- part_swallow_get {
+ part_swallow_get @const {
/*@
@brief Get the object currently swallowed by a part.
@return The swallowed object, or NULL if there is none. */
-
- const;
return Evas_Object *;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_text_imf_context_reset {
+ part_text_imf_context_reset @const {
/*@
@brief Reset the input method context if needed.
This can be necessary in the case where modifying the buffer would confuse on-going input method behavior
@since 1.2.0 */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
@in Edje_Input_Panel_Return_Key_Type return_key_type; /*@ The type of "return" key on the input panel */
}
}
- part_text_input_panel_return_key_type_get {
+ part_text_input_panel_return_key_type_get @const {
/*@
Get the "return" key type.
@return The type of "return" key on the input panel
@since 1.2.0 */
-
- const;
return Edje_Input_Panel_Return_Key_Type;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_table_child_get {
+ part_table_child_get @const {
/*@
@brief Retrieve a child from a table
@return The child Evas_Object */
-
- const;
return Evas_Object *;
params {
@in const(char)* part; /*@ The part name */
returned. */
}
}
- part_external_param_get {
+ part_external_param_get @const {
/*@
@brief Get the parameter for the external part.
@return @c EINA_TRUE if everything went fine and @p param members
are filled with information, @c EINA_FALSE on errors and @p
param member values are not set or valid. */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in const(char)* text; /*@ The text string */
}
}
- part_text_get {
+ part_text_get @const {
/*@
@brief Return the text of the object part.
This function returns the text associated to the object part.
@see edje_object_part_text_set(). */
-
- const;
return const(char)*;
params {
@in const(char)* part; /*@ The part name */
@in bool ondemand; /*@ If true, the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.) */
}
}
- part_text_input_panel_show_on_demand_get {
+ part_text_input_panel_show_on_demand_get @const {
/*@
Get the attribute to show the input panel in case of only an user's explicit Mouse Up event.
@return @c EINA_TRUE if the input panel will be shown in case of only Mouse up event.
@since 1.9.0 */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_text_selection_get {
+ part_text_selection_get @const {
/*@
@brief Return the selection text of the object part.
@see edje_object_part_text_select_all()
@see edje_object_part_text_select_none() */
-
- const;
return const(char)*;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_text_cursor_is_format_get {
+ part_text_cursor_is_format_get @const {
/*@
@brief Returns whether the cursor points to a format.
@see evas_textblock_cursor_is_format
@return EINA_TRUE if it's true, EINA_FALSE otherwise. */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in int a3; /*@ Shadow Alpha value */
}
}
- color_class_get {
+ color_class_get @const {
/*@
@brief Gets the object color class.
@note unlike Evas, Edje colors are @b not pre-multiplied. That is,
half-transparent white is 255 255 255 128. */
-
- const;
return bool;
params {
@in const(char)* color_class;
@in Edje_Cursor cur; /*@ the edje cursor to work on */
}
}
- part_text_cursor_geometry_get {
+ part_text_cursor_geometry_get @const {
/*@
@brief Returns the cursor geometry of the part relative to the edje
object. */
-
- const;
params {
@in const(char)* part; /*@ The part name */
@out Evas_Coord x; /*@ Cursor X position */
@out Evas_Coord h; /*@ Cursor height */
}
}
- part_text_anchor_list_get {
+ part_text_anchor_list_get @const {
/*@
@brief Return a list of char anchor names.
@return The list of anchors (const char *), do not modify!
This function returns a list of char anchor names. */
-
- const;
return const(Eina.List)*;
params {
@in const(char)* part; /*@ The part name */
@in void *data; /*@ User provided data to pass to the filter function */
}
}
- part_text_input_panel_show {
+ part_text_input_panel_show @const {
/*@
@brief Show the input panel (virtual keyboard) based on the input panel property such as layout, autocapital types, and so on.
This API can be used in the case of manually controlling by using edje_object_part_text_input_panel_enabled_set.
@since 1.2.0 */
-
- const;
params {
@in const(char)* part; /*@ The part name */
}
}
- part_exists {
+ part_exists @const {
/*@
@brief Check if an Edje part exists in a given Edje object's group
definition.
This call is useful, for example, when one could expect or not a
given GUI element, depending on the @b theme applied to @p obj. */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part's name to check for existence in @p obj's
@in Edje_Markup_Filter_Cb func; /*@ The function callback to remove */
}
}
- part_text_cursor_is_visible_format_get {
+ part_text_cursor_is_visible_format_get @const {
/*@
@brief Return true if the cursor points to a visible format
For example \\t, \\n, item and etc.
@see evas_textblock_cursor_format_is_visible_get */
-
- const;
return bool;
params {
@in const(char)* part; /*@ The part name */
@in Edje_Cursor cur; /*@ The cursor to adjust. */
}
}
- part_text_user_insert {
+ part_text_user_insert @const {
/*@
@brief This function inserts text as if the user has inserted it.
callbacks as appropriate.
@since 1.2.0 */
-
- const;
params {
@in const(char)* part; /*@ The part name */
@in const(char)* text; /*@ The text string */
@in Edje_Cursor cur; /*@ the edje cursor to work on */
}
}
- part_text_item_list_get {
+ part_text_item_list_get @const {
/*@
@brief Return a list of char item names.
@return The list of items (const char *), do not modify!
This function returns a list of char item names. */
-
- const;
return const(Eina.List)*;
params {
@in const(char)* part; /*@ The part name */
int line, col;
Eo_Method_Def *meth = NULL;
Eina_Bool has_const = EINA_FALSE, has_params = EINA_FALSE,
- has_return = EINA_FALSE, has_legacy = EINA_FALSE;
+ has_return = EINA_FALSE, has_legacy = EINA_FALSE,
+ has_protected = EINA_FALSE;
meth = calloc(1, sizeof(Eo_Method_Def));
ls->tmp.meth = meth;
if (ctor)
check(ls, TOK_VALUE);
meth->name = eina_stringshare_ref(ls->t.value);
eo_lexer_get(ls);
- if (ls->t.kw == KW_at_protected)
+ for (;;) switch (ls->t.kw)
{
+ case KW_at_protected:
+ CASE_LOCK(ls, protected, "protected qualifier")
meth->scope = EOLIAN_SCOPE_PROTECTED;
eo_lexer_get(ls);
+ break;
+ case KW_at_const:
+ CASE_LOCK(ls, const, "const qualifier")
+ meth->obj_const = EINA_TRUE;
+ eo_lexer_get(ls);
+ break;
+ default:
+ goto body;
}
}
+body:
line = ls->line_number;
col = ls->column;
check_next(ls, '{');
}
for (;;) switch (ls->t.kw)
{
- case KW_const:
- CASE_LOCK(ls, const, "const qualifier")
- meth->obj_const = EINA_TRUE;
- eo_lexer_get(ls);
- check_next(ls, ';');
- break;
case KW_return:
CASE_LOCK(ls, return, "return")
parse_return(ls, EINA_FALSE);
}
}
- projection_matrix_get {
+ projection_matrix_get @const {
/*@
Get the projection matrix of the given camera.
@ingroup Evas_3D_Camera
*/
- const;
params {
@out Evas_Real matrix; /*@ Projection Matrix */
}
@in Evas_Real a; /*@ Alpha component of the ambient color between [0.0, 1.0]. */
}
}
- ambient_get {
+ ambient_get @const {
/*@
Get the ambient color of the given light.
@ingroup Evas_3D_Light
*/
- const;
params {
@out Evas_Real r; /*@ Red component of the ambient color between [0.0, 1.0]. */
@out Evas_Real g; /*@ Green component of the ambient color between [0.0, 1.0]. */
@in Evas_Real a; /*@ Alpha component of the diffuse color between [0.0, 1.0]. */
}
}
- diffuse_get {
+ diffuse_get @const {
/*@
Get the diffuse color of the given light.
@ingroup Evas_3D_Light
*/
- const;
params {
@out Evas_Real r; /*@ Red component of the diffuse color between [0.0, 1.0]. */
@out Evas_Real g; /*@ Green component of the diffuse color between [0.0, 1.0]. */
@in Evas_Real a; /*@ Alpha component of the specular color between [0.0, 1.0]. */
}
}
- specular_get {
+ specular_get @const {
/*@
Get the specular color of the given light.
@ingroup Evas_3D_Light
*/
- const;
params {
@out Evas_Real r; /*@ Red component of the specular color between [0.0, 1.0]. */
@out Evas_Real g; /*@ Green component of the specular color between [0.0, 1.0]. */
}
}
- attenuation_get {
+ attenuation_get @const {
/*@
Get the attenuation of the given light.
@ingroup Evas_3D_Light
*/
- const;
params {
@out Evas_Real constant; /*@ Constant attenuation term..*/
@out Evas_Real linear; /*@ Linear attenuation term..*/
}
}
- color_get {
+ color_get @const {
/*
Get the material attribute color of the given material.
@ingroup Evas_3D_Material
*/
-
- const;
params {
@in Evas_3D_Material_Attrib attrib; /*@ Material attribute ID. */
@out Evas_Real r; /*@ Pointer to receive red component of the color. */
}
}
- frame_vertex_stride_get {
+ frame_vertex_stride_get @const {
/*
Get the vertex buffer stride of the key frame of the given mesh.
@ingroup Evas_3D_Mesh
*/
- const;
return int ;
params {
@in int frame; /*@ The number of the key frame. */
}
}
- index_format_get {
+ index_format_get @const {
/*
Get the format of the index data of the given mesh.
@ingroup Evas_3D_Mesh
*/
- const;
return Evas_3D_Index_Format ;
}
- index_count_get {
+ index_count_get @const {
/*
Get the count of the index data of the given mesh.
@ingroup Evas_3D_Mesh
*/
- const;
return int ;
}
}
}
- vertex_count_get {
+ vertex_count_get @const {
/*@
Get the vertex count of the given mesh.
@ingroup Evas_3D_Mesh
*/
- const;
return int;
}
}
}
methods {
- type_get {
+ type_get @const {
/*
Get the type of the given node.
@ingroup Evas_3D_Node
*/
- const;
return Evas_3D_Node_Type ;
}
member_add {
}
}
- parent_get {
+ parent_get @const {
/*
Get the parent node of the given node.
@ingroup Evas_3D_Node
*/
- const;
return Evas_3D_Node * ;
}
- member_list_get {
+ member_list_get @const {
/*
Get the list of member nodes of the given node.
@ingroup Evas_3D_Node
*/
- const;
return const(Eina.List)*;
}
position_set {
}
}
- position_get {
+ position_get @const {
/*
Get the position of the given node.
@ingroup Evas_3D_Node_Transform
*/
- const;
params {
@in Evas_3D_Space space; /*@ */
@out Evas_Real x; /*@ Pointer to receive X coordinate of the position.*/
}
}
- orientation_get {
+ orientation_get @const {
/*
Get the orientation of the given node as quaternion.
@ingroup Evas_3D_Node_Transform
*/
- const;
params {
@in Evas_3D_Space space; /*@ */
@out Evas_Real x; /*@ Pointer to receive X term of the orientation quaternion.*/
}
}
- scale_get {
+ scale_get @const {
/*
Get the scale of the given node.
@ingroup Evas_3D_Node_Transform
*/
- const;
params {
@in Evas_3D_Space space; /*@ */
@out Evas_Real x; /*@ Pointer to receive Scale factor along X-axis.*/
}
}
- mesh_list_get {
+ mesh_list_get @const {
/*
Get the list of meshes of the given node.
@ingroup Evas_3D_Node
*/
- const;
return const(Eina.List)*;
}
@in Evas_3D_Object *ref; /*@ The Object that caused the change */
}
}
- type_get {
+ type_get @const {
/*@
Returns the type of the object.
*/
- const;
return Evas_3D_Object_Type;
}
}
}
- dirty_get {
+ dirty_get @const {
/*@
Returns the status of a particular state of the object.
*/
- const;
return bool;
params {
@in Evas_3D_State state; /*@ State whose status is being asked */
}
}
- size_get {
+ size_get @const {
/*
Get the internal resolution of a scene.
@ingroup Evas_3D_Scene
*/
- const;
params {
@out int w; /*@ Pointer to receive width of the resolution. */
@out int h; /*@ Pointer to receive height of the resolution. */
}
}
- background_color_get {
+ background_color_get @const {
/*
Get the background color of a scene.
@ingroup Evas_3D_Scene
*/
-
- const;
params {
@out Evas_Real r; /*@ Pointer to receive red component of the background color.*/
@out Evas_Real g; /*@ Pointer to receive green component of the background color. */
}
}
- pick {
+ pick @const {
/*
Get information on the most front visible mesh for the given position.
@ingroup Evas_3D_Scene
*/
- const;
return bool ;
params {
@in Evas_Real x; /*@ X coordinate of the picking position. */
}
}
- exist {
+ exist @const {
/*
Search given node in the given position.
@ingroup Evas_3D_Scene
*/
- const;
return Evas_3D_Node *;
params {
@in Evas_Real x; /*@ X coordinate of the picking position. */
}
}
- pick_member_list_get {
+ pick_member_list_get @const {
/*
Get list of the all root members from scene in the given position.
@ingroup Evas_3D_Scene
*/
- const;
return Eina.List *;
params {
@in Evas_Real x; /*@ X coordinate of the picking position. */
}
}
- color_format_get {
+ color_format_get @const {
/*
Get the color format of the given texture.
@ingroup Evas_3D_Texture
*/
- const;
return Evas_3D_Color_Format ;
}
- size_get {
+ size_get @const {
/*
Get the size of the given texture.
@ingroup Evas_3D_Texture
*/
- const;
params {
@out int w; /*@ Pointer to receive the width of the texture size. */
@out int h; /*@ Pointer to receive the height of the texture size. */
}
}
- filter_get {
+ filter_get @const {
/*
Get the filter of the given texture.
@ingroup Evas_3D_Texture
*/
-
- const;
params {
@out Evas_3D_Texture_Filter min; /*@ Pointer to receive the minification filter. */
@out Evas_3D_Texture_Filter mag; /*@ Pointer to receive the magnification filter. */
@in bool clear; /*@ if true, it will delete just removed children. */
}
}
- iterator_new {
+ iterator_new @const {
/*@
Get an iterator to walk the list of children of a given box object.
on errors
@note Do @b not remove or delete objects while walking the list. */
-
- const;
return Eina.Iterator * @warn_unused;
}
add_to {
@in Evas_Object *child @nonull; /*@ A child Evas object to be made a member of @p o */
}
}
- option_property_id_get {
+ option_property_id_get @const {
/*@
Get the numerical identifier of the property of the child elements
of the box @a o which have @a name as name string
function. They'd have to implement it and set it to be the
_Evas_Object_Box_Api.property_id_get smart class function of the
box, which is originally set to @c NULL. */
-
- const;
return int @warn_unused;
params {
@in const(char)* name @nonull; /*@ The name string of the option being searched, for
@in Evas_Object *child @nonull; /*@ A child Evas object to be made a member of @p o */
}
}
- accessor_new {
+ accessor_new @const {
/*@
Get an accessor (a structure providing random items access) to the
list of children of a given box object.
on errors
@note Do not remove or delete objects while walking the list. */
-
- const;
return Eina.Accessor * @warn_unused;
}
internal_append {
object to be removed */
}
}
- option_property_vget {
+ option_property_vget @const {
/*@
Get a property's value (by its given numerical identifier), on a
given box child element -- by a variable argument list
This is a variable argument list variant of the
evas_object_box_option_property_get(). See its documentation for
more details. */
-
- const;
return bool;
params {
@in Evas_Object_Box_Option *opt @nonull; /*@ The box option structure bound to the child box element
@in const(Evas_Object)* reference @nonull; /*@ The child object to place this new one before */
}
}
- option_property_name_get {
+ option_property_name_get @const {
/*@
Get the name of the property of the child elements of the box @a o
which have @a id as identifier
function. They'd have to implement it and set it to be the
_Evas_Object_Box_Api.property_name_get smart class function of the
box, which is originally set to @c NULL. */
-
- const;
return const(char)* @warn_unused;
params {
@in int property; /*@ The numerical identifier of the option being searched,
@in const(void)* data; /*@ Data for canvas. */
}
}
- key_modifier_mask_get {
+ key_modifier_mask_get @const {
/*@
Creates a bit mask from the @p keyname @b modifier key. Values
returned from different calls to it may be ORed together,
@see evas_key_modifier_is_set
@see evas_object_key_grab
@see evas_object_key_ungrab */
-
- const;
return Evas_Modifier_Mask @warn_unused;
params {
@in const(char)* keyname @nonull; /*@ The name of the modifier key to create the mask for. */
@in const(void)* data;
}
}
- objects_at_xy_get {
+ objects_at_xy_get @const {
/*@
Retrieve a list of Evas objects lying over a given position in
a canvas
@warning This function will @b skip objects parented by smart
objects, acting only on the ones at the "top level", with regard to
object parenting. */
-
- const;
return Eina.List * @warn_unused;
params {
@in Evas_Coord x; /*@ The horizontal coordinate of the position */
@ingroup Evas_Font_Group */
}
- font_hinting_can_hint {
+ font_hinting_can_hint @const {
/*@
Checks if the font hinting is supported by the given evas.
#EVAS_FONT_HINTING_AUTO, #EVAS_FONT_HINTING_BYTECODE.
@return @c EINA_TRUE if it is supported, @c EINA_FALSE otherwise.
@ingroup Evas_Font_Group */
-
- const;
return bool @warn_unused;
params {
@in Evas_Font_Hinting_Flags hinting; /*@ The hinting to use, one of #EVAS_FONT_HINTING_NONE, */
}
}
- object_top_at_xy_get {
+ object_top_at_xy_get @const {
/*@
Retrieve the Evas object stacked at the top of a given position in
a canvas
@warning This function will @b skip objects parented by smart
objects, acting only on the ones at the "top level", with regard to
object parenting. */
-
- const;
return Evas_Object * @warn_unused;
params {
@in Evas_Coord x; /*@ The horizontal coordinate of the position */
@in Evas_Callback_Type event_type; /*@ Event type */
}
}
- font_available_list {
+ font_available_list @const {
/*@
List of available font descriptions known or found by this evas.
after you're done.
@ingroup Evas_Font_Group */
-
- const;
return Eina.List * @warn_unused;
}
- objects_in_rectangle_get {
- const;
+ objects_in_rectangle_get @const {
return Eina.List * @warn_unused;
params {
@in Evas_Coord x;
@in bool include_hidden_objects;
}
}
- object_name_find {
+ object_name_find @const {
/*@
Retrieves the object on the given evas with the given name.
@return If successful, the Evas object with the given name. Otherwise,
the object name is unique.
@ingroup Evas_Object_Group_Find */
-
- const;
return Evas_Object * @warn_unused;
params {
@in const(char)* name; /*@ The given name. */
sync {
/*@ No description supplied by the EAPI. */
}
- font_path_list {
+ font_path_list @const {
/*@
Retrieves the list of font paths used by the given evas.
@return The list of font paths used.
@ingroup Evas_Font_Path_Group */
-
- const;
return const(Eina.List)* @warn_unused;
}
image_cache_reload {
This function reloads the image cache of canvas. */
}
- coord_world_x_to_screen {
+ coord_world_x_to_screen @const {
/*@
Convert/scale a canvas co-ordinate into output screen co-ordinates
screen_x = evas_coord_world_x_to_screen(evas, canvas_x);
@endcode */
-
- const;
return int @warn_unused;
params {
@in Evas_Coord x; /*@ The canvas x co-ordinate */
This function flushes image cache of canvas. */
}
- coord_screen_y_to_world {
+ coord_screen_y_to_world @const {
/*@
Convert/scale an output screen co-ordinate into canvas co-ordinates
canvas_y = evas_coord_screen_y_to_world(evas, screen_y);
@endcode */
-
- const;
return Evas_Coord @warn_unused;
params {
@in int y; /*@ The screen/output y co-ordinate */
@in const(void)* data; /*@ The data for canvas. */
}
}
- object_top_in_rectangle_get {
+ object_top_in_rectangle_get @const {
/*@
Retrieve the Evas object stacked at the top of a given rectangular
region in a canvas
@warning This function will @b skip objects parented by smart
objects, acting only on the ones at the "top level", with regard to
object parenting. */
-
- const;
return Evas_Object * @warn_unused;
params {
@in Evas_Coord x; /*@ The top left corner's horizontal coordinate for the
@in const(void)* data; /*@ The data for canvas. */
}
}
- coord_screen_x_to_world {
+ coord_screen_x_to_world @const {
/*@
Convert/scale an output screen co-ordinate into canvas co-ordinates
canvas_x = evas_coord_screen_x_to_world(evas, screen_x);
@endcode */
-
- const;
return Evas_Coord @warn_unused;
params {
@in int x; /*@ The screen/output x co-ordinate */
@ingroup Evas_Canvas */
}
- coord_world_y_to_screen {
+ coord_world_y_to_screen @const {
/*@
Convert/scale a canvas co-ordinate into output screen co-ordinates
screen_y = evas_coord_world_y_to_screen(evas, canvas_y);
@endcode */
-
- const;
return int @warn_unused;
params {
@in Evas_Coord y; /*@ The canvas y co-ordinate */
}
}
methods {
- accessor_new {
+ accessor_new @const {
/*@
Get an accessor to get random access to the list of children for the grid.
@note Do not remove or delete objects while walking the list.
@since 1.1 */
-
- const;
return Eina.Accessor * @warn_unused;
}
clear {
@in bool clear; /*@ if true, it will delete just removed children. */
}
}
- iterator_new {
+ iterator_new @const {
/*@
Get an iterator to walk the list of children for the grid.
@note Do not remove or delete objects while walking the list.
@since 1.1 */
-
- const;
return Eina.Iterator * @warn_unused;
}
add_to {
@in Evas_Object *child @nonull;
}
}
- pack_get {
+ pack_get @const {
/*@
Get the pack options for a grid child
evas_object_grid_pack()
@return 1 on success, 0 on failure.
@since 1.1 */
-
- const;
return bool;
params {
@in Evas_Object *child; /*@ The grid child to query for coordinates */
@in int h; /*@ Height of the region to be updated. */
}
}
- animated_frame_duration_get {
+ animated_frame_duration_get @const {
/*@
Get the duration of a sequence of frames.
@see evas_object_image_animated_frame_duration_get()
@see evas_object_image_animated_frame_set()
@since 1.1 */
-
- const;
return double;
params {
@in int start_frame; /*@ The first frame */
@in int frame_num; /*@ Number of frames in the sequence */
}
}
- save {
+ save @const {
/*@
Save the given image object's contents to an (image) file.
You can specify some flags when saving the image. Currently
acceptable flags are @c quality and @c compress. Eg.: @c
"quality=100 compress=9" */
-
- const;
return bool;
params {
@in const(char)* file @nonull; /*@ The filename to be used to save the image (extension
@in void *data; /*@ The raw data, or @c NULL. */
}
}
- data_get {
+ data_get @const {
/*@
Get a pointer to the raw image data of the given image object.
inform data changes, if you did any.
@see evas_object_image_data_set() */
-
- const;
return void * @warn_unused;
params {
@in bool for_writing; /*@ Whether the data being retrieved will be
}
}
methods {
- clipees_has {
+ clipees_has @const {
/*@
Test if any object is clipped by @p obj.
@return EINA_TRUE if @p obj clip any object.
@since 1.8 */
-
- const;
return bool @warn_unused;
}
key_grab {
@in Evas_Object *above @nonull; /*@ the object above which to stack */
}
}
- smart_type_check {
+ smart_type_check @const {
/*@
Checks whether a given smart object or any of its smart object
parents is of a given smart class.
@see eo_isa
@ingroup Evas_Smart_Object_Group */
-
- const;
return bool @warn_unused;
params {
@in const(char)* type @nonull; /*@ The @b name (type) of the smart class to check for */
}
}
- name_child_find {
+ name_child_find @const {
/*@
Retrieves the object from children of the given object with the given name.
@return If successful, the Evas object with the given name. Otherwise,
@since 1.2
@ingroup Evas_Object_Group_Find */
-
- const;
return Evas_Object * @warn_unused;
params {
@in const(char)* name; /*@ The given name. */
@in Evas_Coord dy; /*@ vertical offset (delta). */
}
}
- smart_type_check_ptr {
+ smart_type_check_ptr @const {
/*@
Checks whether a given smart object or any of its smart object
parents is of a given smart class, <b>using pointer comparison</b>.
@see eo_isa
@ingroup Evas_Smart_Object_Group */
-
- const;
return bool @warn_unused;
params {
@in const(char)* type @nonull; /*@ The type (name string) to check for. Must be the name */
object's lifetime. */
}
}
- callbacks_descriptions_get {
+ callbacks_descriptions_get @const {
/*@
Retrieve an smart object's know smart callback descriptions (both
instance and class ones).
@see evas_smart_callbacks_descriptions_get()
@ingroup Evas_Smart_Object_Group */
-
- const;
params {
@out const(Evas_Smart_Cb_Description)** class_descriptions; /*@ Where to store class callbacks
descriptions array, if any is known. If no descriptions are
descriptions are known. */
}
}
- iterator_new {
+ iterator_new @const {
/*@
Retrieves an iterator of the member objects of a given Evas smart
object
@see evas_object_smart_member_add()
@see evas_object_smart_member_del()
@see evas_object_smart_members_get() */
-
- const;
return Eina.Iterator * @warn_unused;
}
- callback_description_find {
+ callback_description_find @const {
/*@
Find callback description for callback called @a name.
or @c NULL if not found. If parameter is @c NULL, no search
will be done on instance descriptions.
@return reference to description if found, @c NULL if not found. */
-
- const;
params {
@in const(char)* name @nonull; /*@ name of desired callback, must @b not be @c NULL. The
search have a special case for @a name being the same
@in bool clear; /*@ if true, it will delete just removed children. */
}
}
- accessor_new {
+ accessor_new @const {
/*@
Get an accessor to get random access to the list of children for the table.
@note Do not remove or delete objects while walking the list. */
-
- const;
return Eina.Accessor * @warn_unused;
}
- iterator_new {
+ iterator_new @const {
/*@
Get an iterator to walk the list of children for the table.
@note Do not remove or delete objects while walking the list. */
-
- const;
return Eina.Iterator * @warn_unused;
}
add_to {
return Evas_Object * @warn_unused;
}
- pack_get {
+ pack_get @const {
/*@
Get packing location of a child of table
@return 1 on success, 0 on failure.
@since 1.1 */
-
- const;
return bool;
params {
@in Evas_Object *child; /*@ The child object to add. */
}
}
methods {
- last_up_to_pos {
+ last_up_to_pos @const {
/*@ Returns the logical position of the last char in the text up to the pos given. this is NOT the position of the last char because of the possibility of RTL in the text. */
- const;
return int;
params {
@in Evas_Coord x; /*@ in */
@in Evas_Coord y; /*@ in */
}
}
- char_coords_get {
- const;
+ char_coords_get @const {
return int;
params {
@in Evas_Coord x; /*@ in */
@out Evas_Coord ch; /*@ out */
}
}
- char_pos_get {
+ char_pos_get @const {
/*@
Retrieve position and dimension information of a character within a text @c Evas_Object.
parameter.
@return @c EINA_FALSE on success, @c EINA_TRUE on error. */
-
- const;
return bool;
params {
@in int pos; /*@ The character position to request co-ordinates for. */
}
}
methods {
- line_number_geometry_get {
+ line_number_geometry_get @const {
/*@
Get the geometry of a line number.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise. */
-
- const;
return bool;
params {
@in int line; /*@ the line number. */
@since 1.2 */
}
- cursor_new {
+ cursor_new @const {
/*@
Create a new cursor, associate it to the obj and init it to point
to the start of the textblock. Association to the object means the cursor
@note if you need speed and you know what you are doing, it's slightly faster to just allocate the cursor yourself and not associate it. (only people developing the actual object, and not users of the object).
@return the new cursor. */
-
- const;
return Evas_Textblock_Cursor *;
}
- node_format_list_get {
+ node_format_list_get @const {
/*@ No description supplied by the EAPI. */
- const;
legacy evas_textblock_node_format_list_get;
return const(Eina.List)*;
params {
@in const(char)* anchor;
}
}
- style_user_peek {
+ style_user_peek @const {
/*@
Get (don't remove) the style at the top of the user style stack.
@return the style of the object.
@see evas_object_textblock_style_get
@since 1.2 */
-
- const;
return const(Evas_Textblock_Style)*;
}
node_format_remove_pair {
@see evas_object_textgrid_update_add()
@since 1.7 */
-
+
params {
@in int y; /*@ The row index of the grid. */
@in const(Evas_Textgrid_Cell)* row; /*@ The string as a sequence of #Evas_Textgrid_Cell. */
}
}
- cellrow_get {
+ cellrow_get @const {
/*@
@brief Get the string at the given row of the given textgrid object.
@see evas_object_textgrid_update_add()
@since 1.7 */
-
- const;
return Evas_Textgrid_Cell*;
params {
@in int y; /*@ The row index of the grid. */
@see evas_object_textgrid_palette_get()
@since 1.7 */
-
+
params {
@in Evas_Textgrid_Palette pal; /*@ The type of the palette to set the color. */
@in int idx; /*@ The index of the paletter to which the color is stored. */
@in int a; /*@ The alpha component of the color. */
}
}
- palette_get {
+ palette_get @const {
/*@
@brief The retrieve color to the given palette at the given index of the given textgrid object.
@see evas_object_textgrid_palette_set()
@since 1.7 */
-
- const;
params {
@in Evas_Textgrid_Palette pal; /*@ The type of the palette to set the color. */
@in int idx; /*@ The index of the palette to which the color is stored. */
}
}
methods {
- foo {
+ foo @const {
/*@ comment foo */
params {
@in int a; /*@ a */
@inout char b;
@out double c;
}
- const;
return char *(NULL); /*@ comment for method return */
}
}
}
return char *(NULL); /*@ comment for method return */
}
- foo2 {
+ foo2 @const {
/*@ comment foo */
params {
@in int a;
@in const(char)* b;
}
- const;
}
pure_foo3 {
/* set as virtual pure - no implementation expected */