26 lines
681 B
Plaintext
26 lines
681 B
Plaintext
#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"
|
|
|
|
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 WHITE = { 255,255,255,255 };
|
|
static const RGBA RED = { 255, 0, 0, 255 };
|
|
static const RGBA GREEN = { 0, 255, 0, 255 };
|
|
static const RGBA BLUE = { 0, 0, 255, 255 };
|
|
|
|
|
|
}/// END NAMESPACE DEFINITION GUIHelpers
|
|
#endif/// END IFNDEF _GUIUTILITY_HPP_
|
|
|