FTXUI/src/ftxui/component
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
..
animation_test.cpp Multiple fixes: signed/unsigned, etc... (#600) 2023-03-26 20:20:02 +02:00
animation.cpp Multiple fixes: signed/unsigned, etc... (#600) 2023-03-26 20:20:02 +02:00
button_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
button.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
catch_event.cpp Execute clang tidy and IWYU (#528) 2022-12-19 19:44:43 +01:00
checkbox.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
collapsible_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
collapsible.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
component_fuzzer.cpp Casting and documentation fixes (#608) 2023-03-31 17:13:48 +02:00
component_options.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
component_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
component.cpp Casting and documentation fixes (#608) 2023-03-31 17:13:48 +02:00
container_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
container.cpp Optimize inserts in vector and refactor const reference objects (#659) 2023-05-31 19:24:08 +02:00
dropdown.cpp Casting and documentation fixes (#608) 2023-03-31 17:13:48 +02:00
event.cpp Multiple fixes: signed/unsigned, etc... (#600) 2023-03-26 20:20:02 +02:00
hoverable_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
hoverable.cpp Casting and documentation fixes (#608) 2023-03-31 17:13:48 +02:00
input_test.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
input.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
loop.cpp Execute clang tidy and IWYU (#528) 2022-12-19 19:44:43 +01:00
maybe.cpp Doc: Fix @params vs @param (#605) 2023-03-26 15:56:28 +02:00
menu_test.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
menu.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
modal_test.cpp Multiple fixes: signed/unsigned, etc... (#600) 2023-03-26 20:20:02 +02:00
modal.cpp Fix clang-tidy. (#469) 2022-08-28 21:30:01 +02:00
radiobox_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
radiobox.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
receiver_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
renderer.cpp Add clang-tidy. (#368) 2022-03-31 02:17:43 +02:00
resizable_split_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
resizable_split.cpp Casting and documentation fixes (#608) 2023-03-31 17:13:48 +02:00
screen_interactive_test.cpp Multiple fixes: signed/unsigned, etc... (#600) 2023-03-26 20:20:02 +02:00
screen_interactive.cpp Fix useless new line when using the alternative screen. (#610) 2023-03-31 17:44:01 +02:00
slider_test.cpp Feature: Add multi-line input. (#630) 2023-05-02 13:32:37 +02:00
slider.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
terminal_input_parser_test_fuzzer.cpp Run IWYU (#450) 2022-08-07 14:44:33 +02:00
terminal_input_parser_test.cpp Support Fn keys for every terminal standards (#689) 2023-06-25 17:11:59 +02:00
terminal_input_parser.cpp Support Fn keys for every terminal standards (#689) 2023-06-25 17:11:59 +02:00
terminal_input_parser.hpp Remove NXXM. Execute IWYU. (#397) 2022-05-08 08:44:38 +02:00
toggle_test.cpp Remove Ref<XxxOption> and add new interfaces. (#686) 2023-06-25 17:22:05 +02:00
util.cpp Add clang-tidy. (#368) 2022-03-31 02:17:43 +02:00