summaryrefslogtreecommitdiff
path: root/LibGUI/GBoxLayout.h
blob: 605c7d5d62522a8d5d34c928f9d70feeaa7d64ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <LibGUI/GLayout.h>
#include <LibGUI/GWidget.h>

class GBoxLayout final : public GLayout {
public:
    explicit GBoxLayout(Orientation);
    virtual ~GBoxLayout() override;

    Orientation orientation() const { return m_orientation; }

    virtual void run(GWidget&) override;

private:
    Orientation m_orientation;
};