quakeforge/libs/ui/test/Makemodule.am
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

20 lines
667 B
Text

libs_ui_tests = \
libs/ui/test/test-flow \
libs/ui/test/test-txtbuffer \
libs/ui/test/test-vrect
TESTS += $(libs_ui_tests)
check_PROGRAMS += $(libs_ui_tests)
libs_ui_test_test_flow_SOURCES=libs/ui/test/test-flow.c
libs_ui_test_test_flow_LDADD=libs/ui/libQFui.la
libs_ui_test_test_flow_DEPENDENCIES=libs/ui/libQFui.la
libs_ui_test_test_txtbuffer_SOURCES=libs/ui/test/test-txtbuffer.c
libs_ui_test_test_txtbuffer_LDADD=libs/ui/libQFui.la
libs_ui_test_test_txtbuffer_DEPENDENCIES=libs/ui/libQFui.la
libs_ui_test_test_vrect_SOURCES=libs/ui/test/test-vrect.c
libs_ui_test_test_vrect_LDADD=libs/ui/libQFui.la
libs_ui_test_test_vrect_DEPENDENCIES=libs/ui/libQFui.la