Arthur Sonzogni
f5d8c7deb5
Apply Clang-tidy ( #918 )
2024-08-16 11:19:51 +02:00
Arthur Sonzogni
fcd050c017
Table: support initializer list constructor. ( #915 )
...
To avoid burdening the user with explicit type construction when using
the library, we can use a constructor that accepts an initializer list
(std::initializer_list). This allows users to pass initializer lists
directly without having to wrap them in
std::vector<std::vector<std::string>>. This resolves the ambiguous case
when the inner list contains only two elements.
Bug:https://github.com/ArthurSonzogni/FTXUI/issues/912
2024-08-13 15:55:09 +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
Arthur Sonzogni
c24a274292
Feature: hscroll_indicator
( #753 )
...
This is the symetrical of `vscroll_indicator`.
Requested by @ibrahimnasson.
Fixed:https://github.com/ArthurSonzogni/FTXUI/issues/752
2023-09-26 23:08:42 +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
Herman Semenov
d464a071da
Optimize inserts in vector and refactor const reference objects ( #659 )
...
Signed-off-by: German Semenov <GermanAizek@yandex.ru>
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2023-05-31 19:24:08 +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
Vinicius Moura Longaray
e83e90ced2
Feature: LinearGradient
color decorator. ( #592 )
...
Based on the existing color decorators, create new ones to apply a gradient effect on the DOM.
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2023-03-22 13:59:02 +01:00
Arthur Sonzogni
9efa0f7874
Feature: Add the dashed style. ( #594 )
2023-03-15 22:50:27 +01:00
AMS21
094d8d9d0a
Fix border charset array being to large ( #421 )
...
This for some reason caused the clang compiler to crash, while also
being incorrect as the tables are actually only 5x6.
See the LLVM issue here:
https://github.com/llvm/llvm-project/issues/56016
2022-06-14 21:03:03 +02:00
Arthur Sonzogni
a6e04b4346
Table: reset dimensions. ( #396 )
...
The table is not meant to be used to render more than once. Reset the
dimensions so that, even if it is used wrongly, this is not memory
unsafe.
This was raised by:
https://github.com/ArthurSonzogni/FTXUI/issues/381
2022-05-08 08:34:51 +02:00
Arthur Sonzogni
aebde94352
Add clang-tidy. ( #368 )
2022-03-31 02:17:43 +02:00
Arthur Sonzogni
5da7b8a59a
Fix automerge in tables. ( #333 )
2022-02-13 11:41:31 +01:00
Nikola Dućak
689d5dd299
Replace std::clamp with util::clamp and reformat the code ( #321 )
...
* Replace std::clamp with util::clamp
* Apply clang-format
* Execute ./tools/iwyu.sh
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2022-02-05 15:03:45 +01:00
Arthur Sonzogni
3829734fa9
Fix table separator ( #311 )
2022-01-21 23:02:29 +01:00
Arthur Sonzogni
382205c057
Add Table constructor from Elements. ( #310 )
2022-01-16 16:46:32 +01:00
Arthur Sonzogni
026a005753
Table ( #229 )
...
This class allows rendering stylized table.
2021-10-15 23:04:11 +02:00