45 lines
1.4 KiB
C++
45 lines
1.4 KiB
C++
#ifndef _CSIZER_HPP_
|
|
#define _CSIZER_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 cSizer : public cWindow
|
|
{
|
|
public:
|
|
static const cString sNAME; /*= "sizer";*/
|
|
static GUIHelpers::Size sSIZE; /*= { 5, 5 }*/
|
|
|
|
cSizer( 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 ~cSizer();
|
|
|
|
/// 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 cSizer
|
|
}/// END NAMESPACE DEFINITION GUIEngine
|
|
#endif/// END IFNDEF _CSIZER_HPP_
|