efl/src/lib
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 ecore - efl thread - handle write call mishaps and complain 2019-06-20 11:26:55 +01:00
ecore_audio eolian: move from eo_prefix to c_prefix 2019-05-09 16:17:44 +02:00
ecore_avahi
ecore_buffer
ecore_cocoa replace strndup with eina_strndup, remove strndup definition in evil and elm_test_dnd 2019-05-03 13:13:57 +01:00
ecore_con eolian: rename @warn_unused and its associated API 2019-05-26 17:41:22 +02:00
ecore_drm
ecore_drm2 ecore-drm2: Add API to check if vblank is supported 2019-05-22 07:44:00 -04:00
ecore_evas efl_input_pointer: rename tool to touch_id 2019-06-20 17:14:54 +02:00
ecore_fb
ecore_file remove Evil.h when not necessary, include evil_private.h when necessary 2019-05-20 09:10:00 -04:00
ecore_imf build: use only BUILD_ECORE_IMF_XIM as a define 2019-04-17 15:45:35 -04:00
ecore_imf_evas
ecore_input
ecore_input_evas
ecore_ipc ecore_ipc: close dialer io closer when dialer is deleted. 2019-05-22 08:01:58 -04:00
ecore_sdl ecore_sdl: fix detection of sdl with meson build 2019-04-18 12:30:22 -04:00
ecore_wayland
ecore_win32 meson: support ecore-win32 2019-05-06 17:00:45 +02:00
ecore_wl2 ecore-wl2: Add missing doxygen for ecore_wl2_window_resizing_get 2019-06-26 10:00:59 -04:00
ecore_x ecore_x - restore move event skipper that was removed long ago 2019-06-18 11:26:52 +01:00
ector ector: Fix precomp layer rendering issue when it has alpha value 2019-06-20 16:07:05 +09:00
edje fix segv when adding optimizations to edje message handling 2019-06-21 09:29:52 +01:00
eet Eet: remove useless inclusion of Evil.h 2019-05-17 11:53:35 +01:00
eeze
efl Efl.Ui.Format revamp 2019-07-04 19:38:20 +02:00
efl_mono csharp: fix Eina_Stringshare support in containers for manual and generated API 2019-06-28 10:44:52 -03:00
efl_wl efl_wfl: fix warning and err prints for wl keymap tmp file 2019-06-20 11:32:12 +01:00
efreet remove Evil.h when not necessary, include evil_private.h when necessary 2019-05-20 09:10:00 -04:00
eina eina: add accessors for c arrays 2019-07-03 07:41:05 +02:00
eio eio: fix Efl.Io.Model properties iterator. 2019-06-05 13:40:26 -07:00
eldbus optimize - avoid eina_inlist_last where not needed 2019-06-15 09:31:51 +01:00
elementary Efl.Ui.Format revamp 2019-07-04 19:38:20 +02:00
elocation
elput elput: Remove useless call to eldbus_message_unref 2019-04-23 09:14:52 -04:00
elua include evil_private.h in last files, and disable symbolic links on Windows in a couple of files 2019-05-22 07:59:05 -04:00
embryo remove Evil.h when not necessary, include evil_private.h when necessary 2019-05-20 09:10:00 -04:00
emile docs: Fix common misspellings in H files 2019-04-02 13:28:48 +02:00
emotion emotion: don't update crop clipper geometry if crop clipper doesn't exist 2019-05-29 12:29:04 -04:00
eo eo: add an API entry for custom instantiation of Eo objects for binding usage 2019-06-25 17:08:53 -07:00
eolian eolian: allow value types in view containers (iterators etc.) 2019-06-26 14:05:46 +02:00
eolian_cxx eolian_mono: support eo access modifiers 2019-06-24 19:19:00 +09:00
ephysics remove Evil.h when not necessary, include evil_private.h when necessary 2019-05-20 09:10:00 -04:00
escape docs: Fix common misspellings in H files 2019-04-02 13:28:48 +02:00
ethumb remove Evil.h when not necessary, include evil_private.h when necessary 2019-05-20 09:10:00 -04:00
ethumb_client docs: Fix common misspellings in H files 2019-04-02 13:28:48 +02:00
evas evas_events: fix wrong event listening 2019-06-28 09:03:14 +02:00
evas_goal
evil define HAVE_REALPATH in evil_stdlib.h 2019-06-18 13:22:05 +01:00
.gitignore