summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/ToolbarContainer.h
blob: f7579075a409b23516e35d58d3b210c3c41a3f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibGUI/Frame.h>
#include <LibGUI/Toolbar.h>

namespace GUI {

class ToolbarContainer : public Frame {
    C_OBJECT(ToolbarContainer);

public:
private:
    explicit ToolbarContainer(Gfx::Orientation = Gfx::Orientation::Horizontal);

    virtual void paint_event(GUI::PaintEvent&) override;

    Gfx::Orientation m_orientation { Gfx::Orientation::Horizontal };
};

}