_Edje_External_Param_Info Struct Reference

Struct holding information about an EXTERNAL part's parameters. More...

Data Fields

Edje_External_Param_Flags flags
 Flags indicating how this parameter is used.
union {
   struct {
      int   def
 Default value.
      const char *   false_str
 String shown by editors to indicate the false state.
      const char *   true_str
 String shown by editors to indicate the true state.
   }   b
 Info about boolean type parameters.
   struct {
      const char **   choices
      const char *   def
 Default value.
      char *(*   def_get )(void *data, const
         Edje_External_Param_Info *info)
      char **(*   query )(void *data, const
         Edje_External_Param_Info *info)
 return malloc() memory with the default choice, should be used if def is NULL.
   }   c
 Info about choice type parameters.
   struct {
      double   def
 Default value for the parameter.
      double   max
 Maximum value it can have.
      double   min
 Minimum value it can have.
      double   step
 Values will be a multiple of this.
   }   d
 Info about double type parameters.
   struct {
      int   def
 Default value for the parameter.
      int   max
 Maximum value it can have.
      int   min
 Minimum value it can have.
      int   step
 Values will be a multiple of this.
   }   i
 Info about integer type parameters.
   struct {
      const char *   accept_fmt
 Not implemented.
      const char *   def
 Default value.
      const char *   deny_fmt
 Not implemented.
   }   s
 Info about string type parameters.
info
const char * name
 Name of the parameter.
Edje_External_Param_Type type
 Type of the parameter.

Detailed Description

Struct holding information about an EXTERNAL part's parameters.

When creating types to use with EXTERNAL parts, an array of this type is used to describe the different parameters the object uses.

This struct holds the name, type and flags that define how and when the parameter is used, as well as information specific to each type, like the maximum or minimum value, that can be used by editors to restrict the range of values to set for each parameter.

Field Documentation

const char* _Edje_External_Param_Info::accept_fmt

Not implemented.

struct { ... } _Edje_External_Param_Info::b

Info about boolean type parameters.

struct { ... } _Edje_External_Param_Info::c

Info about choice type parameters.

Referenced by edje_edit_state_add().

const char** _Edje_External_Param_Info::choices
struct { ... } _Edje_External_Param_Info::d

Info about double type parameters.

Use EDJE_EXTERNAL_DOUBLE_UNSET on any of them to indicate they are not defined.

Referenced by edje_edit_state_add().

int _Edje_External_Param_Info::def

Default value for the parameter.

Default value.

double _Edje_External_Param_Info::def

Default value for the parameter.

const char* _Edje_External_Param_Info::def

Default value.

char*(* _Edje_External_Param_Info::def_get)(void *data, const Edje_External_Param_Info *info)
const char* _Edje_External_Param_Info::deny_fmt

Not implemented.

const char* _Edje_External_Param_Info::false_str

String shown by editors to indicate the false state.

Edje_External_Param_Flags _Edje_External_Param_Info::flags

Flags indicating how this parameter is used.

struct { ... } _Edje_External_Param_Info::i

Info about integer type parameters.

Use EDJE_EXTERNAL_INT_UNSET on any of them to indicate they are not defined.

Referenced by edje_edit_state_add().

union { ... } _Edje_External_Param_Info::info

Referenced by edje_edit_state_add().

int _Edje_External_Param_Info::max

Maximum value it can have.

double _Edje_External_Param_Info::max

Maximum value it can have.

int _Edje_External_Param_Info::min

Minimum value it can have.

double _Edje_External_Param_Info::min

Minimum value it can have.

const char* _Edje_External_Param_Info::name

Name of the parameter.

Referenced by edje_edit_state_add(), and edje_object_part_external_param_type_get().

char**(* _Edje_External_Param_Info::query)(void *data, const Edje_External_Param_Info *info)

return malloc() memory with the default choice, should be used if def is NULL.

First parameter is Edje_External_Type::data

struct { ... } _Edje_External_Param_Info::s

Info about string type parameters.

NULL indicates undefined.

Referenced by edje_edit_state_add().

int _Edje_External_Param_Info::step

Values will be a multiple of this.

double _Edje_External_Param_Info::step

Values will be a multiple of this.

const char* _Edje_External_Param_Info::true_str

String shown by editors to indicate the true state.

Edje_External_Param_Type _Edje_External_Param_Info::type

Type of the parameter.

Referenced by edje_edit_state_add(), and edje_object_part_external_param_type_get().


The documentation for this struct was generated from the following file: