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
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
2991b0389e
Add colored border. ( #595 )
...
This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/564
2023-03-16 13:15:14 +01:00
Arthur Sonzogni
9efa0f7874
Feature: Add the dashed style. ( #594 )
2023-03-15 22:50:27 +01:00
Arthur Sonzogni
9b074d1e27
Feature resizable spilt with custom separator ( #583 )
...
* Feature: ResizableSplit with custom separator
This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/580
Co-authored-by: Pin Loon Lee <pinloon_0428@hotmail.com>
2023-03-09 20:21:23 +01:00
Evgeny Gorodetskiy
436c237213
Fix Apple Clang 14 build errors (issue #588 ) ( #589 )
2023-02-26 21:49:52 +01:00
Arthur Sonzogni
3e35f45830
Execute clang-tidy and IWYU. ( #576 )
2023-02-12 14:07:28 +01:00
Arthur Sonzogni
a4e70dfb93
Fix vscroll hidding the last character. ( #575 )
...
This resolve:
https://github.com/ArthurSonzogni/FTXUI/issues/574
2023-02-12 13:51:51 +01:00
Arthur Sonzogni
6fe8310321
Feature: strikethrough
and underlinedDouble
decorator. ( #561 )
...
This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/560
2023-01-22 11:02:27 +01:00
Arthur Sonzogni
5410329ac6
Adding heartbeat to spinner ( #548 )
...
Co-authored-by: cyrus <cyruswang2017@gmail.com>
2023-01-06 11:05:56 +01:00
Arthur Sonzogni
0542227ba7
Execute clang tidy and IWYU ( #528 )
2022-12-19 19:44:43 +01:00
Arthur Sonzogni (slow/sick)
05f29ff3b3
Remove codecvt dependency. ( #516 )
...
This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/514
2022-11-26 20:43:09 +01:00
Fredrik Hallenberg
55b9706cfd
Fix automerge at border ( #515 )
2022-11-25 00:39:17 +01:00
Arthur Sonzogni (slow/sick)
1689802349
Support multiple kind of cursor shapes. ( #505 )
...
https://github.com/ArthurSonzogni/FTXUI/issues/424
2022-11-11 14:09:53 +01:00
Arthur Sonzogni
c61fadd8ec
Update to unicode 13 standard. ( #484 )
...
It contains additional full width character and combining characters.
This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/483
2022-09-29 10:50:27 +02:00
Lobanova Valeriia
b3aad183da
FIX: minor mistake ( #482 )
2022-09-25 22:00:12 +02:00
Arthur Sonzogni
8226c5aea7
Fix clang-tidy. ( #469 )
2022-08-28 21:30:01 +02:00
Ian J
251306a4bb
Fixed divide by zero segault ( #461 )
...
Check if inner_size is less than 1 to prevent divide by 0 segfault.
Co-authored-by: Arthur Sonzogni <sonzogniarthur@gmail.com>
2022-08-19 19:43:55 +02:00
Arthur Sonzogni
f461050759
Run IWYU ( #450 )
2022-08-07 14:44:33 +02:00
badlydrawnrod
d5044bdaaf
Fix #441 Canvas::DrawText() ( #442 )
...
Fix for Canvas::DrawText() draws nothing if the start coordinate is out
of bounds.
2022-07-10 22:14:32 +02: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
925a7578d4
Feature: the Modal
component. ( #418 )
2022-06-12 17:08:22 +02:00
Jhon Adams
b63aa9e375
Swap incorrect width/height mapping ( #409 )
...
width and height were being set using the incorrect axes resulting in incorrect canvas dimensions
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2022-06-01 21:13:39 +02:00
Arthur Sonzogni
ed5b4cec49
Fix: Forward gridbox
selected box. ( #408 )
...
This was discovered in:
https://github.com/ArthurSonzogni/FTXUI/issues/407
2022-05-28 22:35:52 +02:00
Arthur Sonzogni
11519ef1c6
Fix focus vs flexbox interaction. ( #405 )
...
- Fix focus in flexbox. This required resetting the focus state at the
beginning of the ComputeRequirement(), because it can now run several
times.
This resolves:https://github.com/ArthurSonzogni/FTXUI/issues/399
- Add Box::Union.
- Add a preliminary implementation of forwarding selected_box from
within the flexbox.
2022-05-22 21:41:29 +02:00
Arthur Sonzogni
c033ca61ae
Remove NXXM. Execute IWYU. ( #397 )
2022-05-08 08:44:38 +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
ArthurSonzogni
c2e1920449
Execute IWYU.
2022-04-28 10:43:31 +02:00
ArthurSonzogni
d0890f94d1
execute IWYU and add some coverage tests.
2022-04-27 18:57:48 +02:00
ArthurSonzogni
84d6e6b3dd
Add additional coverage tests.
2022-04-27 14:00:46 +02:00
ArthurSonzogni
5ba301d316
Add coverage for terminal_input_parser.
2022-04-27 11:11:32 +02:00
Arthur Sonzogni
06ed8567b8
Add coverage for colors (extended) ( #385 )
2022-04-27 09:28:48 +02:00
Arthur Sonzogni
04b36df567
Coverage decorator ( #384 )
...
Add code coverage for colors and decorators.
2022-04-26 17:04:34 +02:00
Arthur Sonzogni
764c24ef40
Add code coverage support. ( #378 )
2022-04-17 15:47:20 +02:00
Arthur Sonzogni
aebde94352
Add clang-tidy. ( #368 )
2022-03-31 02:17:43 +02:00
Arthur Sonzogni
c76612a3c8
Fix error with invalid float in the gauge component. ( #356 )
2022-03-13 22:30:05 +01:00
Arthur Sonzogni
4da63b9260
Animation ( #355 )
2022-03-13 18:51:46 +01:00
Kefu Chai
95c766e9e4
Component decorators ( #354 )
...
Add decorator variants for decorator components
Add the "pipe" operator for components, similar to what was done for Elements.
We are able to put something like:
```
Button(...) | Maybe(&show_button)
```
Add decorators for:
- `Maybe`
- `CatchEvent`
- `Renderer`
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2022-03-12 15:18:36 +01:00
Arthur Sonzogni
9b83205b3e
Fix vscroll-indicator size and offset. ( #334 )
2022-02-14 02:44:57 +01:00
Arthur Sonzogni
5da7b8a59a
Fix automerge in tables. ( #333 )
2022-02-13 11:41:31 +01:00
Arthur Sonzogni
8ba3698437
Gauge direction ( #326 )
...
Add `gauge` with all the different directions.
Co-authored-by: Aleksandar Brakmic <13668697+brakmic-aleksandar@users.noreply.github.com>
2022-02-06 19:17:21 +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
6039474a26
Automerge feature. ( #313 )
...
Add the `automerge` attribute to the Pixel bit field. It controls
whether two pixels must be automerged. Defining this allows two
mergeable characters not to be merged.
This was requested by:
https://github.com/ArthurSonzogni/FTXUI/issues/285
2022-01-22 15:38:01 +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
cdd6339849
Execute IWYU ( #299 )
2022-01-07 11:03:54 +01:00
Arthur Sonzogni
728976bdeb
Fix vscroll indicator ( #295 )
...
* Clear vscroll_indicator content before drawing it.
2022-01-05 12:04:03 +01:00
Arthur Sonzogni
aea67743d4
Canvas bug fix and documentation. ( #289 )
2021-12-29 16:31:27 +01:00