added code to enable shots capturing of ecore_evas and evas examples
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric, tasn Reviewed By: tasn Differential Revision: https://phab.enlightenment.org/D2082
This commit is contained in:
parent
450d2888eb
commit
079dbb6dd5
|
@ -331,6 +331,21 @@ evas_new(void)
|
|||
return evas;
|
||||
}
|
||||
|
||||
EAPI Ecore_Evas *
|
||||
ecore_evas_new(const char *engine_name, int x, int y,
|
||||
int w, int h, const char *extra_options)
|
||||
{
|
||||
Ecore_Evas *ecore_evas;
|
||||
Ecore_Evas * (*_ecore_evas_new)(const char *engine_name, int x, int y,
|
||||
int w, int h, const char *extra_options) = dlsym(RTLD_NEXT, __FUNCTION__);
|
||||
|
||||
if(!_hook_setting->recording)
|
||||
ecore_evas = _ecore_evas_new("buffer", x, y, w, h, extra_options);
|
||||
else
|
||||
ecore_evas = _ecore_evas_new(engine_name, x, y, w, h, extra_options);
|
||||
return ecore_evas;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
tsuite_feed_event(void *data)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue