Arthur Sonzogni
455998d759
Remove Ref<XxxOption> and add new interfaces. ( #686 )
...
1. Stop taking Ref<XxxOption> in Component constructors. Instead, use
the XxxOption directly. Passing by copy avoid problems developers had
where one was shared in between multiple component, causing issues.
2. Add variants of most component constructors taking a struct only.
This replaces:
https://github.com/ArthurSonzogni/FTXUI/pull/670
This fixes:
https://github.com/ArthurSonzogni/FTXUI/issues/426
2023-06-25 17:22:05 +02:00
Prokop Randáček
59bbe3ed5e
fix some warnings ( #660 )
...
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2023-06-03 13:59:39 +02:00
Arthur Sonzogni
0542227ba7
Execute clang tidy and IWYU ( #528 )
2022-12-19 19:44:43 +01:00
Arthur Sonzogni
aebde94352
Add clang-tidy. ( #368 )
2022-03-31 02:17:43 +02:00
Arthur Sonzogni
4da63b9260
Animation ( #355 )
2022-03-13 18:51:46 +01:00
Arthur Sonzogni
9a54528bca
Update examples to use std::string. ( #182 )
...
In examples and tests, use std::string.
In addtion:
1. Address follow-up from:
https://github.com/ArthurSonzogni/FTXUI/pull/179
2. Fix a bug when Input is used with std::string.
2021-08-09 00:27:37 +02:00
ArthurSonzogni
5c4cd1add1
Execute IWYU
2021-07-11 12:23:42 +02:00
ArthurSonzogni
d5cb4648d2
Remove menu.hpp
2021-07-11 12:23:42 +02:00
ArthurSonzogni
f53dc139e9
Add documentation for options.
2021-07-11 12:23:42 +02:00
ArthurSonzogni
cd84b187b3
Introduce Options and use them for Menu.
...
Introduce Options for components. This allows me to add new features,
without updating functions signatures.
2021-07-11 12:23:42 +02:00
ArthurSonzogni
048efb6912
Add {Const,}StringRef to simplify components.
2021-05-14 21:47:51 +02:00
ArthurSonzogni
58287c147a
Update every component examples.
...
Use the functional style instead of classes.
2021-05-14 00:45:03 +02:00
ArthurSonzogni
6d75cb2748
Make component more functionnal
2021-05-09 22:35:34 +02:00
ArthurSonzogni
155758c073
Use IWYU.
2021-05-01 23:19:07 +02:00
ArthurSonzogni
8037a5fa5f
Improve mouse support for menu and toggle.
2021-04-24 18:16:13 +02:00
ArthurSonzogni
5291f660ca
Automatically fix style.
2020-09-07 11:25:50 +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
f506be941d
Add automatic formatting and license.
2020-04-19 21:01:09 +02:00
ArthurSonzogni
a402cb4fbb
Fix format. Try compile on Windows.
2020-03-22 22:32:44 +01:00
Arthur Sonzogni
fddcbdea65
Add "frame" : scrollable area.
2019-01-19 22:06:05 +01:00
Arthur Sonzogni
dba019139b
Refactor component containers.
2019-01-12 18:24:46 +01:00
Arthur Sonzogni
21644eea6b
Flatten the namespaces.
...
Remove:
* ftxui::screen
* ftxui::dom
* ftxui::component
Keep:
* ftxui
2019-01-12 15:00:08 +01:00
Arthur Sonzogni
5887114793
Refactor directory structure.
...
The goal is to increase the separation in between:
* ftxui::screen
* ftxui::dom
* ftxui::component
2019-01-06 17:10:35 +01:00
Arthur Sonzogni
961e3dcb50
Pipeable decoration and the package_manager example.
...
- Pipeable decorator.
- package_manager example.
2019-01-05 02:03:49 +01:00
Arthur Sonzogni
178feaa6a9
Add menu styles.
2019-01-03 00:35:59 +01:00