mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
378584f41d
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.
20 lines
667 B
Text
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
|