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
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
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
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
5291f660ca
Automatically fix style.
2020-09-07 11:25:50 +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
ArthurSonzogni
15da9cdc18
Improve ScreenInteractive wait function.
2019-02-02 16:59:08 +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
13e04176a4
Add Blink. Refactor examples.
2019-01-02 22:33:59 +01:00