diff options
author | Otavio Pontes <otavio@profusion.mobi> | 2010-10-21 22:03:43 +0000 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2010-10-21 22:03:43 +0000 |
commit | 68511034181d22083d1dd6115e339affc2d69681 (patch) | |
tree | 7c95dbf36e6a65c28ab3c22b9beaf346219fea79 /src/edje_externals/elm_photocam.c | |
parent | d13d14e2c38ae95fe4ed7ec6c726cf4b0af5e041 (diff) | |
download | elementary-68511034181d22083d1dd6115e339affc2d69681.tar.gz |
Add support for changing style from one elm widget in edje external.
Create a param 'style' that can be used in edje external
to change the style of one object.
Patch by: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 53754
Diffstat (limited to 'src/edje_externals/elm_photocam.c')
-rw-r--r-- | src/edje_externals/elm_photocam.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/edje_externals/elm_photocam.c b/src/edje_externals/elm_photocam.c index bede494d9..a38e70815 100644 --- a/src/edje_externals/elm_photocam.c +++ b/src/edje_externals/elm_photocam.c @@ -4,6 +4,7 @@ typedef struct _Elm_Params_Photocam { + Elm_Params base; const char *file; double zoom; const char *zoom_mode; @@ -195,6 +196,7 @@ external_photocam_params_free(void *params) } static Edje_External_Param_Info external_photocam_params[] = { + DEFINE_EXTERNAL_COMMON_PARAMS, EDJE_EXTERNAL_PARAM_INFO_STRING("file"), EDJE_EXTERNAL_PARAM_INFO_DOUBLE("zoom"), EDJE_EXTERNAL_PARAM_INFO_CHOICE_FULL("zoom mode", "manual", choices), |