summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GBoxLayout.h
blob: b16cca0301155724388496928b7ccd43d00a1300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
};