Files
SDLPongCPP/TrooperEngineDLL/TrooperEngine/GUIEngine/GUIHelpers/GUIUtility.hpp
T
2018-07-31 10:50:06 -04:00

46 lines
1.2 KiB
C++

#ifndef _GUIUTILITY_HPP_
#define _GUIUTILITY_HPP_
/*** SDL Header Files ***/
#include <SDL.h>
/*** Custom Header Files ***/
#include "../../MathEngine/iVector/iVector2.hpp"
#include "../../MathEngine/iVector/iVector4.hpp"
#include "../../UtilityEngine/cString.hpp"
using UtilityEngine::cString;
namespace GUIHelpers {
typedef struct MathEngine::iVector2 Size, Position;
typedef struct MathEngine::iVector4 Padding;
typedef struct SDL_Colour RGBA;
typedef struct SDL_Rect Area;
static const RGBA DEFAULT = { 0, 0, 0, 0 };
static const RGBA WHITE = { 255, 255, 255, 255 };
static const RGBA BLACK = { 0, 0, 0, 255 };
static const RGBA RED = { 255, 0, 0, 255 };
static const RGBA ORANGE = { 255, 128, 0, 255 };
static const RGBA YELLOW = { 255, 255, 0, 255 };
static const RGBA GREEN = { 0, 255, 0, 255 };
static const RGBA CYAN = { 0, 255, 255, 255 };
static const RGBA BLUE = { 0, 0, 255, 255 };
static const RGBA VIOLET = { 128, 0, 255, 255 };
static const RGBA MAGENTA = { 255, 0, 255, 255 };
static const RGBA ROSE = { 255, 0, 128, 255 };
const RGBA& StringtoRGBA(const cString& colour);
}/// END NAMESPACE DEFINITION GUIHelpers
#endif/// END IFNDEF _GUIUTILITY_HPP_