Serenity Operating System
at master 26 lines 502 B view raw
1/* 2 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <LibGUI/Frame.h> 10#include <LibGUI/Toolbar.h> 11 12namespace GUI { 13 14class ToolbarContainer : public Frame { 15 C_OBJECT(ToolbarContainer); 16 17public: 18private: 19 explicit ToolbarContainer(Gfx::Orientation = Gfx::Orientation::Horizontal); 20 21 virtual void paint_event(GUI::PaintEvent&) override; 22 23 Gfx::Orientation m_orientation { Gfx::Orientation::Horizontal }; 24}; 25 26}