summaryrefslogtreecommitdiff
path: root/src/ui/text_simple.c
AgeCommit message (Collapse)Author
2022-01-04Text: Fixed color escapes in the simple text rendererJaakko Keränen
2021-12-11Text: Fixed simple text rendererJaakko Keränen
2021-11-01Fixed build with the simple text rendererJaakko Keränen
IssueID #372
2021-09-20Experimenting with independent popup windowsJaakko Keränen
Toe dipping into multiple window support by allowing popup menu widgets to be displayed in independent windows. This is not a 100% replacement for native menus, but it gets pretty close.
2021-09-12Mobile: Draw optimizations; focus handlingJaakko Keränen
Widgets can now be marked for buffering their contents, which is useful if their contents change seldom but they are drawn often. For example, the navbar is always visible but doesn't change very often, and during animations menu contents are static but there is a moving animation so everything gets drawn 60 FPS. Focus handling was also improved so the lookup results can be scrolled while entering text, and one can tap outside an input field to unfocus it.
2021-09-04Text: Fixed hang when wrapping a long wordJaakko Keränen
The simple text renderer would get stuck in an infinite loop when encountering a word that wouldn't fit on a line. IssueID #330
2021-08-02Text: Fixed drawing wrapped text without HarfBuzzJaakko Keränen
2021-08-02InputWidget: Simple text renderer needs fixingJaakko Keränen
2021-07-14Fixed text wrapping when HarfBuzz is disabledJaakko Keränen
Updated the old simple text renderer for the new WrapText wrapping.
2021-06-30Text: Use HarfBuzz to shape textJaakko Keränen
This kind of already works! HarfBuzz will composite glyphs as expected. Still missing: half-pixel offsets, line wrapping, color escapes, monospace grid alignment. FriBidi will still be required to determine/reorder text direction within each run.
2021-06-26Text: Link with HarfBuzz; old run_Font_ is a fallbackJaakko Keränen
HarfBuzz will provide proper Unicode text shaping for both simple and complex scripts. The old `run_Font_` is available for use as a fallback if HarfBuzz is not available due to size or complexity constraints (it's written in C++).