Add project files.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#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 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 };
|
||||
|
||||
|
||||
}/// END NAMESPACE DEFINITION GUIHelpers
|
||||
#endif/// END IFNDEF _GUIUTILITY_HPP_
|
||||
|
||||
Reference in New Issue
Block a user