Files
SDLPongCPP/.svn/pristine/2b/2bbb9fefa6dd43a2fa17b82fcbdab86cf1beece8.svn-base
T
2018-06-25 21:48:45 -04:00

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;
}