45 lines
1.4 KiB
C++
45 lines
1.4 KiB
C++
#ifndef _CBOXSIZER_HPP_
|
|
#define _CBOXSIZER_HPP_
|
|
|
|
/*** SDL Header Files ***/
|
|
#include <SDL.h>
|
|
|
|
/*** Custom Header Files ***/
|
|
#include "cPanel.hpp"
|
|
#include "GUIHelpers/cObject.hpp"
|
|
#include "GUIHelpers/Enums.hpp"
|
|
|
|
/*** DLL Header File ***/
|
|
#include "dllExport.h"
|
|
|
|
/*** Custom Header Files ***/
|
|
#include "cWindow.hpp"
|
|
|
|
#include "../UtilityEngine/cString.hpp"
|
|
|
|
using UtilityEngine::cString;
|
|
|
|
namespace GUIEngine {
|
|
class EXPORT_FROM_MYDLL cBoxSizer : public cWindow
|
|
{
|
|
public:
|
|
static const cString sNAME; /*= "boxsizer";*/
|
|
static GUIHelpers::Size sSIZE; /*= { 5, 5 }*/
|
|
|
|
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 );
|
|
virtual ~cBoxSizer();
|
|
|
|
///Functions
|
|
void 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 );
|
|
|
|
virtual const GUIHelpers::eType getType() const;
|
|
virtual const GUIHelpers::RGBA getDebugColour() const;
|
|
private:
|
|
private:
|
|
};/// END CLASS DEFINITION cBoxSizer
|
|
}/// END NAMESPACE DEFINITION GUIEngine
|
|
#endif/// END IFNDEF _CBOXSIZER_HPP_
|