Files
MuditaOS/module-gui/gui/widgets/ThreeBox.cpp
Przemyslaw Brudny df1d1cdfe2 [BH-723] Added ThreeBox and BellBaseLayout
Added ThreeBox template layout type. Applied it to Pure header.
Created BellBaseLayout for most of Bell windows. Modified
SideListView to proper handle new layout with page bar on/off.
2021-08-09 12:56:46 +02:00

27 lines
977 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "ThreeBox.hpp"
namespace gui
{
template <class Parent, class First, class Center, class Last>
ThreeBox<Parent, First, Center, Last>::ThreeBox(Item *parent, Position x, Position y, Length w, Length h)
: Parent(parent, x, y, w, h)
{}
template <class First, class Center, class Last>
HThreeBox<First, Center, Last>::HThreeBox(Item *parent, Position x, Position y, Length w, Length h)
: ThreeBox<HBox, First, Center, Last>(parent, x, y, w, h)
{}
template <class First, class Center, class Last>
VThreeBox<First, Center, Last>::VThreeBox(Item *parent, Position x, Position y, Length w, Length h)
: ThreeBox<VBox, First, Center, Last>(parent, x, y, w, h)
{}
template class HThreeBox<HBox, HBox, HBox>;
template class VThreeBox<VBox, VBox, VBox>;
} // namespace gui