ArthurSonzogni
114ab4ae2a
Add more documentation.
2020-08-28 23:54:25 +02:00
ArthurSonzogni
f2dc080a35
Variou details:
...
- Put the MIT copyright at the end.
- Move the directory /other -> tools
- Various improvements.
2020-08-28 23:54:25 +02:00
ArthurSonzogni
20b9a0f0f5
Add a doxygen documentation.
2020-08-15 10:38:14 +02:00
ArthurSonzogni
75c424cea9
Update document WIP.
2020-08-09 10:49:06 +02:00
ArthurSonzogni
e3ca437a48
Introduce xflex and yflex.
2020-07-21 01:22:42 +02:00
ArthurSonzogni
d2b991d5a3
Split frame into {x,y}frame
2020-06-07 15:59:09 +02:00
ArthurSonzogni
08ee49f3e6
Add flex_grow and flex_shrink.
...
Two new elements:
- flex_grow : Expand the element to occupy free space.
- flex_shrink: Minimize the element leave away missing space.
flex = flex_grow | flex_shrink.
Other changes:
- hbox and vbox are now non flexible by default.
- the vtext element has been added to help writting tests.
- Many new tests.
2020-06-07 02:30:45 +02:00
ArthurSonzogni
7f7775ba62
Simplify the requirement struct.
2020-06-01 16:24:22 +02:00
ArthurSonzogni
b00fa7dc65
Fix issue 19.
...
This was introduced by previous patch.
See:
https://github.com/ArthurSonzogni/FTXUI/issues/19
2020-05-20 22:04:41 +02:00
ArthurSonzogni
e34f051f7a
Simplify the Render(screen, document) function.
2020-05-20 21:23:59 +02:00
ArthurSonzogni
957387adaa
Format.
2020-05-20 20:51:20 +02:00
ArthurSonzogni
e1a71d5b9f
Use shared_ptr instead of unique_ptr for elements.
...
This allow users to pass it into initializer list. Then clang-format
will produce 'acceptable' indentations.
This fixes:
https://github.com/ArthurSonzogni/FTXUI/issues/18
2020-05-20 20:51:20 +02:00
ArthurSonzogni
1974e9f9fc
Make flexible element to be shrinkable.
...
This make the application "just-fast" to look better.
2020-05-02 17:39:42 +02:00
ArthurSonzogni
f506be941d
Add automatic formatting and license.
2020-04-19 21:01:09 +02:00
ArthurSonzogni
fce29a03b3
Run clang-format.
2020-03-27 01:42:46 +01:00
ArthurSonzogni
f48bfcff10
Move tests next to their implementations.
2020-03-27 01:01:37 +01:00
ArthurSonzogni
20d4ee458a
Fix layout bug detected thanks to dom_tests.
2020-03-25 19:10:46 +01:00
Mikael Olenfalk
71598cb18d
Fix warning: Namespace uses itself
2020-03-23 21:46:44 +01:00
ArthurSonzogni
493e734680
Set clang-format macro indent.
...
1) Set clang-format macro indent.
2) Run clang-format on every files.
2020-03-23 21:26:00 +01:00
Mikael Olenfalk
539ec45036
Add missing <algorithm> include
2020-03-23 21:03:25 +01:00
ArthurSonzogni
a402cb4fbb
Fix format. Try compile on Windows.
2020-03-22 22:32:44 +01:00
ArthurSonzogni
a8fdfafe6a
Support the -pedantic flag.
2020-02-11 21:44:55 +01:00
ArthurSonzogni
86c3b60a6f
Move the cursor to the input location.
...
Most CJK users use IME (input method) to type CJK characters. They need
the cursor to be at the correct location, not in the bottom right
corner.
This CL does:
* Move the cursor the focus() element.
* Hide the cursor (and show it at exit)
* Intercept SIGINT to guarantee proper cleanup all the time.
This should fix the second issue mentionned on:
https://github.com/ArthurSonzogni/FTXUI/issues/2
2019-06-29 18:52:58 +02:00
ArthurSonzogni
eb6baaceea
Support full-width characters (CJK)
...
+ 3 tests.
The goal is to fix:
https://github.com/ArthurSonzogni/FTXUI/issues/2#issuecomment-504871456
2019-06-24 23:39:37 +02:00
ArthurSonzogni
001a0ae925
Add UTF8 support and a better xterm parsing.
...
This fixes: https://github.com/ArthurSonzogni/FTXUI/issues/2
2019-06-23 17:52:31 +02:00
ArthurSonzogni
ef0de8d873
Add support for nxxm.
...
[nxxm](https://nxxm.github.io )
2019-02-02 02:25:06 +01:00