Add colored border. (#595)

This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/564
This commit is contained in:
Arthur Sonzogni
2023-03-16 13:15:14 +01:00
committed by GitHub
parent 9efa0f7874
commit 2991b0389e
5 changed files with 94 additions and 11 deletions

View File

@@ -73,6 +73,8 @@ Element borderDouble(Element);
Element borderRounded(Element);
Element borderEmpty(Element);
Decorator borderStyled(BorderStyle);
Decorator borderStyled(BorderStyle, Color);
Decorator borderStyled(Color);
Decorator borderWith(const Pixel&);
Element window(Element title, Element content);
Element spinner(int charset_index, size_t image_index);