quakeforge/libs/ui
Bill Currie 378584f41d [ui] Add functions for flow-based automatic layout
This should be suitable for laying out text objects with word-wrap,
where each view is a "word" or break between "words". This should be
useful for any other objects that could benefit from similar layout
rules. All eight flows are supported left-right-top-down (English and
most European languages), right-left-top-down (Arabic and similar),
top-down-right-left (Chinese, Japanese, Korean), top-down-left-right,
as well as bottom-up variants of those four.

More work is needed for support of things like views being centered on
the flow line rather than on one edge (depends on flow direction),
offset views, and others. Suppression of "spaces" at the beginning of a
line is supported but not tested.
2022-09-29 23:54:12 +09:00
..
test [ui] Add functions for flow-based automatic layout 2022-09-29 23:54:12 +09:00
inputline.c [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
Makemodule.am [build] Fix some make distcheck issues 2022-05-06 15:50:13 +09:00
txtbuffer.c [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
view.c [ui] Add functions for flow-based automatic layout 2022-09-29 23:54:12 +09:00
vrect.c [renderer] Use better heuristics for scrap allocation 2022-09-20 19:32:49 +09:00