Allow user to specify window element border. (#849)

This commit is contained in:
Mark Antabi
2024-04-28 08:48:02 -04:00
committed by GitHub
parent 7e3e1d4bca
commit d38b14ffb6
2 changed files with 12 additions and 3 deletions

View File

@@ -80,7 +80,9 @@ Decorator borderStyled(BorderStyle);
Decorator borderStyled(BorderStyle, Color);
Decorator borderStyled(Color);
Decorator borderWith(const Pixel&);
Element window(Element title, Element content);
Element window(Element title,
Element content,
BorderStyle border = ROUNDED);
Element spinner(int charset_index, size_t image_index);
Element paragraph(const std::string& text);
Element paragraphAlignLeft(const std::string& text);