Tizen Native API
|
Functions | |
Evas * | evas_new (void) |
Creates a new empty evas. | |
void | evas_free (Evas *e) |
Frees the given evas and any objects created on it. | |
void | evas_focus_in (Evas *e) |
Informs evas that it has got focus. | |
void | evas_focus_out (Evas *e) |
Informs the evas that it has lost focus. | |
Eina_Bool | evas_focus_state_get (const Evas *e) |
Gets the focus state of the given evas. | |
void | evas_nochange_push (Evas *e) |
Pushes the nochange flag up 1 . | |
void | evas_nochange_pop (Evas *e) |
Pops the nochange flag down 1 . | |
void | evas_data_attach_set (Evas *e, void *data) |
Attaches a specific pointer to evas for fetching later. | |
void * | evas_data_attach_get (const Evas *e) |
Gets the pointer attached by evas_data_attach_set(). | |
void | evas_damage_rectangle_add (Evas *e, int x, int y, int w, int h) |
Adds a damage rectangle. | |
void | evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h) |
Adds an "obscured region" to an Evas canvas. | |
void | evas_obscured_clear (Evas *e) |
Removes all "obscured regions" from an Evas canvas. | |
Eina_List * | evas_render_updates (Evas *e) |
Forces immediate renderization of the given Evas canvas. | |
void | evas_render_updates_free (Eina_List *updates) |
Frees the rectangles returned by evas_render_updates(). | |
void | evas_render (Evas *e) |
Forces rendering of the given canvas. | |
void | evas_norender (Evas *e) |
Updates the canvas internal objects but does not trigger immediate rendering. | |
void | evas_render_idle_flush (Evas *e) |
Makes the canvas discard internally cached data used for rendering. | |
void | evas_render_dump (Evas *e) |
Makes the canvas discard as much data as possible used by the engine at runtime. | |
Typedefs | |
typedef struct _Evas | Evas |
An opaque handle to an Evas canvas. |
This group provides low level Evas canvas functions. Sub-groups present more high level ones, though.
Ecore_Evas
wrapper, which deals with all the above mentioned issues automatically. Thus, you need this section only if you are building low level stuff.An opaque handle to an Evas canvas.
void evas_damage_rectangle_add | ( | Evas * | e, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
Adds a damage rectangle.
You can use this function to inform evas that a part of the canvas has to be repainted.
[in] | e | The given canvas pointer |
[in] | x | The rectangle's left position |
[in] | y | The rectangle's top position |
[in] | w | The rectangle's width |
[in] | h | The rectangle's height |
void* evas_data_attach_get | ( | const Evas * | e | ) |
Gets the pointer attached by evas_data_attach_set().
[in] | e | The canvas to attach the pointer to |
void evas_data_attach_set | ( | Evas * | e, |
void * | data | ||
) |
Attaches a specific pointer to evas for fetching later.
[in] | e | The canvas to attach the pointer to |
[in] | data | The pointer to attach |
void evas_focus_in | ( | Evas * | e | ) |
Informs evas that it has got focus.
[in] | e | The evas to inform |
void evas_focus_out | ( | Evas * | e | ) |
Informs the evas that it has lost focus.
[in] | e | The evas to inform |
Eina_Bool evas_focus_state_get | ( | const Evas * | e | ) |
Gets the focus state of the given evas.
[in] | e | The evas to query information |
Frees the given evas and any objects created on it.
[in] | e | The given evas |
Creates a new empty evas.
ecore_evas_new()
. See http://docs.enlightenment.org/auto/ecore/NULL
on failurevoid evas_nochange_pop | ( | Evas * | e | ) |
Pops the nochange flag down 1
.
[in] | e | The evas to change information |
void evas_nochange_push | ( | Evas * | e | ) |
Pushes the nochange flag up 1
.
[in] | e | The evas to changes information |
void evas_norender | ( | Evas * | e | ) |
Updates the canvas internal objects but does not trigger immediate rendering.
This function updates the canvas internal objects not triggering rendering. To force rendering, use evas_render().
[in] | e | The given canvas pointer |
void evas_obscured_clear | ( | Evas * | e | ) |
Removes all "obscured regions" from an Evas canvas.
This function removes all the rectangles from the obscured regions list of the canvas e. It takes obscured areas added with evas_obscured_rectangle_add() and make them again a regions that have to be repainted on rendering updates.
[in] | e | The given canvas pointer |
void evas_obscured_rectangle_add | ( | Evas * | e, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
Adds an "obscured region" to an Evas canvas.
[in] | e | The given canvas pointer |
[in] | x | The rectangle's top left corner's horizontal coordinate |
[in] | y | The rectangle's top left corner's vertical coordinate |
[in] | w | The rectangle's width |
[in] | h | The rectangle's height |
void evas_render | ( | Evas * | e | ) |
Forces rendering of the given canvas.
[in] | e | The given canvas pointer |
void evas_render_dump | ( | Evas * | e | ) |
Makes the canvas discard as much data as possible used by the engine at runtime.
This function unloads images, deletes textures and much more, where possible. You may also want to call evas_render_idle_flush() immediately prior to this to perhaps discard a little more, though evas_render_dump() should implicitly delete most of what evas_render_idle_flush() might discard too.
[in] | e | The given canvas pointer |
void evas_render_idle_flush | ( | Evas * | e | ) |
Makes the canvas discard internally cached data used for rendering.
This function flushes the arrays of delete, active and render objects. The other things it may discard include shared memory segments, temporary scratch buffers, and cached data to avoid re-compute of that data.
[in] | e | The given canvas pointer |
Eina_List* evas_render_updates | ( | Evas * | e | ) |
Forces immediate renderization of the given Evas canvas.
This function forces an immediate renderization update of the given canvas e.
[in] | e | The given canvas pointer |
Eina_Rectangle
structs) void evas_render_updates_free | ( | Eina_List * | updates | ) |
Frees the rectangles returned by evas_render_updates().
This function removes the region from the render updates list. The region does not get render updated anymore.
[in] | updates | The list of updated rectangles of the canvas |