Ayaan
b0e087ecef
Merge dom and component focus ( #978 )
...
Instead of two levels of focus with `focus` and `selected`, use a recursive
level. The components set the one "active" and hbox/vbox/dbox
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com >
2025-03-19 15:33:05 +01:00
Arthur Sonzogni
d75108e960
Fix linear_gradient float precision bug.
...
This was reported by:
https://github.com/ArthurSonzogni/FTXUI/issues/998
Indeed, the `t` interpolation factor, which is itself interpolated might become
slightly larger than 1.0. This is due to the float precision.
This was supposedly handled, but there was an off-by-one error in the check.
Along the way, fix a bug found by a fuzzer.
Bug: https://github.com/ArthurSonzogni/FTXUI/issues/998
Fixed: https://github.com/ArthurSonzogni/FTXUI/issues/998
2025-02-10 23:10:27 +01:00
Arthur Sonzogni
f5d8c7deb5
Apply Clang-tidy ( #918 )
2024-08-16 11:19:51 +02:00
ArthurSonzogni
af49b57e60
Dropdown: Fix title not updated.
...
A bug was introduced by:
https://github.com/ArthurSonzogni/FTXUI/pull/826
The checkbox label wasn't updated.
Bug:https://github.com/ArthurSonzogni/FTXUI/issues/861
2024-05-13 10:53:11 +02:00
Arthur Sonzogni
8a2a9b0799
Generate compile commands for clangd. ( #855 )
...
Fix all the diagnostics reported.
Bug: https://github.com/ArthurSonzogni/FTXUI/issues/828
2024-05-01 14:32:22 +02:00
ArthurSonzogni
7e3e1d4bca
Apply clang-tidy.
2024-04-28 10:40:57 +02:00
ArthurSonzogni
e03a0797be
Fix minor compile error.
2024-04-07 18:10:52 +02:00
James
3c9fa60d28
Feature: Dropdown options with callback ( #826 )
...
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com >
2024-04-06 17:45:10 +02:00
ArthurSonzogni
49a48820dd
Add documentations to every public functions.
2023-08-19 14:56:28 +02:00
ArthurSonzogni
5724f8483b
Move copyright to the top of files.
2023-08-19 13:57:01 +02:00
mingsheng13
20baaef5b8
Dropdown now closes when using return key to select ( #731 )
...
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com >
2023-08-19 12:02:04 +02:00
Marc
896c0f2f6e
Casting and documentation fixes ( #608 )
...
Add `-wDocumentation` option. Fix the documentation.
Fix c++20/c++17 confusion in tests.
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com >
2023-03-31 17:13:48 +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
422c30cd34
nit: Remove useless ';' and ',' ( #606 )
...
Taken out of:
https://github.com/ArthurSonzogni/FTXUI/pull/600
Co-authored-by: LostInCompilation <12819635+LostInCompilation@users.noreply.github.com >
2023-03-26 16:14:43 +02: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
5da7b8a59a
Fix automerge in tables. ( #333 )
2022-02-13 11:41:31 +01:00
Arthur Sonzogni
602392c43d
Implement flexbox ( #277 )
...
This implement the flexbox elements, following the HTML one.
Built from them, there is also the following elements:
- `paragraph`
- `paragraphAlignLeft`
- `paragraphAlignRight`
- `paragraphAlignCenter`
- `paragraphAlignJustify`
This is a breaking change.
2021-12-11 17:58:25 +01:00
Arthur Sonzogni
f80d9b5cfd
Fix dropdown fuzzer. ( #243 )
2021-10-22 14:04:07 +02:00
Arthur Sonzogni
026a005753
Table ( #229 )
...
This class allows rendering stylized table.
2021-10-15 23:04:11 +02:00
Arthur Sonzogni
c5ef0c7fb5
feat: Dropdown select menu. ( #214 )
...
Dom
- `vscroll_indicator`. Show a scrollback indicator on the right.
Component
- `Maybe`: Display an component conditionnally based on a boolean.
- `Dropdown`: A dropdown select list.
This address:
https://github.com/ArthurSonzogni/FTXUI/issues/204
2021-09-30 20:55:47 +02:00