Jump to content
Sign in to follow this  
terox

RESOURCE: Gui Rsc Base classes & Colours

Recommended Posts

I googled for a premade base class definition for the Gui configs and didn't get a decent hit, so for anyone else wanting base definitions for their GUI projects, I hope you find this useful

 

 

BASE DEFINITIONS

 

Correct as for A3 v1.50

It's a bit messy, was quickly done but should get you up and running

Just mass edit the "MyTag_" and replace it with your own tag and your good to start inheriting from

and define your own default colours

 

//#ifndef MyTag_GUI_BASE
//#define MyTag_GUI_BASE
//---------------------------------
// Common defines
//---------------------------------

#define MyTag_true 					1
#define MyTag_false 				0

#define MyTag_ReadAndWrite 			0 //! any modifications enabled
#define MyTag_ReadAndCreate 		1 //! only adding new class members is allowed
#define MyTag_ReadOnly 				2 //! no modifications enabled
#define MyTag_ReadOnlyVerified 		3 //! no modifications enabled, CRC test applied

//---------------------------------
// Control types
//---------------------------------

#define MyTag_CT_STATIC           	0
#define MyTag_CT_BUTTON           	1
#define MyTag_CT_EDIT             	2
#define MyTag_CT_SLIDER           	3
#define MyTag_CT_COMBO           		4
#define MyTag_CT_LISTBOX          	5
#define MyTag_CT_TOOLBOX          	6
#define MyTag_CT_CHECKBOXES       	7
#define MyTag_CT_PROGRESS         	8
#define MyTag_CT_HTML             	9
#define MyTag_CT_STATIC_SKEW      	10
#define MyTag_CT_ACTIVETEXT       	11
#define MyTag_CT_TREE             	12
#define MyTag_CT_STRUCTURED_TEXT  	13
#define MyTag_CT_CONTEXT_MENU     	14
#define MyTag_CT_CONTROLS_GROUP   	15
#define MyTag_CT_SHORTCUTBUTTON   	16

// Todo: verify these
	#define MyTag_CT_3DSTATIC     	20
	#define MyTag_CT_3DACTIVETEXT 	21
	#define MyTag_CT_3DLISTBOX    	22
	#define MyTag_CT_3DHTML       	23
	#define MyTag_CT_3DSLIDER     	24
	#define MyTag_CT_3DEDIT       	25
// End of "ToDo Verify These"

#define MyTag_CT_XKEYDESC         	40
#define MyTag_CT_XBUTTON          	41
#define MyTag_CT_XLISTBOX         	42
#define MyTag_CT_XSLIDER          	43
#define MyTag_CT_XCOMBO           	44
#define MyTag_CT_ANIMATED_TEXTURE 	45
#define MyTag_CT_CHECKBOX         	77
// 3D Controls
#define MyTag_CT_OBJECT           	80
#define MyTag_CT_OBJECT_ZOOM      	81
#define MyTag_CT_OBJECT_CONTAINER 	82
#define MyTag_CT_OBJECT_CONT_ANIM 	83
#define MyTag_CT_LINEBREAK        	98
#define MyTag_CT_USER             	99
#define MyTag_CT_MAP              	100
#define MyTag_CT_MAP_MAIN         	101
#define MyTag_CT_LISTNBOX         	102


//---------------------------------
// Control styles
//---------------------------------
//many of these can be combined; eg: style = MyTag_ST_RIGHT + MyTag_ST_SHADOW;

#define MyTag_ST_UNDEFINED      		0		// Not Sure what this is
#define MyTag_ST_POS            		0x0F
#define MyTag_ST_HPOS           		0x03
#define MyTag_ST_VPOS           		0x0C
#define MyTag_ST_LEFT           		0x00	//left aligned text
#define MyTag_ST_RIGHT          		0x01	//left aligned text
#define MyTag_ST_CENTER         		0x02	//center aligned text
#define MyTag_ST_DOWN           		0x04
#define MyTag_ST_UP             		0x08
#define MyTag_ST_VCENTER        		0x0C

#define MyTag_ST_TYPE           		0xF0
#define MyTag_ST_SINGLE         		0x00	//single line textbox
#define MyTag_ST_MULTI          		0x10	//multi-line textbox (text will wrap, and newline character can be used). There is no scrollbar, but mouse wheel/arrows can scroll it. Control will be outlined with a line (color = text color).
#define MyTag_ST_TITLE_BAR      		0x20
#define MyTag_ST_PICTURE        		0x30  	//turns a static control into a picture control. 'Text' will be used as picture path. Picture will be stretched to fit the control.
#define MyTag_ST_FRAME          		0x40	//control becomes a frame. Background is clear and text is placed along the top edge of the control. Control is outlined with text color (as in MyTag_ST_MULTI)
#define MyTag_ST_BACKGROUND     		0x50
#define MyTag_ST_GROUP_BOX      		0x60
#define MyTag_ST_GROUP_BOX2     		0x70
#define MyTag_ST_HUD_BACKGROUND 		0x80	//control is rounded and outlined (just like a hint box)
#define MyTag_ST_TILE_PICTURE   		0x90
#define MyTag_ST_WITH_RECT      		0xA0
#define MyTag_ST_LINE           		0xB0	//a line is drawn between the top left and bottom right of the control (color = text color). Background is clear. Control can still have text, however.

#define MyTag_ST_SHADOW         		0x100	//text or image is given a shadow
#define MyTag_ST_NO_RECT        		0x200	//when combined with MyTag_ST_MULTI, it eliminates the outline around the control. Might combine with other styles for similar effect.
#define MyTag_ST_KEEP_ASPECT_RATIO  	0x800	//used for pictures, it makes the displayed picture keep its aspect ratio.

#define MyTag_ST_TITLE          		MyTag_ST_TITLE_BAR + MyTag_ST_CENTER

// Slider styles
#define MyTag_SL_DIR            		0x400
#define MyTag_SL_VERT           		0
#define MyTag_SL_HORZ           		0x400

#define MyTag_SL_TEXTURES       		0x10

// progress bar 
#define MyTag_ST_VERTICAL       		0x01
#define MyTag_ST_HORIZONTAL     		0

// Listbox styles
#define MyTag_LB_TEXTURES       		0x10	//removes all extra lines from listbox, leaving only a gradiant scrollbar. Useful when LB has a painted background behind it.
#define MyTag_LB_MULTI          		0x20	//allows multiple elements of the LB to be selected (by holding shift / ctrl)

// Tree styles
#define MyTag_TR_SHOWROOT       		1
#define MyTag_TR_AUTOCOLLAPSE   		2

// MessageBox styles
#define MyTag_MB_BUTTON_OK      		1
#define MyTag_MB_BUTTON_CANCEL  		2
#define MyTag_MB_BUTTON_USER    		4

//---------------------------------
// Hardcoded IDCs
//---------------------------------

#define IDC_OK            				1
#define IDC_CANCEL        				2
#define IDC_AUTOCANCEL    				3
#define IDC_ABORT         				4
#define IDC_RESTART      				5

///////////////////
//     FONTS     //
///////////////////
/*
	"EtelkaMonospacePro"
	"EtelkaMonospaceProBold"
	"EtelkaNarrowMediumPro"
	"LucidaConsoleB"
	"PuristaBold"
	"PuristaLight"
	"PuristaMedium"
	"PuristaSemibold"
	"TahomaB"
*/

#define MyTag_FONT_LIGHT				"PuristaLight"
#define MyTag_FONT_NORMAL				"PuristaMedium"
#define MyTag_FONT_BOLD				"PuristaSemibold"
#define MyTag_FONT_HEAVY				"PuristaBold"
#define MyTag_FONT_MONO				"EtelkaMonospaceProBold"


/////////////////////
//     COLOURS     //
/////////////////////

#define MyTag_RGB_WHITE				{1,1,1,1}
#define MyTag_RGB_WHITE_50%			{1,1,1,0.5}

#define MyTag_RGB_BLACK				{0,0,0,1}
#define MyTag_RGB_RED					{1,0,0,1}
#define MyTag_RGB_GREEN				{0,1,0,1}
#define MyTag_RGB_BLUE				{0,0,1,1}

#define MyTag_RGB_DARKCYAN			{0,0.5,0.5,1}

#define MyTag_HEX_WHITE				"#ffffff"
#define MyTag_HEX_BLACK				"#000000"


///////////////////////////////////////////////////////////////////////////
/// Base Classes
///////////////////////////////////////////////////////////////////////////
  class MyTag_RscText
  {
	idc 	= -1;
	access 	= 0;
	type 	= MyTag_CT_STATIC;
	style 	= MyTag_ST_UNDEFINED;
	x 		= 0;
	y 		= 0;
	h 		= 0.037;
	w 		= 0.3;
	deletable 			= 0;
	fade 				= 0;
	shadow 				= 1;
	text 				= "";
	font 				= MyTag_FONT_NORMAL;
	fixedWidth 			= 0;
	SizeEx 				= "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	linespacing 		= 1;
	colorBackground[] 	={0,0,0,0};
	colorText[] 		={1,1,1,1};
	colorShadow[] 		= {0,0,0,0.5};
	tooltipColorText[] 	= {1,1,1,1};
	tooltipColorBox[] 	= {1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
  };

  //Multi-line text.
  class MyTag_RscTextMulti: MyTag_RscText
  {
	linespacing = 1;
	style = MyTag_ST_LEFT + MyTag_ST_MULTI
  };

  class MyTag_RscFrame
  {
	type 	= MyTag_CT_STATIC;
	idc = -1;
	style = 64;
	shadow = 2;
	colorBackground[] ={0,0,0,0};
	colorText[] ={1,1,1,1};
	font = MyTag_FONT_NORMAL;
	sizeEx = 0.02;
	text = "";
  };

  //Standard active text (text that can be clicked like a button)
   class MyTag_RscActiveText
  {
	idc 			= -1;
	access			= MyTag_ReadAndWrite;
	type 			= MyTag_CT_ACTIVETEXT;
	style 			= 2;  //dont know what style 2 is
	color[] 		= MyTag_RGB_WHITE;
	colorActive[] 	= {1,0.5,0,1};
	colorDisabled[] = {1,1,1,0.25};
	default = 0;
	deletable = 0;
	fade = 0;
	font 			= MyTag_FONT_NORMAL;
	h = 0.05;
	w = 0.15;
	shadow = 0;
	sizeEx = "(			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	soundClick[] 	= {"",0.1,1};
	soundEnter[] 	= {"",0.1,1};
	soundEscape[] 	= {"",0.1,1};
	soundPush[] 	= {"",0.1,1};
	tooltipColorBox[] = {1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
	tooltipColorText[] = {1,1,1,1};
	text = "";
  };

  class MyTag_RscStructuredText
  {
  	idc 	= -1;
	access 	= 0;
	type 	= MyTag_CT_STRUCTURED_TEXT;
	//style 	= 0; Default BIS value not documented
	style 	= MyTag_ST_UNDEFINED;
	x 		= 0;
	y 		= 0;
	h 		= 0.035;
	w 		= 0.1;
	deletable 		= 0;
	fade 			= 0;
	shadow 			= 1;
	text 			= "";
	size 			= "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	colorText[] 	= {1,1,1,1};
	class Attributes
	{
		font 	= MyTag_FONT_NORMAL;
		color 	= "#ffffff";
		align 	= "left";
		shadow 	= 1;
	};
  };

    class MyTag_RscHTML
  {
	idc 		= -1;
	access		= MyTag_ReadAndWrite;
	type 		= MyTag_CT_HTML;
	style 		= MyTag_ST_SINGLE;
	filename 	= "";
	shadow 		= 0;
	colorBackground[] 		= MyTag_RGB_BLACK;
	colorText[] 			= MyTag_RGB_WHITE;
	colorBold[] 			= {0,0,0.2,1};
	colorLink[] 			= {1,0.5,0,1};
	colorLinkActive[] 		= {1,0.5,0,1};
	colorPicture[] 			= MyTag_RGB_WHITE;
	colorPictureLink[] 		= MyTag_RGB_WHITE;
	colorPictureSelected[] 	= MyTag_RGB_WHITE;
	colorPictureBorder[] 	= MyTag_RGB_BLACK;
	tooltipColorText[] 		= MyTag_RGB_BLACK;
	tooltipColorBox[] 		= {0,0,0,0.5};
	tooltipColorShade[] 	= {1,1,0.7,1};
	prevPage 				= "#(argb,8,8,3)color(1,1,1,1)";
	nextPage 				= "#(argb,8,8,3)color(1,1,1,1)";
	class H1
	{
		font 		= MyTag_FONT_NORMAL;
		fontBold 	= MyTag_FONT_BOLD;
		sizeEx 		= 0.1;
	};
	class H2
	{
		font 		= MyTag_FONT_NORMAL;
		fontBold 	= MyTag_FONT_BOLD;
		sizeEx 		= 0.09;
	};
	class H3
	{
		font 		= MyTag_FONT_NORMAL;
		fontBold 	= MyTag_FONT_BOLD;
		sizeEx 		= 0.08;
	};
	class H4
	{
		font 		= MyTag_FONT_NORMAL;
		fontBold 	= MyTag_FONT_BOLD;
		sizeEx 		= 0.07;
	};
	class H5
	{
		font 		= MyTag_FONT_NORMAL;
		fontBold 	= MyTag_FONT_BOLD;
		sizeEx 		= 0.06;
	};
	class H6
	{
		font 		= MyTag_FONT_NORMAL;
		fontBold 	= MyTag_FONT_BOLD;
		sizeEx 		= 0.05;
	};
	class P
	{
		font 		= MyTag_FONT_NORMAL;
		fontBold 	= MyTag_FONT_BOLD;
		sizeEx 		= 0.04;
	};
  };

  // Todo NEEDS CHECKING WITH WIKI
  class MyTag_RscProgress
  {
	idc 		= -1;
	access		= MyTag_ReadAndWrite;
	type	 	= MyTag_CT_PROGRESS;
	style 		= MyTag_ST_SINGLE;
	deletable = 0;
	fade = 0;
	x 			= 0;
	y 			= 0;
	w 			= 1.2;
	h 			= 0.03;
	shadow 		= 2;
	colorFrame[]= MyTag_RGB_WHITE;
	colorBar[] 	= MyTag_RGB_WHITE;
	texture 	= "#(argb,8,8,3)color(1,1,1,1)";
  };

  // Todo NEEDS CHECKING WITH WIKI
  class MyTag_RscProgressNotFreeze
  {
	idc 		= -1;
	access		= MyTag_ReadAndWrite;
	type 		= MyTag_CT_ANIMATED_TEXTURE;
	style 		= MyTag_ST_SINGLE;
	deletable 	= 0;
	fade 	= 0;
	x 		= 0;
	y 		= 0;
	w 		= 0.5;
	h 		= 0.1;
	shadow 		= 0;
	texture 	= "#(argb,8,8,3)color(0,0,0,0)";
  };

  class MyTag_RscPicture
  {
	idc 		= -1;
	access 		= 0;
	type 		= MyTag_CT_STATIC;
	style 		= MyTag_ST_PICTURE;
	x 			= 0;
	y 			= 0;
	w 			= 0.2;
	h 			= 0.15;
	deletable 			= 0;
	fade 				= 0;
	font 				= "TahomaB";
	sizeEx 				= 0;
	lineSpacing 		= 0;
	text 				= "";	// path to image file
	fixedWidth 			= 0;
	shadow 				= 0;
	colorBackground[] 	= {0,0,0,0};
	colorText[] 		={1,1,1,1};
	tooltipColorText[] 	= {1,1,1,1};
	tooltipColorBox[] 	= {1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
  };

  class MyTag_RscEdit
  {
	deletable = 0;
	fade = 0;
	access = 0;
	type 	= MyTag_CT_EDIT;
	style = "MyTag_ST_SINGLE + MyTag_ST_FRAME";
	x = 0;
	y = 0;
	h = 0.04;
	w = 0.2;
	colorBackground[] = {0,0,0,0};
	colorText[] = {0.95,0.95,0.95,1};
	colorDisabled[] = {1,1,1,0.25};
	colorSelection[] = {1,1,1,0.25};
	autocomplete = "";
	text = "";
	size = 0.2;
	font = MyTag_FONT_NORMAL;
	shadow = 2;
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	canModify = 1;
	tooltipColorText[] = {1,1,1,1};
	tooltipColorBox[] = {1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
  };

  class MyTag_RscCombo
  {
	deletable = 0;
	fade = 0;
	access = 0;
	type 	= MyTag_CT_COMBO;
	style = "0x10 + 0x200";	// MyTag_ST_MULTI + MyTag_ST_NO_RECT

	colorActive[] = {1,0,0,1};
	colorBackground[] = {0,0,0,1};
	colorDisabled[] = {1,1,1,0.25};
	colorPicture[] = {1,1,1,1};
	colorPictureDisabled[] = {1,1,1,0.25};
	colorPictureRight[] = {1,1,1,1};
	colorPictureRightDisabled[] = {1,1,1,0.25};
	colorPictureRightSelected[] = {1,1,1,1};
	colorPictureSelected[] = {1,1,1,1};
	colorScrollbar[] = {1,0,0,1};
	colorSelect2Right[] = {0,0,0,1};
	colorSelect[] = {0,0,0,1};
	colorSelectBackground[] = {1,1,1,0.7};
	colorSelectRight[] = {0,0,0,1};
	colorText[] = {1,1,1,1};
	colorTextRight[] = {1,1,1,1};
	soundSelect[] = {"\A3\ui_f\data\sound\RscCombo\soundSelect",0.1,1};
	soundExpand[] = {"\A3\ui_f\data\sound\RscCombo\soundExpand",0.1,1};
	soundCollapse[]={"\A3\ui_f\data\sound\RscCombo\soundCollapse",0.1,1};
	tooltipColorBox[] = {1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
	tooltipColorText[] = {1,1,1,1};

	maxHistoryDelay = 1;
	class ComboScrollBar
	{
		arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
		arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
		autoScrollDelay = 5;
		autoScrollEnabled = 0;
		autoScrollRewind = 0;
		autoScrollSpeed = -1;
		border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
		color[] = {1,1,1,1};
		colorActive[] = {1,1,1,1};
		colorDisabled[] = {1,1,1,0.3};
		height = 0;
		scrollSpeed = 0.06;
		shadow = 0;
		thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
		width = 0;
	};

	font = MyTag_FONT_NORMAL;
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	shadow = 0;
	x = 0;
	y = 0;
	w = 0.12;
	h = 0.035;
	arrowEmpty = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_ca.paa";
	arrowFull = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_active_ca.paa";
	wholeHeight = 0.45;
  };

  class MyTag_RscListBox
  {
	deletable = 0;
	fade = 0;
	access = 0;
	type 	= MyTag_CT_LISTBOX;
	style = 16;	//BIS DEFAULT, not documeted what this value means
	rowHeight = 0;
	colorText[] ={1,1,1,1};
	colorDisabled[] = {1,1,1,0.25};
	colorScrollbar[] = {1,0,0,0};
	colorSelect[] = {0,0,0,1};
	colorSelect2[] = {0,0,0,1};
	colorSelectBackground[] = {0.95,0.95,0.95,1};
	colorSelectBackground2[] = {1,1,1,0.5};
	colorBackground[] = {0,0,0,0.3};
	soundSelect[] = {"\A3\ui_f\data\sound\RscListbox\soundSelect",0.09,	1};
	autoScrollSpeed = -1;
	autoScrollDelay = 5;
	autoScrollRewind = 0;
	arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
	arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
	colorPicture[] = {1,1,1,1};
	colorPictureSelected[] = {1,1,1,1};
	colorPictureDisabled[] = {1,1,1,0.25};
	colorPictureRight[] ={1,1,1,1};
	colorPictureRightSelected[] = {1,1,1,1};
	colorPictureRightDisabled[] = {1,1,1,0.25};
	colorTextRight[] = {1,1,1,1};
	colorSelectRight[] = {0,0,0,1};
	colorSelect2Right[] = {0,0,0,1};
	tooltipColorText[] = {1,1,1,1};
	tooltipColorBox[] ={1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
	class ListScrollBar
	{
		arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
		arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
		color[] = {1,1,1,1};
		colorActive[] = {1,1,1,1};
		colorDisabled[] = {1,1,1,0.3};
		height = 0;
		width = 0;
		shadow = 0;
		thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
		scrollSpeed = 0.06;
		autoScrollEnabled = 1;
		autoScrollRewind = 0;
		autoScrollSpeed = -1;
		autoScrollDelay = 5;
		border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
	};
	x = 0;
	y = 0;
	w = 0.3;
	h = 0.3;

	font = MyTag_FONT_NORMAL;
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	shadow = 0;
	colorShadow[] = {0,0,0,0.5};
	period = 1.2;
	maxHistoryDelay = 1;
  };


  // Todo Needs checking
  class MyTag_RscListNBox
  {
	idc 			= -1;
	access			= MyTag_ReadAndWrite;
	type 			= MyTag_CT_LISTNBOX;
	style 			= MyTag_ST_SINGLE;
	deletable = 0;
	x = 0;
	y = 0;
	w = 0.4;
	h = 0.4;
	font 				= MyTag_FONT_NORMAL;
	sizeEx 				= 0.04;
	rowHeight 			= 0;
	color[] 				= {0.95,0.95,0.95,1};
	colorBackground[] 		= {0,0,0,1};
	colorDisabled[] 		= {1,1,1,0.25};
	colorPicture[] 			= {1,1,1,1};
	colorPictureDisabled[] 	= {1,1,1,1};
	colorPictureSelected[] 	= {1,1,1,1};
	colorScrollbar[] 		= {0.95,0.95,0.95,1};
	colorSelect2[] 			= {0,0,0,1};
	colorSelect[] 			= {0,0,0,1};
	colorSelectBackground2[]= {1,1,1,0.5};
	colorSelectBackground[] = {0.95,0.95,0.95,1};
	colorText[] 			= MyTag_RGB_WHITE;

	maxHistoryDelay 	= 1.0;
	soundSelect[] 		= {"",0.1,1};
	period 				= 1;
	autoScrollSpeed 	= -1;
	autoScrollDelay 	= 5;
	autoScrollRewind 	= 0;
	arrowEmpty 		= "#(argb,8,8,3)color(1,1,1,1)";
	arrowFull 		= "#(argb,8,8,3)color(1,1,1,1)";
	drawSideArrows 		= 0;
	columns[] 		= {0.3,0.6,0.7};
	idcLeft 		= -1;
	idcRight 		= -1;
	shadow 			= 0;
	class ListScrollBar
	{
		arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
		arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
		color[] = {1,1,1,1};
		colorActive[] = {1,1,1,1};
		colorDisabled[] = {1,1,1,0.3};
		height = 0;
		width = 0;
		shadow = 0;
		thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
		scrollSpeed = 0.06;
		autoScrollEnabled = 1;
		autoScrollRewind = 0;
		autoScrollSpeed = -1;
		autoScrollDelay = 5;
		border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
	};
	class ScrollBar
	{
		arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
		arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
		color[] = {1,1,1,1};
		colorActive[] = {1,1,1,1};
		colorDisabled[] = {1,1,1,0.3};
		height = 0;
		width = 0;
		shadow = 0;
		thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
		scrollSpeed = 0.06;
		autoScrollEnabled = 1;
		autoScrollRewind = 0;
		autoScrollSpeed = -1;
		autoScrollDelay = 5;
		border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
	};
  };

  class MyTag_RscButton
  {
	deletable = 0;
	fade = 0;
	access = 0;
	type 	= MyTag_CT_BUTTON;
	style = 2;	// BIS DEFAULT, undocumented
	text = "";
	colorText[] = {1,1,1,1};
	colorDisabled[] = {1,1,1,0.25};
	colorBackground[] = {0,0,0,0.5};
	colorBackgroundDisabled[] = {0,0,0,0.5};
	colorBackgroundActive[] = {0,0,0,1};
	colorFocused[] = {0,0,0,1};
	colorShadow[] = {0,0,0,0};
	colorBorder[] = {0,0,0,1};
	soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1};
	soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1};
	soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1};
	soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1};

	x = 0;
	y = 0;
	w = 0.095589;
	h = 0.039216;
	shadow = 2;
	font = MyTag_FONT_NORMAL;
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	offsetX = 0;
	offsetY = 0;
	offsetPressedX = 0;
	offsetPressedY = 0;
	borderSize = 0;
  };

  class MyTag_RscShortcutButton
  {
	idc = -1;
	style 	= MyTag_ST_UNDEFINED;
	type 	= MyTag_CT_SHORTCUTBUTTON;
	x = 0.1;
	y = 0.1;
	w = 0.183825;
	h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
	default = 0;
	shadow = 1;
	deletable = 0;
	fade = 0;
	periodFocus = 1.2;
	periodOver = 0.8;
	period = 0.4;
	font = MyTag_FONT_NORMAL;
	size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	text = "";
	textSecondary = "";
	action = "";

	class HitZone
	{
		left = 0;
		top = 0;
		right = 0;
		bottom = 0;
	};
	class ShortcutPos
	{
		left = 0;
		top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
		w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
		h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	};
	class TextPos
	{
		left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
		top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
		right = 0.005;
		bottom = 0;
	};
	shortcuts[] = 
	{
	};
	textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
	color[] = {1,1,1,1};
	colorFocused[] = {1,1,1,1};
	color2[] = {0.95,0.95,0.95,1};
	colorDisabled[] = {1,1,1,0.25};
	colorBackground[] = 
	{
		"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.77])",
		"(profilenamespace getvariable ['GUI_BCG_RGB_G',0.51])",
		"(profilenamespace getvariable ['GUI_BCG_RGB_B',0.08])",
		1
	};
	colorBackgroundFocused[] = 
	{
		"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.77])",
		"(profilenamespace getvariable ['GUI_BCG_RGB_G',0.51])",
		"(profilenamespace getvariable ['GUI_BCG_RGB_B',0.08])",
		1
	};
	colorBackground2[] = {1,1,1,1};
	soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",	0.09,1};
	soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1};
	soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1};
	soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1};
	class Attributes
	{
		font = MyTag_FONT_NORMAL;
		color = "#E5E5E5";
		align = "left";
		shadow = "true";
	};


	colorSecondary[] = {1,1,1,1};
	colorFocusedSecondary[] ={1,1,1,1};
	color2Secondary[] = {0.95,0.95,0.95,1};
	colorDisabledSecondary[] = {1,1,1,0.25};
	sizeExSecondary = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	fontSecondary = "PuristaMedium";
	animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
	animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
	animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
	animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\over_ca.paa";
	animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\focus_ca.paa";
	animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\down_ca.paa";

	class AttributesImage
	{
		font = MyTag_FONT_NORMAL;
		color = "#E5E5E5";
		align = "left";
	};
};

class MyTag_RscShortcutButtonMain
{
	idc = -1;
	style 	= MyTag_ST_UNDEFINED;
	default = 0;
	w = 0.313726;
	h = 0.104575;
	period = 0.5;
	font = MyTag_FONT_NORMAL;
	size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
	text = "";
	action = "";
	color[] ={1,1,1,1};
	colorDisabled[] ={1,1,1,0.25};
	class HitZone
	{
		left = 0;
		top = 0;
		right = 0;
		bottom = 0;
	};
	class ShortcutPos
	{
		left = 0.0145;
		top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
		w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2) * (3/4)";
		h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
	};
	class TextPos
	{
		left = "(((safezoneW / safezoneH) min 1.2) / 32) * 1.5";
		top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)*2 - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
		right = 0.005;
		bottom = 0;
	};
	animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";
	animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\disabled_ca.paa";
	animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\over_ca.paa";
	animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\focus_ca.paa";
	animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\down_ca.paa";
	animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";

	class Attributes
	{
		font = MyTag_FONT_NORMAL;
		color = "#E5E5E5";
		align = "left";
		shadow = "false";
	};
	class AttributesImage
	{
		font = MyTag_FONT_NORMAL;
		color = "#E5E5E5";
		align = "false";
	};
};

class MyTag_RscSlider
{
	idc = -1;
	deletable = 0;
	fade = 0;
	access = 0;
	type 	= MyTag_CT_SLIDER;
	style = 1024;
	w = 0.3;
	color[] = {1,1,1,0.8};
	colorActive[] = {1,1,1,1};
	shadow = 0;
	h = 0.025;
};


  // ToDo Needs checking
  class MyTag_RscSliderH: MyTag_RscSlider
  {
	idc 			= -1;
	access			= MyTag_ReadAndWrite;
	type 			= MyTag_CT_XSLIDER;
	//style 			= MyTag_SLIDER_HORZ + MyTag_SL_TEXTURES;	//"0x400  + 0x10";
	style			= 1024;
	h = "scalar";
	color[] = {1,1,1,0.6};
	colorActive[] = MyTag_RGB_WHITE;
	colorDisable[] = {1,1,1,0.4};
	arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
	arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
	border = "#(argb,8,8,3)color(1,1,1,1)";
	thumb = "#(argb,8,8,3)color(1,1,1,1)";
	shadow = 0;
  };

class MyTag_IGUIBack
{
	type 	= MyTag_CT_STATIC;
	idc = -1;
	style = 128;
	text = "";
	colorText[] = {	0,0,0,0};
	font = MyTag_FONT_NORMAL;
	sizeEx = 0;
	shadow = 0;
	x = 0.1;
	y = 0.1;
	w = 0.1;
	h = 0.1;
	colorbackground[] = 
	{
		"(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])",
		"(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])",
		"(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])",
		"(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])"
	};
};

class MyTag_RscCheckBox
{
	idc = -1;
	type 	= MyTag_CT_CHECKBOX;
	style 	= MyTag_ST_UNDEFINED;
	checked = 0;
	x = "0.375 * safezoneW + safezoneX";
	y = "0.36 * safezoneH + safezoneY";
	w = "0.025 * safezoneW";
	h = "0.04 * safezoneH";
	color[] = {1,1,1,0.7};
	colorFocused[] = {1,1,1,1};
	colorHover[] = {1,1,1,1};
	colorPressed[] = {1,1,1,1};
	colorDisabled[] = {1,1,1,0.2};
	colorBackground[] = {0,0,0,0};
	colorBackgroundFocused[] = {0,0,0,0};
	colorBackgroundHover[] = {0,0,0,0};
	colorBackgroundPressed[] ={0,0,0,0};
	colorBackgroundDisabled[] = {0,0,0,0};
	textureChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
	textureUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
	textureFocusedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
	textureFocusedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
	textureHoverChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
	textureHoverUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
	texturePressedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
	texturePressedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
	textureDisabledChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
	textureDisabledUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
	tooltipColorText[] = {1,1,1,1};
	tooltipColorBox[] = {1,1,1,1};
	tooltipColorShade[] ={0,0,0,0.65};
	soundEnter[] = 	{"",0.1,1};
	soundPush[] = {"",0.1,1};
	soundClick[] = {"",0.1,1};
	soundEscape[] = {"",0.1,1};
};

class MyTag_RscTextCheckBox
{
	idc = -1;
	type 	= MyTag_CT_CHECKBOXES;
	style 	= MyTag_ST_UNDEFINED;
	x = "0.375 * safezoneW + safezoneX";
	y = "0.36 * safezoneH + safezoneY";
	w = "0.025 * safezoneW";
	h = "0.04 * safezoneH";
	colorText[] = {1,0,0,1};
	color[] ={0,0,0,0};
	colorBackground[] = {0,0,0,0};
	colorTextSelect[] = {0,0.8,0,1};
	colorSelectedBg[] = 
	{
		"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.77])",
		"(profilenamespace getvariable ['GUI_BCG_RGB_G',0.51])",
		"(profilenamespace getvariable ['GUI_BCG_RGB_B',0.08])",
		1
	};
	colorSelect[] = {0,0,0,1};
	colorTextDisable[] = {0.4,0.4,0.4,1};
	colorDisable[] = {0.4,0.4,0.4,1};
	tooltipColorText[] = {1,1,1,1};
	tooltipColorBox[] = {1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
	font = MyTag_FONT_NORMAL;
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
	rows = 1;
	columns = 1;
	strings[] = 
	{
		"UNCHECKED"
	};
	checked_strings[] = 
	{
		"CHECKED"
	};
};

class MyTag_RscButtonMenu
{
	idc = -1;
	type 	= MyTag_CT_SHORTCUTBUTTON;
	style = "0x02 + 0xC0";
	default = 0;
	shadow = 0;
	x = 0;
	y = 0;
	w = 0.095589;
	h = 0.039216;
	animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
	animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
	animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
	animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
	animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
	animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
	colorBackground[] ={0,0,0,0.8};
	colorBackgroundFocused[] = {1,1,1,1};
	colorBackground2[] = {0.75,0.75,0.75,1};
	color[] = {1,1,1,1};
	colorFocused[] = {0,0,0,1};
	color2[] = {0,0,0,1};
	colorText[] = {1,1,1,1};
	colorDisabled[] ={1,1,1,0.25};
	textSecondary = "";
	colorSecondary[] = {1,1,1,1};
	colorFocusedSecondary[] ={0,0,0,1};
	color2Secondary[] = {0,0,0,1};
	colorDisabledSecondary[] = {1,1,1,0.25};
	sizeExSecondary = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	fontSecondary =  MyTag_FONT_LIGHT;
	period = 1.2;
	periodFocus = 1.2;
	periodOver = 1.2;
	size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	tooltipColorText[] = {1,1,1,1};
	tooltipColorBox[] = {1,1,1,1};
	tooltipColorShade[] = {0,0,0,0.65};
	class TextPos
	{
		left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)";
		top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
		right = 0.005;
		bottom = 0;
	};
	class Attributes
	{
		font =  MyTag_FONT_LIGHT;
		color = "#E5E5E5";
		align = "left";
		shadow = "false";
	};
	class ShortcutPos
	{
		left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005";
		top = 0.005;
		w = 0.0225;
		h = 0.03;
	};
	soundEnter[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1};
	soundPush[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1};
	soundClick[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1};
	soundEscape[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1};
};

class MyTag_RscButtonMenuOK
{
	idc = 1;
	shortcuts[] = 
	{
		"0x00050000 + 0",
		28,
		57,
		156
	};
	default = 1;
	text = "OK";
	soundPush[] = {"\A3\ui_f\data\sound\RscButtonMenuOK\soundPush",0.09,1};
};

class MyTag_RscButtonMenuCancel
{
	idc = 2;
	shortcuts[] = 
	{
		"0x00050000 + 1"
	};
	text = "Cancel";
};

class MyTag_RscControlsGroup
{
	idc = -1;
	deletable = 0;
	fade = 0;
	shadow = 0;
	style = 16;
	type 	= MyTag_CT_CONTROLS_GROUP;
	x = 0;
	y = 0;
	w = 1;
	h = 1;
	class VScrollbar
	{
		color[] = {	1,1,1,1};
		width = 0.021;
		autoScrollEnabled = 1;
	};
	class HScrollbar
	{
		color[] = {1,1,1,1};
		height = 0.028;
	};
	class Controls
	{
	};
};

 

 

 

COLOUR DEFINITIONS

 

I also found this in my archives, I have no idea who made this, which is a shame because it must have taken a while to enter all these values

and it would have been nice to pass on the credits.

Hopefully someone will find this useful

 

//Same colors defined in many ways for controls or structured text.

#define RGB_ALICEBLUE               "'#F0F8FF'"
#define RGB_ANTIQUEWHITE            "'#FAEBD7'"
#define RGB_AQUA                    "'#00FFFF'"
#define RGB_AQUAMARINE              "'#7FFFD4'"
#define RGB_AZURE                   "'#F0FFFF'"
#define RGB_BEIGE                   "'#F5F5DC'"
#define RGB_BISQUE                  "'#FFE4C4'"
#define RGB_BLACK                   "'#000000'"
#define RGB_BLANCHEDALMOND          "'#FFEBCD'"
#define RGB_BLUE                    "'#0000FF'"
#define RGB_BLUEVIOLET              "'#8A2BE2'"
#define RGB_BROWN                   "'#A52A2A'"
#define RGB_BURLYWOOD               "'#DEB887'"
#define RGB_CADETBLUE               "'#5F9EA0'"
#define RGB_CHARTREUSE              "'#7FFF00'"
#define RGB_CHOCOLATE               "'#D2691E'"
#define RGB_CORAL                   "'#FF7F50'"
#define RGB_CORNFLOWERBLUE          "'#6495ED'"
#define RGB_CORNSILK                "'#FFF8DC'"
#define RGB_CRIMSON                 "'#DC143C'"
#define RGB_CYAN                    "'#00FFFF'"
#define RGB_DARKBLUE                "'#00008B'"
#define RGB_DARKCYAN                "'#008B8B'"
#define RGB_DARKGOLDENROD           "'#B8860B'"
#define RGB_DARKGRAY                "'#A9A9A9'"
#define RGB_DARKGREY                "'#A9A9A9'"
#define RGB_DARKGREEN               "'#006400'"
#define RGB_DARKKHAKI               "'#BDB76B'"
#define RGB_DARKMAGENTA             "'#8B008B'"
#define RGB_DARKOLIVEGREEN          "'#556B2F'"
#define RGB_DARKORANGE              "'#FF8C00'"
#define RGB_DARKORCHID              "'#9932CC'"
#define RGB_DARKRED                 "'#8B0000'"
#define RGB_DARKSALMON              "'#E9967A'"
#define RGB_DARKSEAGREEN            "'#8FBC8F'"
#define RGB_DARKSLATEBLUE           "'#483D8B'"
#define RGB_DARKSLATEGRAY           "'#2F4F4F'"
#define RGB_DARKSLATEGREY           "'#2F4F4F'"
#define RGB_DARKTURQUOISE           "'#00CED1'"
#define RGB_DARKVIOLET              "'#9400D3'"
#define RGB_DEEPPINK                "'#FF1493'"
#define RGB_DEEPSKYBLUE             "'#00BFFF'"
#define RGB_DIMGRAY                 "'#696969'"
#define RGB_DIMGREY                 "'#696969'"
#define RGB_DODGERBLUE              "'#1E90FF'"
#define RGB_FIREBRICK               "'#B22222'"
#define RGB_FLORALWHITE             "'#FFFAF0'"
#define RGB_FORESTGREEN             "'#228B22'"
#define RGB_FUCHSIA                 "'#FF00FF'"
#define RGB_GAINSBORO               "'#DCDCDC'"
#define RGB_GHOSTWHITE              "'#F8F8FF'"
#define RGB_GOLD                    "'#FFD700'"
#define RGB_GOLDENROD               "'#DAA520'"
#define RGB_GRAY                    "'#808080'"
#define RGB_GREY                    "'#808080'"
#define RGB_GREEN                   "'#008000'"
#define RGB_GREENYELLOW             "'#ADFF2F'"
#define RGB_HONEYDEW                "'#F0FFF0'"
#define RGB_HOTPINK                 "'#FF69B4'"
#define RGB_INDIANRED               "'#CD5C5C'"
#define RGB_INDIGO                  "'#4B0082'"
#define RGB_IVORY                   "'#FFFFF0'"
#define RGB_KHAKI                   "'#F0E68C'"
#define RGB_LAVENDER                "'#E6E6FA'"
#define RGB_LAVENDERBLUSH           "'#FFF0F5'"
#define RGB_LAWNGREEN               "'#7CFC00'"
#define RGB_LEMONCHIFFON            "'#FFFACD'"
#define RGB_LIGHTBLUE               "'#ADD8E6'"
#define RGB_LIGHTCORAL              "'#F08080'"
#define RGB_LIGHTCYAN               "'#E0FFFF'"
#define RGB_LIGHTGOLDENROD          "'#FAFAD2'"
#define RGB_LIGHTGRAY               "'#D3D3D3'"
#define RGB_LIGHTGREY               "'#D3D3D3'"
#define RGB_LIGHTGREEN              "'#90EE90'"
#define RGB_LIGHTPINK               "'#FFB6C1'"
#define RGB_LIGHTSALMON             "'#FFA07A'"
#define RGB_LIGHTSEAGREEN           "'#20B2AA'"
#define RGB_LIGHTSKYBLUE            "'#87CEFA'"
#define RGB_LIGHTSLATEGRAY          "'#778899'"
#define RGB_LIGHTSLATEGREY          "'#778899'"
#define RGB_LIGHTSTEELBLUE          "'#B0C4DE'"
#define RGB_LIGHTYELLOW             "'#FFFFE0'"
#define RGB_LIME                    "'#00FF00'"
#define RGB_LIMEGREEN               "'#32CD32'"
#define RGB_LINEN                   "'#FAF0E6'"
#define RGB_MAGENTA                 "'#FF00FF'"
#define RGB_MAROON                  "'#800000'"
#define RGB_MEDIUMAQUAMARINE        "'#66CDAA'"
#define RGB_MEDIUMBLUE              "'#0000CD'"
#define RGB_MEDIUMORCHID            "'#BA55D3'"
#define RGB_MEDIUMPURPLE            "'#9370DB'"
#define RGB_MEDIUMSEAGREEN          "'#3CB371'"
#define RGB_MEDIUMSLATEBLUE         "'#7B68EE'"
#define RGB_MEDIUMSPRINGGREEN       "'#00FA9A'"
#define RGB_MEDIUMTURQUOISE         "'#48D1CC'"
#define RGB_MEDIUMVIOLETRED         "'#C71585'"
#define RGB_MIDNIGHTBLUE            "'#191970'"
#define RGB_MINTCREAM               "'#F5FFFA'"
#define RGB_MISTYROSE               "'#FFE4E1'"
#define RGB_MOCCASIN                "'#FFE4B5'"
#define RGB_NAVAJOWHITE             "'#FFDEAD'"
#define RGB_NAVY                    "'#000080'"
#define RGB_OLDLACE                 "'#FDF5E6'"
#define RGB_OLIVE                   "'#808000'"
#define RGB_OLIVEDRAB               "'#6B8E23'"
#define RGB_ORANGE                  "'#FFA500'"
#define RGB_ORANGERED               "'#FF4500'"
#define RGB_ORCHID                  "'#DA70D6'"
#define RGB_PALEGOLDENROD           "'#EEE8AA'"
#define RGB_PALEGREEN               "'#98FB98'"
#define RGB_PALETURQUOISE           "'#AFEEEE'"
#define RGB_PALEVIOLETRED           "'#DB7093'"
#define RGB_PAPAYAWHIP              "'#FFEFD5'"
#define RGB_PEACHPUFF               "'#FFDAB9'"
#define RGB_PERU                    "'#CD853F'"
#define RGB_PINK                    "'#FFC0CB'"
#define RGB_PLUM                    "'#DDA0DD'"
#define RGB_POWDERBLUE              "'#B0E0E6'"
#define RGB_PURPLE                  "'#800080'"
#define RGB_RED                     "'#FF0000'"
#define RGB_ROSYBROWN               "'#BC8F8F'"
#define RGB_ROYALBLUE               "'#4169E1'"
#define RGB_SADDLEBROWN             "'#8B4513'"
#define RGB_SALMON                  "'#FA8072'"
#define RGB_SANDYBROWN              "'#F4A460'"
#define RGB_SEAGREEN                "'#2E8B57'"
#define RGB_SEASHELL                "'#FFF5EE'"
#define RGB_SIENNA                  "'#A0522D'"
#define RGB_SILVER                  "'#C0C0C0'"
#define RGB_SKYBLUE                 "'#87CEEB'"
#define RGB_SLATEBLUE               "'#6A5ACD'"
#define RGB_SLATEGRAY               "'#708090'"
#define RGB_SLATEGREY               "'#708090'"
#define RGB_SNOW                    "'#FFFAFA'"
#define RGB_SPRINGGREEN             "'#00FF7F'"
#define RGB_STEELBLUE               "'#4682B4'"
#define RGB_TAN                     "'#D2B48C'"
#define RGB_TEAL                    "'#008080'"
#define RGB_THISTLE                 "'#D8BFD8'"
#define RGB_TOMATO                  "'#FF6347'"
#define RGB_TURQUOISE               "'#40E0D0'"
#define RGB_VIOLET                  "'#EE82EE'"
#define RGB_WHEAT                   "'#F5DEB3'"
#define RGB_WHITE                   "'#FFFFFF'"
#define RGB_WHITESMOKE              "'#F5F5F5'"
#define RGB_YELLOW                  "'#FFFF00'"
#define RGB_YELLOWGREEN             "'#9ACD32'"

#define HTMLCOLOR_ALICEBLUE         '#F0F8FF'
#define HTMLCOLOR_ANTIQUEWHITE      '#FAEBD7'
#define HTMLCOLOR_AQUA              '#00FFFF'
#define HTMLCOLOR_AQUAMARINE        '#7FFFD4'
#define HTMLCOLOR_AZURE             '#F0FFFF'
#define HTMLCOLOR_BEIGE             '#F5F5DC'
#define HTMLCOLOR_BISQUE            '#FFE4C4'
#define HTMLCOLOR_BLACK             '#000000'
#define HTMLCOLOR_BLANCHEDALMOND    '#FFEBCD'
#define HTMLCOLOR_BLUE              '#0000FF'
#define HTMLCOLOR_BLUEVIOLET        '#8A2BE2'
#define HTMLCOLOR_BROWN             '#A52A2A'
#define HTMLCOLOR_BURLYWOOD         '#DEB887'
#define HTMLCOLOR_CADETBLUE         '#5F9EA0'
#define HTMLCOLOR_CHARTREUSE        '#7FFF00'
#define HTMLCOLOR_CHOCOLATE         '#D2691E'
#define HTMLCOLOR_CORAL             '#FF7F50'
#define HTMLCOLOR_CORNFLOWERBLUE    '#6495ED'
#define HTMLCOLOR_CORNSILK          '#FFF8DC'
#define HTMLCOLOR_CRIMSON           '#DC143C'
#define HTMLCOLOR_CYAN              '#00FFFF'
#define HTMLCOLOR_DARKBLUE          '#00008B'
#define HTMLCOLOR_DARKCYAN          '#008B8B'
#define HTMLCOLOR_DARKGOLDENROD     '#B8860B'
#define HTMLCOLOR_DARKGRAY          '#A9A9A9'
#define HTMLCOLOR_DARKGREY          '#A9A9A9'
#define HTMLCOLOR_DARKGREEN         '#006400'
#define HTMLCOLOR_DARKKHAKI         '#BDB76B'
#define HTMLCOLOR_DARKMAGENTA       '#8B008B'
#define HTMLCOLOR_DARKOLIVEGREEN    '#556B2F'
#define HTMLCOLOR_DARKORANGE        '#FF8C00'
#define HTMLCOLOR_DARKORCHID        '#9932CC'
#define HTMLCOLOR_DARKRED           '#8B0000'
#define HTMLCOLOR_DARKSALMON        '#E9967A'
#define HTMLCOLOR_DARKSEAGREEN      '#8FBC8F'
#define HTMLCOLOR_DARKSLATEBLUE     '#483D8B'
#define HTMLCOLOR_DARKSLATEGRAY     '#2F4F4F'
#define HTMLCOLOR_DARKSLATEGREY     '#2F4F4F'
#define HTMLCOLOR_DARKTURQUOISE     '#00CED1'
#define HTMLCOLOR_DARKVIOLET        '#9400D3'
#define HTMLCOLOR_DEEPPINK          '#FF1493'
#define HTMLCOLOR_DEEPSKYBLUE       '#00BFFF'
#define HTMLCOLOR_DIMGRAY           '#696969'
#define HTMLCOLOR_DIMGREY           '#696969'
#define HTMLCOLOR_DODGERBLUE        '#1E90FF'
#define HTMLCOLOR_FIREBRICK         '#B22222'
#define HTMLCOLOR_FLORALWHITE       '#FFFAF0'
#define HTMLCOLOR_FORESTGREEN       '#228B22'
#define HTMLCOLOR_FUCHSIA           '#FF00FF'
#define HTMLCOLOR_GAINSBORO         '#DCDCDC'
#define HTMLCOLOR_GHOSTWHITE        '#F8F8FF'
#define HTMLCOLOR_GOLD              '#FFD700'
#define HTMLCOLOR_GOLDENROD         '#DAA520'
#define HTMLCOLOR_GRAY              '#808080'
#define HTMLCOLOR_GREY              '#808080'
#define HTMLCOLOR_GREEN             '#008000'
#define HTMLCOLOR_GREENYELLOW       '#ADFF2F'
#define HTMLCOLOR_HONEYDEW          '#F0FFF0'
#define HTMLCOLOR_HOTPINK           '#FF69B4'
#define HTMLCOLOR_INDIANRED         '#CD5C5C'
#define HTMLCOLOR_INDIGO            '#4B0082'
#define HTMLCOLOR_IVORY             '#FFFFF0'
#define HTMLCOLOR_KHAKI             '#F0E68C'
#define HTMLCOLOR_LAVENDER          '#E6E6FA'
#define HTMLCOLOR_LAVENDERBLUSH     '#FFF0F5'
#define HTMLCOLOR_LAWNGREEN         '#7CFC00'
#define HTMLCOLOR_LEMONCHIFFON      '#FFFACD'
#define HTMLCOLOR_LIGHTBLUE         '#ADD8E6'
#define HTMLCOLOR_LIGHTCORAL        '#F08080'
#define HTMLCOLOR_LIGHTCYAN         '#E0FFFF'
#define HTMLCOLOR_LIGHTGOLDENROD    '#FAFAD2'
#define HTMLCOLOR_LIGHTGRAY         '#D3D3D3'
#define HTMLCOLOR_LIGHTGREY         '#D3D3D3'
#define HTMLCOLOR_LIGHTGREEN        '#90EE90'
#define HTMLCOLOR_LIGHTPINK         '#FFB6C1'
#define HTMLCOLOR_LIGHTSALMON       '#FFA07A'
#define HTMLCOLOR_LIGHTSEAGREEN     '#20B2AA'
#define HTMLCOLOR_LIGHTSKYBLUE      '#87CEFA'
#define HTMLCOLOR_LIGHTSLATEGRAY    '#778899'
#define HTMLCOLOR_LIGHTSLATEGREY    '#778899'
#define HTMLCOLOR_LIGHTSTEELBLUE    '#B0C4DE'
#define HTMLCOLOR_LIGHTYELLOW       '#FFFFE0'
#define HTMLCOLOR_LIME              '#00FF00'
#define HTMLCOLOR_LIMEGREEN         '#32CD32'
#define HTMLCOLOR_LINEN             '#FAF0E6'
#define HTMLCOLOR_MAGENTA           '#FF00FF'
#define HTMLCOLOR_MAROON            '#800000'
#define HTMLCOLOR_MEDIUMAQUAMARINE  '#66CDAA'
#define HTMLCOLOR_MEDIUMBLUE        '#0000CD'
#define HTMLCOLOR_MEDIUMORCHID      '#BA55D3'
#define HTMLCOLOR_MEDIUMPURPLE      '#9370DB'
#define HTMLCOLOR_MEDIUMSEAGREEN    '#3CB371'
#define HTMLCOLOR_MEDIUMSLATEBLUE   '#7B68EE'
#define HTMLCOLOR_MEDIUMSPRINGGREEN '#00FA9A'
#define HTMLCOLOR_MEDIUMTURQUOISE   '#48D1CC'
#define HTMLCOLOR_MEDIUMVIOLETRED   '#C71585'
#define HTMLCOLOR_MIDNIGHTBLUE      '#191970'
#define HTMLCOLOR_MINTCREAM         '#F5FFFA'
#define HTMLCOLOR_MISTYROSE         '#FFE4E1'
#define HTMLCOLOR_MOCCASIN          '#FFE4B5'
#define HTMLCOLOR_NAVAJOWHITE       '#FFDEAD'
#define HTMLCOLOR_NAVY              '#000080'
#define HTMLCOLOR_OLDLACE           '#FDF5E6'
#define HTMLCOLOR_OLIVE             '#808000'
#define HTMLCOLOR_OLIVEDRAB         '#6B8E23'
#define HTMLCOLOR_ORANGE            '#FFA500'
#define HTMLCOLOR_ORANGERED         '#FF4500'
#define HTMLCOLOR_ORCHID            '#DA70D6'
#define HTMLCOLOR_PALEGOLDENROD     '#EEE8AA'
#define HTMLCOLOR_PALEGREEN         '#98FB98'
#define HTMLCOLOR_PALETURQUOISE     '#AFEEEE'
#define HTMLCOLOR_PALEVIOLETRED     '#DB7093'
#define HTMLCOLOR_PAPAYAWHIP        '#FFEFD5'
#define HTMLCOLOR_PEACHPUFF         '#FFDAB9'
#define HTMLCOLOR_PERU              '#CD853F'
#define HTMLCOLOR_PINK              '#FFC0CB'
#define HTMLCOLOR_PLUM              '#DDA0DD'
#define HTMLCOLOR_POWDERBLUE        '#B0E0E6'
#define HTMLCOLOR_PURPLE            '#800080'
#define HTMLCOLOR_RED               '#FF0000'
#define HTMLCOLOR_ROSYBROWN         '#BC8F8F'
#define HTMLCOLOR_ROYALBLUE         '#4169E1'
#define HTMLCOLOR_SADDLEBROWN       '#8B4513'
#define HTMLCOLOR_SALMON            '#FA8072'
#define HTMLCOLOR_SANDYBROWN        '#F4A460'
#define HTMLCOLOR_SEAGREEN          '#2E8B57'
#define HTMLCOLOR_SEASHELL          '#FFF5EE'
#define HTMLCOLOR_SIENNA            '#A0522D'
#define HTMLCOLOR_SILVER            '#C0C0C0'
#define HTMLCOLOR_SKYBLUE           '#87CEEB'
#define HTMLCOLOR_SLATEBLUE         '#6A5ACD'
#define HTMLCOLOR_SLATEGRAY         '#708090'
#define HTMLCOLOR_SLATEGREY         '#708090'
#define HTMLCOLOR_SNOW              '#FFFAFA'
#define HTMLCOLOR_SPRINGGREEN       '#00FF7F'
#define HTMLCOLOR_STEELBLUE         '#4682B4'
#define HTMLCOLOR_TAN               '#D2B48C'
#define HTMLCOLOR_TEAL              '#008080'
#define HTMLCOLOR_THISTLE           '#D8BFD8'
#define HTMLCOLOR_TOMATO            '#FF6347'
#define HTMLCOLOR_TURQUOISE         '#40E0D0'
#define HTMLCOLOR_VIOLET            '#EE82EE'
#define HTMLCOLOR_WHEAT             '#F5DEB3'
#define HTMLCOLOR_WHITE             '#FFFFFF'
#define HTMLCOLOR_WHITESMOKE        '#F5F5F5'
#define HTMLCOLOR_YELLOW            '#FFFF00'
#define HTMLCOLOR_YELLOWGREEN       '#9ACD32'

#define COLOR_ALICEBLUE         {0.94,0.97,1,1}
#define COLOR_ANTIQUEWHITE      {0.98,0.92,0.84,1}
#define COLOR_AQUA              {0,1,1,1}
#define COLOR_AQUAMARINE        {0.5,1,0.83,1}
#define COLOR_AZURE             {0.94,1,1,1}
#define COLOR_BEIGE             {0.96,0.96,0.86,1}
#define COLOR_BISQUE            {1,0.89,0.77,1}
#define COLOR_BLACK             {0,0,0,1}
#define COLOR_BLANCHEDALMOND    {1,0.92,0.8,1}
#define COLOR_BLUE              {0,0,1,1}
#define COLOR_BLUEVIOLET        {0.54,0.17,0.89,1}
#define COLOR_BROWN             {0.65,0.16,0.16,1}
#define COLOR_BURLYWOOD         {0.87,0.72,0.53,1}
#define COLOR_CADETBLUE         {0.37,0.62,0.63,1}
#define COLOR_CHARTREUSE        {0.5,1,0,1}
#define COLOR_CHOCOLATE         {0.82,0.41,0.12,1}
#define COLOR_CORAL             {1,0.5,0.31,1}
#define COLOR_CORNFLOWERBLUE    {0.39,0.58,0.93,1}
#define COLOR_CORNSILK          {1,0.97,0.86,1}
#define COLOR_CRIMSON           {0.86,0.08,0.24,1}
#define COLOR_CYAN              {0,1,1,1}
#define COLOR_DARKBLUE          {0,0,0.55,1}
#define COLOR_DARKCYAN          {0,0.55,0.55,1}
#define COLOR_DARKGOLDENROD     {0.72,0.53,0.04,1}
#define COLOR_DARKGRAY          {0.66,0.66,0.66,1}
#define COLOR_DARKGREY          {0.66,0.66,0.66,1}
#define COLOR_DARKGREEN         {0,0.39,0,1}
#define COLOR_DARKKHAKI         {0.74,0.72,0.42,1}
#define COLOR_DARKMAGENTA       {0.55,0,0.55,1}
#define COLOR_DARKOLIVEGREEN    {0.33,0.42,0.18,1}
#define COLOR_DARKORANGE        {1,0.55,0,1}
#define COLOR_DARKORCHID        {0.6,0.2,0.8,1}
#define COLOR_DARKRED           {0.55,0,0,1}
#define COLOR_DARKSALMON        {0.91,0.59,0.48,1}
#define COLOR_DARKSEAGREEN      {0.56,0.74,0.56,1}
#define COLOR_DARKSLATEBLUE     {0.28,0.24,0.55,1}
#define COLOR_DARKSLATEGRAY     {0.18,0.31,0.31,1}
#define COLOR_DARKSLATEGREY     {0.18,0.31,0.31,1}
#define COLOR_DARKTURQUOISE     {0,0.81,0.82,1}
#define COLOR_DARKVIOLET        {0.58,0,0.83,1}
#define COLOR_DEEPPINK          {1,0.08,0.58,1}
#define COLOR_DEEPSKYBLUE       {0,0.75,1,1}
#define COLOR_DIMGRAY           {0.41,0.41,0.41,1}
#define COLOR_DIMGREY           {0.41,0.41,0.41,1}
#define COLOR_DODGERBLUE        {0.12,0.56,1,1}
#define COLOR_FIREBRICK         {0.7,0.13,0.13,1}
#define COLOR_FLORALWHITE       {1,0.98,0.94,1}
#define COLOR_FORESTGREEN       {0.13,0.55,0.13,1}
#define COLOR_FUCHSIA           {1,0,1,1}
#define COLOR_GAINSBORO         {0.86,0.86,0.86,1}
#define COLOR_GHOSTWHITE        {0.97,0.97,1,1}
#define COLOR_GOLD              {1,0.84,0,1}
#define COLOR_GOLDENROD         {0.85,0.65,0.13,1}
#define COLOR_GRAY              {0.5,0.5,0.5,1}
#define COLOR_GREY              {0.5,0.5,0.5,1}
#define COLOR_GREEN             {0,0.5,0,1}
#define COLOR_GREENYELLOW       {0.68,1,0.18,1}
#define COLOR_HONEYDEW          {0.94,1,0.94,1}
#define COLOR_HOTPINK           {1,0.41,0.71,1}
#define COLOR_INDIANRED         {0.8,0.36,0.36,1}
#define COLOR_INDIGO            {0.29,0,0.51,1}
#define COLOR_IVORY             {1,1,0.94,1}
#define COLOR_KHAKI             {0.94,0.9,0.55,1}
#define COLOR_LAVENDER          {0.9,0.9,0.98,1}
#define COLOR_LAVENDERBLUSH     {1,0.94,0.96,1}
#define COLOR_LAWNGREEN         {0.49,0.99,0,1}
#define COLOR_LEMONCHIFFON      {1,0.98,0.8,1}
#define COLOR_LIGHTBLUE         {0.68,0.85,0.9,1}
#define COLOR_LIGHTCORAL        {0.94,0.5,0.5,1}
#define COLOR_LIGHTCYAN         {0.88,1,1,1}
#define COLOR_LIGHTGOLDENROD    {0.98,0.98,0.82,1}
#define COLOR_LIGHTGRAY         {0.83,0.83,0.83,1}
#define COLOR_LIGHTGREY         {0.83,0.83,0.83,1}
#define COLOR_LIGHTGREEN        {0.56,0.93,0.56,1}
#define COLOR_LIGHTPINK         {1,0.71,0.76,1}
#define COLOR_LIGHTSALMON       {1,0.63,0.48,1}
#define COLOR_LIGHTSEAGREEN     {0.13,0.7,0.67,1}
#define COLOR_LIGHTSKYBLUE      {0.53,0.81,0.98,1}
#define COLOR_LIGHTSLATEGRAY    {0.47,0.53,0.6,1}
#define COLOR_LIGHTSLATEGREY    {0.47,0.53,0.6,1}
#define COLOR_LIGHTSTEELBLUE    {0.69,0.77,0.87,1}
#define COLOR_LIGHTYELLOW       {1,1,0.88,1}
#define COLOR_LIME              {0,1,0,1}
#define COLOR_LIMEGREEN         {0.2,0.8,0.2,1}
#define COLOR_LINEN             {0.98,0.94,0.9,1}
#define COLOR_MAGENTA           {1,0,1,1}
#define COLOR_MAROON            {0.5,0,0,1}
#define COLOR_MEDIUMAQUAMARINE  {0.4,0.8,0.67,1}
#define COLOR_MEDIUMBLUE        {0,0,0.8,1}
#define COLOR_MEDIUMORCHID      {0.73,0.33,0.83,1}
#define COLOR_MEDIUMPURPLE      {0.58,0.44,0.86,1}
#define COLOR_MEDIUMSEAGREEN    {0.24,0.7,0.44,1}
#define COLOR_MEDIUMSLATEBLUE   {0.48,0.41,0.93,1}
#define COLOR_MEDIUMSPRINGGREEN {0,0.98,0.6,1}
#define COLOR_MEDIUMTURQUOISE   {0.28,0.82,0.8,1}
#define COLOR_MEDIUMVIOLETRED   {0.78,0.08,0.52,1}
#define COLOR_MIDNIGHTBLUE      {0.1,0.1,0.44,1}
#define COLOR_MINTCREAM         {0.96,1,0.98,1}
#define COLOR_MISTYROSE         {1,0.89,0.88,1}
#define COLOR_MOCCASIN          {1,0.89,0.71,1}
#define COLOR_NAVAJOWHITE       {1,0.87,0.68,1}
#define COLOR_NAVY              {0,0,0.5,1}
#define COLOR_OLDLACE           {0.99,0.96,0.9,1}
#define COLOR_OLIVE             {0.5,0.5,0,1}
#define COLOR_OLIVEDRAB         {0.42,0.56,0.14,1}
#define COLOR_ORANGE            {1,0.65,0,1}
#define COLOR_ORANGERED         {1,0.27,0,1}
#define COLOR_ORCHID            {0.85,0.44,0.84,1}
#define COLOR_PALEGOLDENROD     {0.93,0.91,0.67,1}
#define COLOR_PALEGREEN         {0.6,0.98,0.6,1}
#define COLOR_PALETURQUOISE     {0.69,0.93,0.93,1}
#define COLOR_PALEVIOLETRED     {0.86,0.44,0.58,1}
#define COLOR_PAPAYAWHIP        {1,0.94,0.84,1}
#define COLOR_PEACHPUFF         {1,0.85,0.73,1}
#define COLOR_PERU              {0.8,0.52,0.25,1}
#define COLOR_PINK              {1,0.75,0.8,1}
#define COLOR_PLUM              {0.87,0.63,0.87,1}
#define COLOR_POWDERBLUE        {0.69,0.88,0.9,1}
#define COLOR_PURPLE            {0.5,0,0.5,1}
#define COLOR_RED               {1,0,0,1}
#define COLOR_ROSYBROWN         {0.74,0.56,0.56,1}
#define COLOR_ROYALBLUE         {0.25,0.41,0.88,1}
#define COLOR_SADDLEBROWN       {0.55,0.27,0.07,1}
#define COLOR_SALMON            {0.98,0.5,0.45,1}
#define COLOR_SANDYBROWN        {0.96,0.64,0.38,1}
#define COLOR_SEAGREEN          {0.18,0.55,0.34,1}
#define COLOR_SEASHELL          {1,0.96,0.93,1}
#define COLOR_SIENNA            {0.63,0.32,0.18,1}
#define COLOR_SILVER            {0.75,0.75,0.75,1}
#define COLOR_SKYBLUE           {0.53,0.81,0.92,1}
#define COLOR_SLATEBLUE         {0.42,0.35,0.8,1}
#define COLOR_SLATEGRAY         {0.44,0.5,0.56,1}
#define COLOR_SLATEGREY         {0.44,0.5,0.56,1}
#define COLOR_SNOW              {1,0.98,0.98,1}
#define COLOR_SPRINGGREEN       {0,1,0.5,1}
#define COLOR_STEELBLUE         {0.27,0.51,0.71,1}
#define COLOR_TAN               {0.82,0.71,0.55,1}
#define COLOR_TEAL              {0,0.5,0.5,1}
#define COLOR_THISTLE           {0.85,0.75,0.85,1}
#define COLOR_TOMATO            {1,0.39,0.28,1}
#define COLOR_TURQUOISE         {0.25,0.88,0.82,1}
#define COLOR_VIOLET            {0.93,0.51,0.93,1}
#define COLOR_WHEAT             {0.96,0.87,0.7,1}
#define COLOR_WHITE             {1,1,1,1}
#define COLOR_WHITESMOKE        {0.96,0.96,0.96,1}
#define COLOR_YELLOW            {1,1,0,1}
#define COLOR_YELLOWGREEN       {0.6,0.8,0.2,1}


#define COLOR_PART_BLACK        {0,0,0,0.75}
#define COLOR_PART_BLUE         {0,0,1,0.75}
#define COLOR_PART_CYAN         {0,1,1,0.75}
#define COLOR_PART_GRAY         {0.5,0.5,0.5,0.75}
#define COLOR_PART_GREY         {0.5,0.5,0.5,0.75}
#define COLOR_PART_GREEN        {0,1,0,0.75}
#define COLOR_PART_MAGENTA      {1,0,1,0.75}
#define COLOR_PART_RED          {1,0,0,0.75}
#define COLOR_PART_YELLOW       {1,1,0,0.75}
#define COLOR_PART_WHITE        {1,1,1,0.75}
#define COLOR_PART_DIRT         {0.33,0.30,0.20,0.75}

#define COLOR_HALF_BLACK        {0,0,0,0.5}
#define COLOR_HALF_BLUE         {0,0,1,0.5}
#define COLOR_HALF_CYAN         {0,1,1,0.5}
#define COLOR_HALF_GRAY         {0.5,0.5,0.5,0.5}
#define COLOR_HALF_GREY         {0.5,0.5,0.5,0.5}
#define COLOR_HALF_GREEN        {0,1,0,0.5}
#define COLOR_HALF_MAGENTA      {1,0,1,0.5}
#define COLOR_HALF_RED          {1,0,0,0.5}
#define COLOR_HALF_YELLOW       {1,1,0,0.5}
#define COLOR_HALF_WHITE        {1,1,1,0.5}

#define COLOR_TRANSPARENT       {0,0,0,0}


#define ARRAY_PART_BLACK        [0,0,0,0.75]
#define ARRAY_PART_BLUE         [0,0,1,0.75]
#define ARRAY_PART_CYAN         [0,1,1,0.75]
#define ARRAY_PART_GRAY         [0.5,0.5,0.5,0.75]
#define ARRAY_PART_GREY         [0.5,0.5,0.5,0.75]
#define ARRAY_PART_GREEN        [0,1,0,0.75]
#define ARRAY_PART_MAGENTA      [1,0,1,0.75]
#define ARRAY_PART_RED          [1,0,0,0.75]
#define ARRAY_PART_YELLOW       [1,1,0,0.75]
#define ARRAY_PART_WHITE        [1,1,1,0.75]
#define ARRAY_PART_DIRT         [0.33,0.30,0.20,0.75]

#define ARRAY_HALF_BLACK        [0,0,0,0.5]
#define ARRAY_HALF_BLUE         [0,0,1,0.5]
#define ARRAY_HALF_CYAN         [0,1,1,0.5]
#define ARRAY_HALF_GRAY         [0.5,0.5,0.5,0.5]
#define ARRAY_HALF_GREY         [0.5,0.5,0.5,0.5]
#define ARRAY_HALF_GREEN        [0,1,0,0.5]
#define ARRAY_HALF_MAGENTA      [1,0,1,0.5]
#define ARRAY_HALF_RED          [1,0,0,0.5]
#define ARRAY_HALF_YELLOW       [1,1,0,0.5]
#define ARRAY_HALF_WHITE        [1,1,1,0.5]
#define ARRAY_HALF_DIRT         [0.33,0.30,0.20,0.5]

#define ARRAY_TRANSPARENT       [0,0,0,0]

Share this post


Link to post
Share on other sites

awesome share ... I'm always back and forth in the wiki , this will save a lot of time...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×