ArthurSonzogni
5724f8483b
Move copyright to the top of files.
2023-08-19 13:57:01 +02:00
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
Arthur Sonzogni
7de4f8683d
Feature: Add multi-line input. ( #630 )
2023-05-02 13:32:37 +02:00
Marc
eed7e2ea70
Multiple fixes: signed/unsigned, etc... ( #600 )
...
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2023-03-26 20:20:02 +02:00
Arthur Sonzogni
f461050759
Run IWYU ( #450 )
2022-08-07 14:44:33 +02:00
Arthur Sonzogni
4da63b9260
Animation ( #355 )
2022-03-13 18:51:46 +01:00
Andrey Zimin
358f886fab
Clamp selected_ on list resize for Radiobox/Menu/Toggle ( #298 )
...
fix: https://github.com/ArthurSonzogni/FTXUI/issues/296#issue-1092343846
When the list in Radiobox/Menu/Toggle is resized, clamp the |selected_| values so that it stays within bounds.
Clamping is executed in Render() and in OnEvent()
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2022-01-06 22:38:32 +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
7f514ff41c
Remove toggle.hpp
2021-07-11 12:23:42 +02:00
ArthurSonzogni
fac373494d
Add option for Toggle.
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
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
vedantparanjape
177df31d41
Added tests for toggle component, OnEnter event
2020-08-05 01:34:46 +02:00
ArthurSonzogni
a4d72c4d50
Fix on_change() not called for Toggle.
...
Fix bug 35 and add some tests for the toggle component.
Bug:https://github.com/ArthurSonzogni/FTXUI/issues/35
2020-08-02 22:22:27 +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
e8ed0fbc6d
Add ContainerTest
2020-03-27 01:01:37 +01:00
ArthurSonzogni
6600e4fc03
Add ToggleTest.
2020-03-27 01:01:37 +01:00