src/lib/edje_script_only.c File Reference

Data Structures

struct  _Oid
struct  _Sinfo

Defines

#define ADDJ(type, func)   si->job.type = ecore_job_add(func, ed);
#define CLFN(func)   IFFN(func) {_call_fn(ed, #func, si->fn.func);}
#define DELJ(type)   if (si->job.type) ecore_job_del(si->job.type);
#define EXPF(func)   embryo_program_native_call_add(ed->collection->script, #func, _exp_##func)
#define GTFN(func)   si->fn.func = embryo_program_function_find(ed->collection->script, #func)
#define IFFN(func)   if (si->fn.func != EMBRYO_FUNCTION_NONE)
#define IFNJ(type)   if (!si->job.type)
#define IFNO(func)   if (si->fn.func == EMBRYO_FUNCTION_NONE)
#define PINT(val)   embryo_parameter_cell_push(ed->collection->script, (Embryo_Cell)(val))
#define PSTR(val)   embryo_parameter_string_push(ed->collection->script, val)
#define SI   Sinfo *si; si = ed->script_only_data; if (!si) return
#define SI_RETURN(ret)   Sinfo *si; si = ed->script_only_data; if (!si) return (ret)
#define ZERJ(type)   si->job.type = NULL;

Typedefs

typedef struct _Oid Oid
typedef struct _Sinfo Sinfo

Functions

Eina_Bool _edje_script_only (Edje *ed)
void _edje_script_only_hide (Edje *ed)
void _edje_script_only_init (Edje *ed)
void _edje_script_only_message (Edje *ed, Edje_Message *em)
void _edje_script_only_move (Edje *ed)
void _edje_script_only_resize (Edje *ed)
void _edje_script_only_show (Edje *ed)
void _edje_script_only_shutdown (Edje *ed)

Define Documentation

#define ADDJ ( type,
func   )     si->job.type = ecore_job_add(func, ed);
#define EXPF ( func   )     embryo_program_native_call_add(ed->collection->script, #func, _exp_##func)

Referenced by _edje_script_only_init().

#define GTFN ( func   )     si->fn.func = embryo_program_function_find(ed->collection->script, #func)

Referenced by _edje_script_only_init().

#define IFFN ( func   )     if (si->fn.func != EMBRYO_FUNCTION_NONE)
#define IFNJ ( type   )     if (!si->job.type)
#define IFNO ( func   )     if (si->fn.func == EMBRYO_FUNCTION_NONE)
#define PINT ( val   )     embryo_parameter_cell_push(ed->collection->script, (Embryo_Cell)(val))
#define PSTR ( val   )     embryo_parameter_string_push(ed->collection->script, val)
#define SI_RETURN ( ret   )     Sinfo *si; si = ed->script_only_data; if (!si) return (ret)
#define ZERJ ( type   )     si->job.type = NULL;

Typedef Documentation

typedef struct _Oid Oid
typedef struct _Sinfo Sinfo

Function Documentation

void _edje_script_only_hide ( Edje ed  ) 

References ADDJ, CLFN, DELJ, IFFN, IFNJ, IFNO, and SI.

void _edje_script_only_message ( Edje ed,
Edje_Message em 
)
void _edje_script_only_move ( Edje ed  ) 

References ADDJ, CLFN, DELJ, IFNO, PINT, and SI.

Referenced by _edje_script_only_init().

void _edje_script_only_resize ( Edje ed  ) 

References ADDJ, CLFN, DELJ, _Edje::h, IFFN, PINT, SI, and _Edje::w.

void _edje_script_only_show ( Edje ed  ) 

References ADDJ, CLFN, DELJ, IFFN, IFNJ, IFNO, and SI.

void _edje_script_only_shutdown ( Edje ed  ) 

References CLFN, DELJ, and SI.

Referenced by _edje_object_file_set_internal().