bwidgets/inc/basic_widgets/w/aligned_layout.hpp

23 lines
383 B
C++
Raw Normal View History

2021-08-06 14:22:56 +02:00
#ifndef BWIDGETS_ALIGNED_LAYOUT_HPP
#define BWIDGETS_ALIGNED_LAYOUT_HPP
#include <basic_widgets/w/base/layout.hpp>
namespace bwidgets
{
enum struct LayoutAlignment
{
HORIZONTAL,
VERTICAL
};
2021-08-23 23:50:14 +02:00
// Align vertically or horizontally widgets.
2021-08-17 12:10:41 +02:00
class AlignedLayout : public virtual Layout
2021-08-06 14:22:56 +02:00
{
public:
2021-08-17 12:10:41 +02:00
using Layout::Layout;
2021-08-06 14:22:56 +02:00
};
}
#endif