2014-11-21 07:36:32 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @addtogroup Elm_Progressbar
|
2014-11-21 07:36:32 -08:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2014-04-10 00:36:38 -07:00
|
|
|
typedef char *(*progressbar_func_type)(double);
|
Make passing data pointer to format_cb possible
Summary:
Hello,
For my perl binding it is important that one can pass a data pointer to all callbacks, especially to "Format_Cbs" as in elm_slider_units_format_function_set(), elm_slider_indicator_format_function_set() of elm_progressbar_unit_format_function_set(). Another "problematic" function would be elm_calendar_format_function_set().
Enclosed you find a approach to solve this problem.
It would be wonderful, if the Efl-libraries could make data pointers also in format cbs possible...
Thanks in advance,
Max
Reviewers: bowonryu, eagleeye, zmike, cedric, raster
Reviewed By: raster
Subscribers: raster, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D12298
2021-12-14 00:53:15 -08:00
|
|
|
typedef char *(*progressbar_func_full_type)(double, void *);
|
2014-04-10 00:36:38 -07:00
|
|
|
typedef void (*progressbar_freefunc_type)(char *);
|
|
|
|
|
2014-11-21 07:36:32 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|