Add more documentation.

This commit is contained in:
ArthurSonzogni
2020-08-16 02:24:50 +02:00
committed by Arthur Sonzogni
parent f2dc080a35
commit 114ab4ae2a
33 changed files with 310 additions and 144 deletions

View File

@@ -129,7 +129,7 @@ Element border(Element child) {
/// @param title The title of the window.
/// @param content The element to be wrapped.
/// @ingroup dom
/// @seealso border
/// @see border
///
/// ### Example
///
@@ -152,7 +152,7 @@ Element window(Element title, Element content) {
/// @brief Same as border but with a constant Pixel around the element.
/// @ingroup dom
/// @seealso border
/// @see border
Decorator borderWith(Pixel pixel) {
return [pixel](Element child) {
return std::make_shared<Border>(unpack(std::move(child)), pixel);