efl/src/bin
Xavi Artigas e776f5f0d7 Efl.Ui.Format revamp
This class helps widgets which contain a numerical value and must display it,
like Progressbar (units label), Spin, Spin_Button, Slider (both units and popup
labels, in legacy), Tags (when in shrunk mode) or Calendar (year_month label).

Previously this was a mix of interface and mixin: widgets had to support setting a
formatting func, and the mixin offered support for formatting strings, by setting
an internal formatting func. On top of that, the spinner widget supported "special
values", a list of values that should be shown as certain strings instead.

This has now been simplified and unified:
Widgets including this mixin can use the formatted_value_get() method which accepts
an Eina_Value and returns a string. Thats's it.
The mixin adds three properties to the widget (format_values, format_func and
format_string) which users can use to tailor formatting. The widget does not need
to know which method has been used, it just retrieves the resulting string.
This removes a lot of duplicated widget code, and adds functionality which was
missing before. For example, all widgets support passing a list of values now.

Widgets must implement the apply_formatted_value() method so they are notified
of changes in the format and they can redraw anything they need.

Tests have been added to the Elementary Spec suite for all cases.

Legacy widgets behavior has not been modified, although a few needed some code
changes.
2019-07-04 19:38:20 +02:00
..
ecore_buffer meson: modify install path of bqmgr binary 2019-02-27 21:20:31 +01:00
ecore_con bin/eet and ecore_con: remove Evil.h when not necessary and include evil_private.h when necessary 2019-05-17 13:51:50 -04:00
ecore_evas bin/ecore_evas: remove useless inclusion of Evil.h 2019-05-17 14:02:21 -04:00
edje define HAVE_REALPATH in evil_stdlib.h 2019-06-18 13:22:05 +01:00
eet bin/eet and ecore_con: remove Evil.h when not necessary and include evil_private.h when necessary 2019-05-17 13:51:50 -04:00
eeze efl: remove EFL_EO_API_SUPPORT macro 2019-03-18 12:13:59 +01:00
efl bin/efl and ecore: include evil_private.h when appropriate 2019-05-17 11:53:35 +01:00
efl_js efl-js: JavaScript Eolian binding 2015-12-23 23:59:40 -02:00
efl_mono_msbuild_gen efl_mono: Add msbuild file generator 2017-12-04 15:47:51 -03:00
efl_wl meosn - fix install of scripts and bins and their timestamps and modes 2018-12-27 15:24:08 +00:00
efreet efreetd - timeout in 2 not 10sec to have fewer hangs on shutdown/exit 2019-06-06 13:52:20 +01:00
eina replace strndup with eina_strndup, remove strndup definition in evil and elm_test_dnd 2019-05-03 13:13:57 +01:00
eldbus ledbus - fix codegen to not conflict keys with eldbus inyternal 2019-01-09 18:57:22 +00:00
elementary Efl.Ui.Format revamp 2019-07-04 19:38:20 +02:00
elua build: fix macos build 2019-02-22 08:53:20 -05:00
embryo remove Evil.h when not necessary, include evil_private.h when necessary 2019-05-20 09:10:00 -04:00
eolian eolian: rename @warn_unused and its associated API 2019-05-26 17:41:22 +02:00
eolian_cxx eolian: refactor parsing API and path handling 2019-05-03 17:06:49 +02:00
eolian_js eolian: rename eolian_event_c_name_get 2019-05-16 15:57:39 +02:00
eolian_mono csharp: fix Eina_Stringshare support in containers for manual and generated API 2019-06-28 10:44:52 -03:00
ethumb here comes meson 2018-10-02 17:22:50 +02:00
ethumb_client here comes meson 2018-10-02 17:22:50 +02:00