28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
#include "cBoxSizer.hpp"
|
|
|
|
using GUIEngine::cBoxSizer;
|
|
|
|
/*static*/ const cString cBoxSizer::sNAME = "boxsizer";
|
|
|
|
cBoxSizer::cBoxSizer( cWindow* parent, const signed int id, const GUIHelpers::eAlign& align /*= sALIGN*/, const GUIHelpers::eLayout& layout /*= sLAYOUT*/,
|
|
const GUIHelpers::Position& pos /*= sPOSITION*/, const GUIHelpers::Size& size /*= sSIZE*/, const GUIHelpers::Padding& padding /*= sPADDING*/,
|
|
const cString& name /*= sNAME*/ )
|
|
{
|
|
Create(parent, id, align, layout, pos, size, padding, name);
|
|
}
|
|
|
|
/*virtual*/ cBoxSizer::~cBoxSizer()
|
|
{}
|
|
|
|
///Functions
|
|
void cBoxSizer::Create( cWindow* parent, const signed int id, const GUIHelpers::eAlign& align /*= sALIGN*/, const GUIHelpers::eLayout& layout /*= sLAYOUT*/,
|
|
const GUIHelpers::Position& pos/* = sPOSITION*/, const GUIHelpers::Size& size /*= sSIZE*/, const GUIHelpers::Padding& padding /*= sPADDING*/,
|
|
const cString& name /*= sNAME*/ )
|
|
{
|
|
cWindow::Create(parent, id, sORIENTATION, align, layout, pos, size, padding, name);
|
|
}
|
|
|
|
/*virtual*/ const GUIHelpers::eType cBoxSizer::getType() const
|
|
{
|
|
return GUIHelpers::eType::CBOXSIZER;
|
|
} |