yambar/particles
Daniel Eklöf 8187d60193
particle/string: use HORIZONTAL ELLIPSIS as truncation character
First, apply max-len to the converted wide character string, instead
of the UTF-8 string. This is better, and more correct, since UTF-8 is
multibyte, and applying max-len to that results in strings _shorter_
than max-len.

Second, use HORIZONTAL ELLIPSIS (…) instead of three regular
periods (...) as truncation character. This “saves” 2 characters.

To be able to do this, the conversion to a wide character, and glyph
rasterization is now done when the exposable is instantiated, instead
of in begin_expose().

Closes #73
2021-07-19 12:30:21 +02:00
..
dynlist.c particles: fix mouse hover on non-primitive particles 2021-07-02 16:36:09 +02:00
dynlist.h particle/dynlist: link particle-sdk PRIVATE:ly 2019-01-13 21:45:49 +01:00
empty.c Add support binding on-click handlers to other buttons than LEFT 2021-07-01 17:15:53 +02:00
list.c particle/list: call default handler on motion events if we a have click handler 2021-07-01 17:15:54 +02:00
map.c particles: fix mouse hover on non-primitive particles 2021-07-02 16:36:09 +02:00
meson.build meson: particles: data-driven foreach loop, and link map against dynlist 2020-11-25 20:41:09 +01:00
progress-bar.c particles: fix mouse hover on non-primitive particles 2021-07-02 16:36:09 +02:00
ramp.c particles: fix mouse hover on non-primitive particles 2021-07-02 16:36:09 +02:00
string.c particle/string: use HORIZONTAL ELLIPSIS as truncation character 2021-07-19 12:30:21 +02:00