1 #ifndef TERMOX_WIDGET_WIDGETS_LINE_HPP
2 #define TERMOX_WIDGET_WIDGETS_LINE_HPP
5 #include <termox/widget/layouts/horizontal.hpp>
6 #include <termox/widget/layouts/vertical.hpp>
7 #include <termox/widget/widget.hpp>
12 template <
template <
typename>
typename Layout_t>
18 static auto constexpr is_vertical = layout::is_vertical_v<Layout_t<Widget>>;
22 template <
template <
typename>
typename Layout_t>
23 [[nodiscard]]
auto line() -> std::unique_ptr<Line<Layout_t>>;
28 [[nodiscard]]
auto vline() -> std::unique_ptr<VLine>;
33 [[nodiscard]]
auto hline() -> std::unique_ptr<HLine>;
A Vertical or Horizontal single width/height line divider.
Definition: line.hpp:13