Add project files.

This commit is contained in:
2018-06-25 21:48:45 -04:00
parent b04a25689b
commit 3c1b7d28e8
425 changed files with 35333 additions and 0 deletions
@@ -0,0 +1,33 @@
#include "GUIUtility.hpp"
using namespace GUIHelpers;
const RGBA GUIHelpers::StringtoRGBA( const cString& colour )
{
RGBA rtn = DEFAULT;
cString check = colour.upper();
if (check == "WHITE")
rtn = WHITE;
if (check == "BLACK")
rtn = BLACK;
if (check == "RED")
rtn = RED;
if (check == "ORANGE")
rtn = ORANGE;
if (check == "YELLOW")
rtn = YELLOW;
if (check == "GREEN")
rtn = GREEN;
if (check == "CYAN")
rtn = CYAN;
if (check == "BLUE")
rtn = BLUE;
if (check == "VIOLET")
rtn = VIOLET;
if (check == "MAGENTA")
rtn = MAGENTA;
if (check == "ROSE")
rtn = ROSE;
return rtn;
}