// =======================
// BATTLEZONE COLOR EDITOR
// =======================
//
//   ============================================
//   Oiled, polished and pinstriped by RocketmanX
//   ============================================
// |    Added RGB Sliders and Quick Pick Palette   |
//  -----------------------------------------------
//
//
// CREATE COLOR EDITOR VARIABLES
//
ConfigureVarSys()
{
	CreateInteger("editor.color.shape.value", 0);
	SetIntegerRange("editor.color.shape.value", 0, 3);
	CreateInteger("editor.color.mode.value", 4);
	SetIntegerRange("editor.color.mode.value", 0, 12);
}
       
//////////////////////////////////////////////
// CREATE FOREGROUND QUICK PICK PALETTE WINDOW
//////////////////////////////////////////////

CreateControl("QPFORE", "WINDOW")
{

	Geometry("RIGHT", "TOP");
	Pos(0, 10);
	Size(150, 300);
	ColorGroup("TVBACK1");

	CreateControl("QPFORETitle", "STATIC")
	{
		ColorGroup("WHITE");
		Pos(0, 2);
		Size(150, 10);
		Font("Small");
		JustifyText("CENTRE");
		Text("QP Palette");
		Style("TRANSPARENT");
	}

/////////////////////////////////////////////
// CREATE FOREGROUND COLOR QUICK PICK PALETTE
/////////////////////////////////////////////

	CreateControl("RXPF001", "BUTTON")
	{
	    ColorGroup("RXPF001");
		Pos(70, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF001");
	}

	CreateControl("RXPF002", "BUTTON")
	{
	    ColorGroup("RXPF002");
		Pos(80, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF002");
    }

	CreateControl("RXPF003", "BUTTON")
	{
	    ColorGroup("RXPF003");
		Pos(90, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF003");
    }

    CreateControl("RXPF004", "BUTTON")
	{
	    ColorGroup("RXPF004");
		Pos(100, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF004");
    }

    CreateControl("RXPF005", "BUTTON")
	{
	    ColorGroup("RXPF005");
		Pos(110, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF005");
    }

    CreateControl("RXPF006", "BUTTON")
	{
	    ColorGroup("RXPF006");
		Pos(120, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF006");
    }

    CreateControl("RXPF007", "BUTTON")
	{
	    ColorGroup("RXPF007");
		Pos(130, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF007");
    }
    
////////
	CreateControl("RXPF008", "BUTTON")
	{
	    ColorGroup("RXPF008");
		Pos(60, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF008");
    }

    CreateControl("RXPF009", "BUTTON")
	{
	    ColorGroup("RXPF009");
		Pos(50, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF009");
    }

    CreateControl("RXPF010", "BUTTON")
	{
	    ColorGroup("RXPF010");
		Pos(40, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF010");
    }

    CreateControl("RXPF011", "BUTTON")
	{
	    ColorGroup("RXPF011");
		Pos(30, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF011");
    }

    CreateControl("RXPF012", "BUTTON")
	{
	    ColorGroup("RXPF012");
		Pos(20, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF012");
    }

    CreateControl("RXPF013", "BUTTON")
	{
	    ColorGroup("RXPF013");
		Pos(10, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF013");
    }

	CreateControl("RXPF014", "BUTTON")
	{
	    ColorGroup("RXPF014");
		Pos(75, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF014");
    }

	CreateControl("RXPF015", "BUTTON")
	{
	    ColorGroup("RXPF015");
		Pos(85, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF015");
    }

    CreateControl("RXPF016", "BUTTON")
	{
	    ColorGroup("RXPF016");
		Pos(95, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF016");
    }

    CreateControl("RXPF017", "BUTTON")
	{
	    ColorGroup("RXPF017");
		Pos(105, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF017");
    }

    CreateControl("RXPF018", "BUTTON")
	{
	    ColorGroup("RXPF018");
		Pos(115, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF018");
    }

    CreateControl("RXPF019", "BUTTON")
	{
	    ColorGroup("RXPF019");
		Pos(125, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF019");
    }

    CreateControl("RXPF020", "BUTTON")
	{
	    ColorGroup("RXPF020");
		Pos(65, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF020");
    }

    CreateControl("RXPF021", "BUTTON")
	{
	    ColorGroup("RXPF021");
		Pos(55, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF021");
    }

    CreateControl("RXPF022", "BUTTON")
	{
	    ColorGroup("RXPF022");
		Pos(45, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF022");
    }

    CreateControl("RXPF023", "BUTTON")
	{
	    ColorGroup("RXPF023");
		Pos(35, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF023");
    }

    CreateControl("RXPF024", "BUTTON")
	{
	    ColorGroup("RXPF024");
		Pos(25, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF024");
    }

	CreateControl("RXPF025", "BUTTON")
	{
	    ColorGroup("RXPF025");
		Pos(15, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF025");
    }
//
	CreateControl("RXPF025b", "BUTTON")
	{
	    ColorGroup("RXPF025b");
		Pos(125, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF025b");
    }

	CreateControl("RXPF026", "BUTTON")
	{
	    ColorGroup("RXPF026");
		Pos(115, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF026");
    }

	CreateControl("RXPF027", "BUTTON")
	{
	    ColorGroup("RXPF027");
		Pos(105, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF027");
    }

	CreateControl("RXPF028", "BUTTON")
	{
	    ColorGroup("RXPF028");
		Pos(95, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF028");
    }

	CreateControl("RXPF029", "BUTTON")
	{
	    ColorGroup("RXPF029");
		Pos(85, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF029");
    }

	CreateControl("RXPF030", "BUTTON")
	{
	    ColorGroup("RXPF030");
		Pos(75, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF030");
    }

	CreateControl("RXPF031", "BUTTON")
	{
	    ColorGroup("RXPF031");
		Pos(65, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF031");
    }

	CreateControl("RXPF032", "BUTTON")
	{
	    ColorGroup("RXPF032");
		Pos(55, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF032");
    }

	CreateControl("RXPF033", "BUTTON")
	{
	    ColorGroup("RXPF033");
		Pos(45, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF033");
    }

	CreateControl("RXPF034", "BUTTON")
	{
	    ColorGroup("RXPF034");
		Pos(35, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF034");
    }

	CreateControl("RXPF035", "BUTTON")
	{
	    ColorGroup("RXPF035");
		Pos(25, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF035");
    }

	CreateControl("RXPF036", "BUTTON")
	{
	    ColorGroup("RXPF036");
		Pos(15, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF036");
    }
//
	CreateControl("RXPF037", "BUTTON")
	{
	    ColorGroup("RXPF037");
		Pos(120, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF037");
    }

	CreateControl("RXPF038", "BUTTON")
	{
	    ColorGroup("RXPF038");
		Pos(110, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF038");
    }

	CreateControl("RXPF039", "BUTTON")
	{
	    ColorGroup("RXPF039");
		Pos(100, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF039");
    }

	CreateControl("RXPF040", "BUTTON")
	{
	    ColorGroup("RXPF040");
		Pos(90, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF040");
    }

	CreateControl("RXPF041", "BUTTON")
	{
	    ColorGroup("RXPF041");
		Pos(80, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF041");
    }

	CreateControl("RXPF042", "BUTTON")
	{
	    ColorGroup("RXPF042");
		Pos(70, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF042");
    }

	CreateControl("RXPF043", "BUTTON")
	{
	    ColorGroup("RXPF043");
		Pos(60, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF043");
    }

	CreateControl("RXPF044", "BUTTON")
	{
	    ColorGroup("RXPF044");
		Pos(50, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF044");
    }

	CreateControl("RXPF045", "BUTTON")
	{
	    ColorGroup("RXPF045");
		Pos(40, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF045");
    }

	CreateControl("RXPF046", "BUTTON")
	{
	    ColorGroup("RXPF046");
		Pos(30, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF046");
    }

	CreateControl("RXPF047", "BUTTON")
	{
	    ColorGroup("RXPF047");
		Pos(20, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF047");
    }
////
	CreateControl("RXPF048", "BUTTON")
	{
	    ColorGroup("RXPF048");
		Pos(115, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF048");
    }

	CreateControl("RXPF049", "BUTTON")
	{
	    ColorGroup("RXPF049");
		Pos(105, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF049");
    }

	CreateControl("RXPF050", "BUTTON")
	{
	    ColorGroup("RXPF050");
		Pos(95, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF050");
    }

	CreateControl("RXPF051", "BUTTON")
	{
	    ColorGroup("RXPF051");
		Pos(85, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF051");
    }

	CreateControl("RXPF052", "BUTTON")
	{
	    ColorGroup("RXPF052");
		Pos(75, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF052");
    }

	CreateControl("RXPF053", "BUTTON")
	{
	    ColorGroup("RXPF053");
		Pos(65, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF053");
    }

	CreateControl("RXPF054", "BUTTON")
	{
	    ColorGroup("RXPF054");
		Pos(55, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF054");
    }

	CreateControl("RXPF055", "BUTTON")
	{
	    ColorGroup("RXPF055");
		Pos(45, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF055");
    }

	CreateControl("RXPF056", "BUTTON")
	{
	    ColorGroup("RXPF056");
		Pos(35, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF056");
    }

	CreateControl("RXPF057", "BUTTON")
	{
	    ColorGroup("RXPF057");
		Pos(25, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF057");
    }
////
	CreateControl("RXPF058", "BUTTON")
	{
	    ColorGroup("RXPF058");
		Pos(110, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF058");
    }

	CreateControl("RXPF059", "BUTTON")
	{
	    ColorGroup("RXPF059");
		Pos(100, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF059");
    }

	CreateControl("RXPF060", "BUTTON")
	{
	    ColorGroup("RXPF060");
		Pos(90, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF060");
    }

	CreateControl("RXPF061", "BUTTON")
	{
	    ColorGroup("RXPF061");
		Pos(80, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF061");
    }

	CreateControl("RXPF062", "BUTTON")
	{
	    ColorGroup("RXPF062");
		Pos(70, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF062");
    }

	CreateControl("RXPF063", "BUTTON")
	{
	    ColorGroup("RXPF063");
		Pos(60, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF063");
    }

	CreateControl("RXPF064", "BUTTON")
	{
	    ColorGroup("RXPF064");
		Pos(50, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF064");
    }

	CreateControl("RXPF065", "BUTTON")
	{
	    ColorGroup("RXPF065");
		Pos(40, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF065");
    }

	CreateControl("RXPF066", "BUTTON")
	{
	    ColorGroup("RXPF066");
		Pos(30, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF066");
    }
/////////
	CreateControl("RXPF067", "BUTTON")
	{
	    ColorGroup("RXPF067");
		Pos(105, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF067");
    }

	CreateControl("RXPF068", "BUTTON")
	{
	    ColorGroup("RXPF068");
		Pos(95, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF068");
    }

	CreateControl("RXPF069", "BUTTON")
	{
	    ColorGroup("RXPF069");
		Pos(85, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF069");
    }

	CreateControl("RXPF070", "BUTTON")
	{
	    ColorGroup("RXPF070");
		Pos(75, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF070");
    }

	CreateControl("RXPF071", "BUTTON")
	{
	    ColorGroup("RXPF071");
		Pos(65, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF071");
    }

	CreateControl("RXPF072", "BUTTON")
	{
	    ColorGroup("RXPF072");
		Pos(55, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF072");
    }

	CreateControl("RXPF073", "BUTTON")
	{
	    ColorGroup("RXPF073");
		Pos(45, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF073");
    }

	CreateControl("RXPF074", "BUTTON")
	{
	    ColorGroup("RXPF074");
		Pos(35, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF074");
    }
/////////
	CreateControl("RXPF075", "BUTTON")
	{
	    ColorGroup("RXPF075");
		Pos(100, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF075");
    }

	CreateControl("RXPF076", "BUTTON")
	{
	    ColorGroup("RXPF076");
		Pos(90, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF076");
    }

	CreateControl("RXPF077", "BUTTON")
	{
	    ColorGroup("RXPF077");
		Pos(80, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF077");
    }

	CreateControl("RXPF078", "BUTTON")
	{
	    ColorGroup("RXPF078");
		Pos(70, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF078");
    }

	CreateControl("RXPF079", "BUTTON")
	{
	    ColorGroup("RXPF079");
		Pos(60, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF079");
    }

	CreateControl("RXPF080", "BUTTON")
	{
	    ColorGroup("RXPF080");
		Pos(50, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF080");
    }

	CreateControl("RXPF081", "BUTTON")
	{
	    ColorGroup("RXPF081");
		Pos(40, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF081");
    }
/////
	CreateControl("RXPF082", "BUTTON")
	{
	    ColorGroup("RXPF082");
		Pos(120, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF082");
    }
	CreateControl("RXPF083", "BUTTON")
	{
	    ColorGroup("RXPF083");
		Pos(110, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF083");
    }

	CreateControl("RXPF084", "BUTTON")
	{
	    ColorGroup("RXPF084");
		Pos(100, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF084");
    }

	CreateControl("RXPF085", "BUTTON")
	{
	    ColorGroup("RXPF085");
		Pos(90, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF085");
    }

	CreateControl("RXPF086", "BUTTON")
	{
	    ColorGroup("RXPF086");
		Pos(80, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF086");
    }

	CreateControl("RXPF087", "BUTTON")
	{
	    ColorGroup("RXPF087");
		Pos(70, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF087");
    }

	CreateControl("RXPF088", "BUTTON")
	{
	    ColorGroup("RXPF088");
		Pos(60, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF088");
    }

	CreateControl("RXPF089", "BUTTON")
	{
	    ColorGroup("RXPF089");
		Pos(50, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF089");
    }

	CreateControl("RXPF090", "BUTTON")
	{
	    ColorGroup("RXPF090");
		Pos(40, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF090");
    }

	CreateControl("RXPF091", "BUTTON")
	{
	    ColorGroup("RXPF091");
		Pos(30, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF091");
    }

	CreateControl("RXPF092", "BUTTON")
	{
	    ColorGroup("RXPF092");
		Pos(20, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF092");
    }
////////
	CreateControl("RXPF093", "BUTTON")
	{
	    ColorGroup("RXPF093");
		Pos(115, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF093");
    }

	CreateControl("RXPF094", "BUTTON")
	{
	    ColorGroup("RXPF094");
		Pos(105, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF094");
    }

	CreateControl("RXPF095", "BUTTON")
	{
	    ColorGroup("RXPF095");
		Pos(95, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF095");
    }

	CreateControl("RXPF096", "BUTTON")
	{
	    ColorGroup("RXPF096");
		Pos(85, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF096");
    }

	CreateControl("RXPF097", "BUTTON")
	{
	    ColorGroup("RXPF097");
		Pos(75, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF097");
    }

	CreateControl("RXPF098", "BUTTON")
	{
	    ColorGroup("RXPF098");
		Pos(65, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF098");
    }

	CreateControl("RXPF099", "BUTTON")
	{
	    ColorGroup("RXPF099");
		Pos(55, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF099");
    }

	CreateControl("RXPF100", "BUTTON")
	{
	    ColorGroup("RXPF100");
		Pos(45, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF100");
    }

	CreateControl("RXPF101", "BUTTON")
	{
	    ColorGroup("RXPF101");
		Pos(35, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF101");
    }

	CreateControl("RXPF102", "BUTTON")
	{
	    ColorGroup("RXPF102");
		Pos(25, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF102");
    }
////////
	CreateControl("RXPF103", "BUTTON")
	{
	    ColorGroup("RXPF103");
		Pos(110, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF103");
    }

	CreateControl("RXPF104", "BUTTON")
	{
	    ColorGroup("RXPF104");
		Pos(100, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF104");
    }

	CreateControl("RXPF105", "BUTTON")
	{
	    ColorGroup("RXPF105");
		Pos(90, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF105");
    }

	CreateControl("RXPF106", "BUTTON")
	{
	    ColorGroup("RXPF106");
		Pos(80, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF106");
    }

	CreateControl("RXPF107", "BUTTON")
	{
	    ColorGroup("RXPF107");
		Pos(70, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF107");
    }

	CreateControl("RXPF108", "BUTTON")
	{
	    ColorGroup("RXPF108");
		Pos(60, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF108");
    }

	CreateControl("RXPF109", "BUTTON")
	{
	    ColorGroup("RXPF109");
		Pos(50, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF109");
    }

	CreateControl("RXPF110", "BUTTON")
	{
	    ColorGroup("RXPF110");
		Pos(40, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF110");
    }

	CreateControl("RXPF111", "BUTTON")
	{
	    ColorGroup("RXPF111");
		Pos(30, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF111");
    }
/////////
	CreateControl("RXPF112", "BUTTON")
	{
	    ColorGroup("RXPF112");
		Pos(105, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF112");
    }

	CreateControl("RXPF113", "BUTTON")
	{
	    ColorGroup("RXPF113");
		Pos(95, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF113");
    }

	CreateControl("RXPF114", "BUTTON")
	{
	    ColorGroup("RXPF114");
		Pos(85, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF114");
    }

	CreateControl("RXPF115", "BUTTON")
	{
	    ColorGroup("RXPF115");
		Pos(75, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF115");
    }

	CreateControl("RXPF116", "BUTTON")
	{
	    ColorGroup("RXPF116");
		Pos(65, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF116");
    }

	CreateControl("RXPF117", "BUTTON")
	{
	    ColorGroup("RXPF117");
		Pos(55, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF117");
    }

	CreateControl("RXPF118", "BUTTON")
	{
	    ColorGroup("RXPF118");
		Pos(45, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF118");
    }

	CreateControl("RXPF119", "BUTTON")
	{
	    ColorGroup("RXPF119");
		Pos(35, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF119");
    }
//////////////
	CreateControl("RXPF120", "BUTTON")
	{
	    ColorGroup("RXPF120");
		Pos(100, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF120");
    }

	CreateControl("RXPF121", "BUTTON")
	{
	    ColorGroup("RXPF121");
		Pos(90, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF121");
    }

	CreateControl("RXPF122", "BUTTON")
	{
	    ColorGroup("RXPF122");
		Pos(80, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF122");
    }

	CreateControl("RXPF123", "BUTTON")
	{
	    ColorGroup("RXPF123");
		Pos(70, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF123");
    }

	CreateControl("RXPF124", "BUTTON")
	{
	    ColorGroup("RXPF124");
		Pos(60, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF124");
    }

	CreateControl("RXPF125", "BUTTON")
	{
	    ColorGroup("RXPF125");
		Pos(50, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF125");
    }

	CreateControl("RXPF126", "BUTTON")
	{
	    ColorGroup("RXPF126");
		Pos(40, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF126");
    }
////////////////
// Greys
////////////////

	CreateControl("RXPF127", "BUTTON")
	{
	    ColorGroup("RXPF127");
		Pos(134, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF127");
    }

	CreateControl("RXPF128", "BUTTON")
	{
	    ColorGroup("RXPF128");
		Pos(126, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF128");
    }

	CreateControl("RXPF129", "BUTTON")
	{
	    ColorGroup("RXPF129");
		Pos(118, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF129");
    }

	CreateControl("RXPF130", "BUTTON")
	{
	    ColorGroup("RXPF130");
		Pos(110, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF130");
    }

	CreateControl("RXPF131", "BUTTON")
	{
	    ColorGroup("RXPF131");
		Pos(102, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF131");
    }

	CreateControl("RXPF132", "BUTTON")
	{
	    ColorGroup("RXPF132");
		Pos(94, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF132");
    }

	CreateControl("RXPF133", "BUTTON")
	{
	    ColorGroup("RXPF133");
		Pos(86, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF133");
    }

	CreateControl("RXPF134", "BUTTON")
	{
	    ColorGroup("RXPF134");
		Pos(78, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF134");
    }

	CreateControl("RXPF135", "BUTTON")
	{
	    ColorGroup("RXPF135");
		Pos(70, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF135");
    }

	CreateControl("RXPF136", "BUTTON")
	{
	    ColorGroup("RXPF136");
		Pos(62, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF136");
    }

	CreateControl("RXPF137", "BUTTON")
	{
	    ColorGroup("RXPF137");
		Pos(54, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF137");
    }

	CreateControl("RXPF138", "BUTTON")
	{
	    ColorGroup("RXPF138");
		Pos(46, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF138");
    }

	CreateControl("RXPF139", "BUTTON")
	{
	    ColorGroup("RXPF139");
		Pos(38, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF139");
    }

	CreateControl("RXPF140", "BUTTON")
	{
	    ColorGroup("RXPF140");
		Pos(30, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF140");
    }

	CreateControl("RXPF141", "BUTTON")
	{
	    ColorGroup("RXPF141");
		Pos(22, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF141");
    }

	CreateControl("RXPF142", "BUTTON")
	{
	    ColorGroup("RXPF142");
		Pos(14, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPF142");
    }
	
	CreateControl("ForegroundTitle", "STATIC")
	{
	    Pos(30, 180);
		Size(80, 10);
		Font("TINY");
		JustifyText("CENTRE");
		Text("Foreground");
		Style("Transparent");
	}
    
	CreateControl("RedTitle", "STATIC")
	{
	    ColorGroup("RED");
		Pos(15, 196);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Red");
		Style("Transparent");
	}

    
	CreateControl("ForegroundRed", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(110,196);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.foreground.red");
	}

	CreateControl("ForegroundRed", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(18, 213);
		Size(119, 6);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.foreground.red");
		Style("ROLLOVER", "OUTLINE");
	}

	CreateControl("GreenTitle", "STATIC")
	{
	    ColorGroup("GREEN");
		Pos(15, 226);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Green");
		Style("Transparent");
	}

    
	CreateControl("ForegroundGreen", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(110,226);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.foreground.green");
	}

	CreateControl("ForegroundGreen", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(18, 243);
		Size(119, 6);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.foreground.green");
		Style("ROLLOVER", "OUTLINE");
	}

	CreateControl("BlueTitle", "STATIC")
	{
	    ColorGroup("Blue");
		Pos(15, 256);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Blue");
		Style("Transparent");
	}

    
	CreateControl("ForegroundBlue", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(110,256);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.foreground.blue");
	}

	CreateControl("ForegroundBlue", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(18, 273);
		Size(119, 6);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.foreground.blue");
		Style("ROLLOVER", "OUTLINE");
	}

////

    OnEvent("RXPF001")
	
	{
	    Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 255");
	}	

    OnEvent("RXPF002")
	{
	    Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 233");
		Cmd("editor.color.foreground.blue 233");
	}	
	OnEvent("RXPF003")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 160");
		Cmd("editor.color.foreground.blue 160");
	}
	OnEvent("RXPF004")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 87");
		Cmd("editor.color.foreground.blue 87");
	}
	OnEvent("RXPF005")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF006")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF007")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF008")
	{
		Cmd("editor.color.foreground.red 233");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 255");
	}
    OnEvent("RXPF009")
	{
		Cmd("editor.color.foreground.red 160");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 255");
 	}
    OnEvent("RXPF010")
	{
		Cmd("editor.color.foreground.red 87");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 255");
	}
    OnEvent("RXPF011")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 255");
	}
    OnEvent("RXPF012")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 196");
	}
    OnEvent("RXPF013")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 123");
	}
	
    OnEvent("RXPF014")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 233");
		Cmd("editor.color.foreground.blue 254");
	}
	OnEvent("RXPF015")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 160");
		Cmd("editor.color.foreground.blue 206");
	}
    OnEvent("RXPF016")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 87");
		Cmd("editor.color.foreground.blue 137");
	}
    OnEvent("RXPF017")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 66");
	}
    OnEvent("RXPF018")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 32");
	}
    OnEvent("RXPF019")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 16");
	}
    OnEvent("RXPF020")
	{
		Cmd("editor.color.foreground.red 233");
		Cmd("editor.color.foreground.green 233");
		Cmd("editor.color.foreground.blue 255");
	}
    OnEvent("RXPF021")
	{
		Cmd("editor.color.foreground.red 160");
		Cmd("editor.color.foreground.green 207");
		Cmd("editor.color.foreground.blue 255");
	}
    OnEvent("RXPF022")
	{
		Cmd("editor.color.foreground.red 87");
		Cmd("editor.color.foreground.green 201");
		Cmd("editor.color.foreground.blue 255");
	}
    OnEvent("RXPF023")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 198");
		Cmd("editor.color.foreground.blue 255");
	}
    OnEvent("RXPF024")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 160");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF025")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 105");
		Cmd("editor.color.foreground.blue 123");
	}
	OnEvent("RXPF025b")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 16");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF026")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 32");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF027")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 66");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF028")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 137");
		Cmd("editor.color.foreground.blue 87");
	}
	OnEvent("RXPF029")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 206");
		Cmd("editor.color.foreground.blue 160");
	}
	OnEvent("RXPF030")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 254");
		Cmd("editor.color.foreground.blue 233");
	}
	OnEvent("RXPF031")
	{
		Cmd("editor.color.foreground.red 233");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 233");
	}
	OnEvent("RXPF032")
	{
		Cmd("editor.color.foreground.red 160");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 207");
	}
	OnEvent("RXPF033")
	{
		Cmd("editor.color.foreground.red 87");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 201");
	}
	OnEvent("RXPF034")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 198");
	}
	OnEvent("RXPF035")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 160");
	}
	OnEvent("RXPF036")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 105");
	}
	OnEvent("RXPF037")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 37");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF038")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 75");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF039")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 130");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF040")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 199");
		Cmd("editor.color.foreground.blue 87");
	}
	OnEvent("RXPF041")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 253");
		Cmd("editor.color.foreground.blue 160");
	}
	OnEvent("RXPF042")
	{
		Cmd("editor.color.foreground.red 207");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 160");
	}
	OnEvent("RXPF043")
	{
		Cmd("editor.color.foreground.red 160");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 160");
	}
	OnEvent("RXPF044")
	{
		Cmd("editor.color.foreground.red 87");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 140");
	}
	OnEvent("RXPF045")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 134");
	}
	OnEvent("RXPF046")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 118");
	}
	OnEvent("RXPF047")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 84");
	}

/////

	OnEvent("RXPF048")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 59");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF049")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 118");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF050")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 194");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF051")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 252");
		Cmd("editor.color.foreground.blue 87");
	}
	OnEvent("RXPF052")
	{
		Cmd("editor.color.foreground.red 204");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 87");
	}
	OnEvent("RXPF053")
	{
		Cmd("editor.color.foreground.red 140");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 87");
	}
	OnEvent("RXPF054")
	{
		Cmd("editor.color.foreground.red 87");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 87");
	}
	OnEvent("RXPF055")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 70");
	}
	OnEvent("RXPF056")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 75");
	}
	OnEvent("RXPF057")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 61");
	}

/////

	OnEvent("RXPF058")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 82");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF059")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 157");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF060")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 250");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF061")
	{
		Cmd("editor.color.foreground.red 202");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF062")
	{
		Cmd("editor.color.foreground.red 134");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF063")
	{
		Cmd("editor.color.foreground.red 70");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF064")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 255");
		Cmd("editor.color.foreground.blue 14");
	}
	OnEvent("RXPF065")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 36");
	}
	OnEvent("RXPF066")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 39");
	}

//////

	OnEvent("RXPF067")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 103");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF068")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 193");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF069")
	{
		Cmd("editor.color.foreground.red 163");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF070")
	{
		Cmd("editor.color.foreground.red 121");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF071")
	{
		Cmd("editor.color.foreground.red 78");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF072")
	{
		Cmd("editor.color.foreground.red 36");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF073")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 196");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF074")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 18");
	}

////////

	OnEvent("RXPF075")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 121");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF076")
	{
		Cmd("editor.color.foreground.red 107");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF077")
	{
		Cmd("editor.color.foreground.red 86");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF078")
	{
		Cmd("editor.color.foreground.red 61");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF079")
	{
		Cmd("editor.color.foreground.red 39");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF080")
	{
		Cmd("editor.color.foreground.red 18");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF081")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 123");
		Cmd("editor.color.foreground.blue 0");
	}

///////

	OnEvent("RXPF082")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 37");
	}
	OnEvent("RXPF083")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 75");
	}
	OnEvent("RXPF084")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 130");
	}
	OnEvent("RXPF085")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 87");
		Cmd("editor.color.foreground.blue 199");
	}
	OnEvent("RXPF086")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 160");
		Cmd("editor.color.foreground.blue 253");
	}
	OnEvent("RXPF087")
	{
		Cmd("editor.color.foreground.red 207");
		Cmd("editor.color.foreground.green 160");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF088")
	{
		Cmd("editor.color.foreground.red 160");
		Cmd("editor.color.foreground.green 160");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF089")
	{
		Cmd("editor.color.foreground.red 87");
		Cmd("editor.color.foreground.green 140");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF090")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 134");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF091")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 118");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF092")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 84");
		Cmd("editor.color.foreground.blue 123");
	}

//////

	OnEvent("RXPF093")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 59");
	}
	OnEvent("RXPF094")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 118");
	}
	OnEvent("RXPF095")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 194");
	}
	OnEvent("RXPF096")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 87");
		Cmd("editor.color.foreground.blue 252");
	}
	OnEvent("RXPF097")
	{
		Cmd("editor.color.foreground.red 204");
		Cmd("editor.color.foreground.green 87");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF098")
	{
		Cmd("editor.color.foreground.red 140");
		Cmd("editor.color.foreground.green 87");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF99")
	{
		Cmd("editor.color.foreground.red 87");
		Cmd("editor.color.foreground.green 87");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF100")
	{
		Cmd("editor.color.foreground.red 140");
		Cmd("editor.color.foreground.green 70");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF101")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 75");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF102")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 61");
		Cmd("editor.color.foreground.blue 123");
	}

///////

	OnEvent("RXPF103")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 82");
	}
	OnEvent("RXPF104")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 157");
	}
	OnEvent("RXPF105")
	{
		Cmd("editor.color.foreground.red 255");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 250");
	}
	OnEvent("RXPF106")
	{
		Cmd("editor.color.foreground.red 204");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF107")
	{
		Cmd("editor.color.foreground.red 134");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF108")
	{
		Cmd("editor.color.foreground.red 70");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF109")
	{
		Cmd("editor.color.foreground.red 14");
		Cmd("editor.color.foreground.green 14");
		Cmd("editor.color.foreground.blue 255");
	}
	OnEvent("RXPF110")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 36");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF111")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 39");
		Cmd("editor.color.foreground.blue 123");
	}

////////

	OnEvent("RXPF112")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 103");
	}
	OnEvent("RXPF113")
	{
		Cmd("editor.color.foreground.red 196");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 193");
	}
	OnEvent("RXPF114")
	{
		Cmd("editor.color.foreground.red 163");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF115")
	{
		Cmd("editor.color.foreground.red 121");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF116")
	{
		Cmd("editor.color.foreground.red 78");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF117")
	{
		Cmd("editor.color.foreground.red 36");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF118")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 196");
	}
	OnEvent("RXPF119")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 18");
		Cmd("editor.color.foreground.blue 123");
	}

////////

	OnEvent("RXPF120")
	{
		Cmd("editor.color.foreground.red 123");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 121");
	}
	OnEvent("RXPF121")
	{
		Cmd("editor.color.foreground.red 107");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 123");
	}
	OnEvent("RXPF122")
	{
		Cmd("editor.color.foreground.red 86");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 123");
	}
	OnEvent("RXPF123")
	{
		Cmd("editor.color.foreground.red 61");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 123");
	}
	OnEvent("RXPF124")
	{
		Cmd("editor.color.foreground.red 39");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 123");
	}
	OnEvent("RXPF125")
	{
		Cmd("editor.color.foreground.red 18");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 123");
	}
	OnEvent("RXPF126")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 123");
	}

///////
//Greys
///////

	OnEvent("RXPF127")
	{
		Cmd("editor.color.foreground.red 0");
		Cmd("editor.color.foreground.green 0");
		Cmd("editor.color.foreground.blue 0");
	}
	OnEvent("RXPF128")
	{
		Cmd("editor.color.foreground.red 30");
		Cmd("editor.color.foreground.green 30");
		Cmd("editor.color.foreground.blue 30");
	}
	OnEvent("RXPF129")
	{
		Cmd("editor.color.foreground.red 45");
		Cmd("editor.color.foreground.green 45");
		Cmd("editor.color.foreground.blue 45");
	}
	OnEvent("RXPF130")
	{
		Cmd("editor.color.foreground.red 60");
		Cmd("editor.color.foreground.green 60");
		Cmd("editor.color.foreground.blue 60");
	}
	OnEvent("RXPF131")
	{
		Cmd("editor.color.foreground.red 75");
		Cmd("editor.color.foreground.green 75");
		Cmd("editor.color.foreground.blue 75");
	}
	OnEvent("RXPF132")
	{
		Cmd("editor.color.foreground.red 90");
		Cmd("editor.color.foreground.green 90");
		Cmd("editor.color.foreground.blue 90");
	}
	OnEvent("RXPF133")
	{
		Cmd("editor.color.foreground.red 105");
		Cmd("editor.color.foreground.green 105");
		Cmd("editor.color.foreground.blue 105");
	}
	OnEvent("RXPF134")
	{
		Cmd("editor.color.foreground.red 120");
		Cmd("editor.color.foreground.green 120");
		Cmd("editor.color.foreground.blue 120");
	}
	OnEvent("RXPF135")
	{
		Cmd("editor.color.foreground.red 135");
		Cmd("editor.color.foreground.green 135");
		Cmd("editor.color.foreground.blue 135");
	}
	OnEvent("RXPF136")
	{
		Cmd("editor.color.foreground.red 150");
		Cmd("editor.color.foreground.green 150");
		Cmd("editor.color.foreground.blue 150");
	}
	OnEvent("RXPF137")
	{
		Cmd("editor.color.foreground.red 165");
		Cmd("editor.color.foreground.green 165");
		Cmd("editor.color.foreground.blue 165");
	}
	OnEvent("RXPF138")
	{
		Cmd("editor.color.foreground.red 180");
		Cmd("editor.color.foreground.green 180");
		Cmd("editor.color.foreground.blue 180");
	}
	OnEvent("RXPF139")
	{
		Cmd("editor.color.foreground.red 195");
		Cmd("editor.color.foreground.green 195");
		Cmd("editor.color.foreground.blue 195");
	}
	OnEvent("RXPF140")
	{
		Cmd("editor.color.foreground.red 210");
		Cmd("editor.color.foreground.green 210");
		Cmd("editor.color.foreground.blue 210");
	}
	OnEvent("RXPF141")
	{
		Cmd("editor.color.foreground.red 225");
		Cmd("editor.color.foreground.green 225");
		Cmd("editor.color.foreground.blue 225");
	}
	OnEvent("RXPF142")
	{
		Cmd("editor.color.foreground.red 240");
		Cmd("editor.color.foreground.green 240");
		Cmd("editor.color.foreground.blue 240");
	}
     
}

//////////////////////////////////////////////
// CREATE BACKGROUND QUICK PICK PALETTE WINDOW
//////////////////////////////////////////////

CreateControl("QPBACK", "WINDOW")
{

	Geometry("RIGHT", "TOP");
	Pos(0, 10);
	Size(150, 300);
	ColorGroup("TVBACK1");

	CreateControl("QPBACKTitle", "STATIC")
	{
		ColorGroup("WHITE");
		Pos(0, 2);
		Size(150, 10);
		Font("Small");
		JustifyText("CENTRE");
		Text("QP Palette");
		Style("TRANSPARENT");
	}

/////////////////////////////////////////////
// CREATE BACKGROUND COLOR QUICK PICK PALETTE
/////////////////////////////////////////////

    CreateControl("RXPB001", "BUTTON")
	{
	    ColorGroup("RXPF001");
		Pos(70, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB001");
	}

	CreateControl("RXPB002", "BUTTON")
	{
	    ColorGroup("RXPF002");
		Pos(80, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB002");
    }

	CreateControl("RXPB003", "BUTTON")
	{
	    ColorGroup("RXPF003");
		Pos(90, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB003");
    }

    CreateControl("RXPB004", "BUTTON")
	{
	    ColorGroup("RXPF004");
		Pos(100, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB004");
    }

    CreateControl("RXPB005", "BUTTON")
	{
	    ColorGroup("RXPF005");
		Pos(110, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB005");
    }

    CreateControl("RXPB006", "BUTTON")
	{
	    ColorGroup("RXPF006");
		Pos(120, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB006");
    }

    CreateControl("RXPB007", "BUTTON")
	{
	    ColorGroup("RXPF007");
		Pos(130, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB007");
    }
    
////////

	CreateControl("RXPB008", "BUTTON")
	{
	    ColorGroup("RXPF008");
		Pos(60, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB008");
    }

    CreateControl("RXPB009", "BUTTON")
	{
	    ColorGroup("RXPF009");
		Pos(50, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB009");
    }

    CreateControl("RXPB010", "BUTTON")
	{
	    ColorGroup("RXPF010");
		Pos(40, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB010");
    }

    CreateControl("RXPB011", "BUTTON")
	{
	    ColorGroup("RXPF011");
		Pos(30, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB011");
    }

    CreateControl("RXPB012", "BUTTON")
	{
	    ColorGroup("RXPF012");
		Pos(20, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB012");
    }

    CreateControl("RXPB013", "BUTTON")
	{
	    ColorGroup("RXPF013");
		Pos(10, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB013");
    }

	CreateControl("RXPB014", "BUTTON")
	{
	    ColorGroup("RXPF014");
		Pos(75, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB014");
    }

	CreateControl("RXPB015", "BUTTON")
	{
	    ColorGroup("RXPF015");
		Pos(85, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB015");
    }

    CreateControl("RXPB016", "BUTTON")
	{
	    ColorGroup("RXPF016");
		Pos(95, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB016");
    }

    CreateControl("RXPB017", "BUTTON")
	{
	    ColorGroup("RXPF017");
		Pos(105, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB017");
    }

    CreateControl("RXPB018", "BUTTON")
	{
	    ColorGroup("RXPF018");
		Pos(115, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB018");
    }

    CreateControl("RXPB019", "BUTTON")
	{
	    ColorGroup("RXPF019");
		Pos(125, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB019");
    }

    CreateControl("RXPB020", "BUTTON")
	{
	    ColorGroup("RXPF020");
		Pos(65, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB020");
    }

    CreateControl("RXPB021", "BUTTON")
	{
	    ColorGroup("RXPF021");
		Pos(55, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB021");
    }

    CreateControl("RXPB022", "BUTTON")
	{
	    ColorGroup("RXPF022");
		Pos(45, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB022");
    }

    CreateControl("RXPB023", "BUTTON")
	{
	    ColorGroup("RXPF023");
		Pos(35, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB023");
    }

    CreateControl("RXPB024", "BUTTON")
	{
	    ColorGroup("RXPF024");
		Pos(25, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB024");
    }

	CreateControl("RXPB025", "BUTTON")
	{
	    ColorGroup("RXPF025");
		Pos(15, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB025");
    }

//

	CreateControl("RXPB025b", "BUTTON")
	{
	    ColorGroup("RXPF025b");
		Pos(125, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB025b");
    }

	CreateControl("RXPB026", "BUTTON")
	{
	    ColorGroup("RXPF026");
		Pos(115, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB026");
    }

	CreateControl("RXPB027", "BUTTON")
	{
	    ColorGroup("RXPF027");
		Pos(105, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB027");
    }

	CreateControl("RXPB028", "BUTTON")
	{
	    ColorGroup("RXPF028");
		Pos(95, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB028");
    }

	CreateControl("RXPB029", "BUTTON")
	{
	    ColorGroup("RXPF029");
		Pos(85, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB029");
    }

	CreateControl("RXPB030", "BUTTON")
	{
	    ColorGroup("RXPF030");
		Pos(75, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB030");
    }

	CreateControl("RXPB031", "BUTTON")
	{
	    ColorGroup("RXPF031");
		Pos(65, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB031");
    }

	CreateControl("RXPB032", "BUTTON")
	{
	    ColorGroup("RXPF032");
		Pos(55, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB032");
    }

	CreateControl("RXPB033", "BUTTON")
	{
	    ColorGroup("RXPF033");
		Pos(45, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB033");
    }

	CreateControl("RXPB034", "BUTTON")
	{
	    ColorGroup("RXPF034");
		Pos(35, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB034");
    }

	CreateControl("RXPB035", "BUTTON")
	{
	    ColorGroup("RXPF035");
		Pos(25, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB035");
    }

	CreateControl("RXPB036", "BUTTON")
	{
	    ColorGroup("RXPF036");
		Pos(15, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB036");
    }

//

	CreateControl("RXPB037", "BUTTON")
	{
	    ColorGroup("RXPF037");
		Pos(120, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB037");
    }

	CreateControl("RXPB038", "BUTTON")
	{
	    ColorGroup("RXPF038");
		Pos(110, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB038");
    }

	CreateControl("RXPB039", "BUTTON")
	{
	    ColorGroup("RXPF039");
		Pos(100, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB039");
    }

	CreateControl("RXPB040", "BUTTON")
	{
	    ColorGroup("RXPF040");
		Pos(90, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB040");
    }

	CreateControl("RXPB041", "BUTTON")
	{
	    ColorGroup("RXPF041");
		Pos(80, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB041");
    }

	CreateControl("RXPB042", "BUTTON")
	{
	    ColorGroup("RXPF042");
		Pos(70, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB042");
    }

	CreateControl("RXPB043", "BUTTON")
	{
	    ColorGroup("RXPF043");
		Pos(60, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB043");
    }

	CreateControl("RXPB044", "BUTTON")
	{
	    ColorGroup("RXPF044");
		Pos(50, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB044");
    }

	CreateControl("RXPB045", "BUTTON")
	{
	    ColorGroup("RXPF045");
		Pos(40, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB045");
    }

	CreateControl("RXPB046", "BUTTON")
	{
	    ColorGroup("RXPF046");
		Pos(30, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB046");
    }

	CreateControl("RXPB047", "BUTTON")
	{
	    ColorGroup("RXPF047");
		Pos(20, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB047");
    }

////

	CreateControl("RXPB048", "BUTTON")
	{
	    ColorGroup("RXPF048");
		Pos(115, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB048");
    }

	CreateControl("RXPB049", "BUTTON")
	{
	    ColorGroup("RXPF049");
		Pos(105, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB049");
    }

	CreateControl("RXPB050", "BUTTON")
	{
	    ColorGroup("RXPF050");
		Pos(95, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB050");
    }

	CreateControl("RXPB051", "BUTTON")
	{
	    ColorGroup("RXPF051");
		Pos(85, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB051");
    }

	CreateControl("RXPB052", "BUTTON")
	{
	    ColorGroup("RXPF052");
		Pos(75, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB052");
    }

	CreateControl("RXPB053", "BUTTON")
	{
	    ColorGroup("RXPF053");
		Pos(65, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB053");
    }

	CreateControl("RXPB054", "BUTTON")
	{
	    ColorGroup("RXPF054");
		Pos(55, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB054");
    }

	CreateControl("RXPB055", "BUTTON")
	{
	    ColorGroup("RXPF055");
		Pos(45, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB055");
    }

	CreateControl("RXPB056", "BUTTON")
	{
	    ColorGroup("RXPF056");
		Pos(35, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB056");
    }

	CreateControl("RXPB057", "BUTTON")
	{
	    ColorGroup("RXPF057");
		Pos(25, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB057");
    }

////

	CreateControl("RXPB058", "BUTTON")
	{
	    ColorGroup("RXPF058");
		Pos(110, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB058");
    }

	CreateControl("RXPB059", "BUTTON")
	{
	    ColorGroup("RXPF059");
		Pos(100, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB059");
    }

	CreateControl("RXPB060", "BUTTON")
	{
	    ColorGroup("RXPF060");
		Pos(90, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB060");
    }

	CreateControl("RXPB061", "BUTTON")
	{
	    ColorGroup("RXPF061");
		Pos(80, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB061");
    }

	CreateControl("RXPB062", "BUTTON")
	{
	    ColorGroup("RXPF062");
		Pos(70, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB062");
    }

	CreateControl("RXPB063", "BUTTON")
	{
	    ColorGroup("RXPF063");
		Pos(60, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB063");
    }

	CreateControl("RXPB064", "BUTTON")
	{
	    ColorGroup("RXPF064");
		Pos(50, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB064");
    }

	CreateControl("RXPB065", "BUTTON")
	{
	    ColorGroup("RXPF065");
		Pos(40, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB065");
    }

	CreateControl("RXPB066", "BUTTON")
	{
	    ColorGroup("RXPF066");
		Pos(30, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB066");
    }

/////////

	CreateControl("RXPB067", "BUTTON")
	{
	    ColorGroup("RXPF067");
		Pos(105, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB067");
    }

	CreateControl("RXPB068", "BUTTON")
	{
	    ColorGroup("RXPF068");
		Pos(95, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB068");
    }

	CreateControl("RXPB069", "BUTTON")
	{
	    ColorGroup("RXPF069");
		Pos(85, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB069");
    }

	CreateControl("RXPB070", "BUTTON")
	{
	    ColorGroup("RXPF070");
		Pos(75, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB070");
    }

	CreateControl("RXPB071", "BUTTON")
	{
	    ColorGroup("RXPF071");
		Pos(65, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB071");
    }

	CreateControl("RXPB072", "BUTTON")
	{
	    ColorGroup("RXPF072");
		Pos(55, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB072");
    }

	CreateControl("RXPB073", "BUTTON")
	{
	    ColorGroup("RXPF073");
		Pos(45, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB073");
    }

	CreateControl("RXPB074", "BUTTON")
	{
	    ColorGroup("RXPF074");
		Pos(35, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB074");
    }

/////////

	CreateControl("RXPB075", "BUTTON")
	{
	    ColorGroup("RXPF075");
		Pos(100, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB075");
    }

	CreateControl("RXPB076", "BUTTON")
	{
	    ColorGroup("RXPF076");
		Pos(90, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB076");
    }

	CreateControl("RXPB077", "BUTTON")
	{
	    ColorGroup("RXPF077");
		Pos(80, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB077");
    }

	CreateControl("RXPB078", "BUTTON")
	{
	    ColorGroup("RXPF078");
		Pos(70, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB078");
    }

	CreateControl("RXPB079", "BUTTON")
	{
	    ColorGroup("RXPF079");
		Pos(60, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB079");
    }

	CreateControl("RXPB080", "BUTTON")
	{
	    ColorGroup("RXPF080");
		Pos(50, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB080");
    }

	CreateControl("RXPB081", "BUTTON")
	{
	    ColorGroup("RXPF081");
		Pos(40, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB081");
    }

/////

	CreateControl("RXPB082", "BUTTON")
	{
	    ColorGroup("RXPF082");
		Pos(120, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB082");
    }
	CreateControl("RXPB083", "BUTTON")
	{
	    ColorGroup("RXPF083");
		Pos(110, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB083");
    }

	CreateControl("RXPB084", "BUTTON")
	{
	    ColorGroup("RXPF084");
		Pos(100, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB084");
    }

	CreateControl("RXPB085", "BUTTON")
	{
	    ColorGroup("RXPF085");
		Pos(90, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB085");
    }

	CreateControl("RXPB086", "BUTTON")
	{
	    ColorGroup("RXPF086");
		Pos(80, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB086");
    }

	CreateControl("RXPB087", "BUTTON")
	{
	    ColorGroup("RXPF087");
		Pos(70, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB087");
    }

	CreateControl("RXPB088", "BUTTON")
	{
	    ColorGroup("RXPF088");
		Pos(60, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB088");
    }

	CreateControl("RXPB089", "BUTTON")
	{
	    ColorGroup("RXPF089");
		Pos(50, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB089");
    }

	CreateControl("RXPB090", "BUTTON")
	{
	    ColorGroup("RXPF090");
		Pos(40, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB090");
    }

	CreateControl("RXPB091", "BUTTON")
	{
	    ColorGroup("RXPF091");
		Pos(30, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB091");
    }

	CreateControl("RXPB092", "BUTTON")
	{
	    ColorGroup("RXPF092");
		Pos(20, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB092");
    }

////////

	CreateControl("RXPB093", "BUTTON")
	{
	    ColorGroup("RXPF093");
		Pos(115, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB093");
    }

	CreateControl("RXPB094", "BUTTON")
	{
	    ColorGroup("RXPF094");
		Pos(105, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB094");
    }

	CreateControl("RXPB095", "BUTTON")
	{
	    ColorGroup("RXPF095");
		Pos(95, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB095");
    }

	CreateControl("RXPB096", "BUTTON")
	{
	    ColorGroup("RXPF096");
		Pos(85, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB096");
    }

	CreateControl("RXPB097", "BUTTON")
	{
	    ColorGroup("RXPF097");
		Pos(75, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB097");
    }

	CreateControl("RXPB098", "BUTTON")
	{
	    ColorGroup("RXPF098");
		Pos(65, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB098");
    }

	CreateControl("RXPB099", "BUTTON")
	{
	    ColorGroup("RXPF099");
		Pos(55, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB099");
    }

	CreateControl("RXPB100", "BUTTON")
	{
	    ColorGroup("RXPF100");
		Pos(45, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB100");
    }

	CreateControl("RXPB101", "BUTTON")
	{
	    ColorGroup("RXPF101");
		Pos(35, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB101");
    }

	CreateControl("RXPB102", "BUTTON")
	{
	    ColorGroup("RXPF102");
		Pos(25, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB102");
    }

////////

	CreateControl("RXPB103", "BUTTON")
	{
	    ColorGroup("RXPF103");
		Pos(110, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB103");
    }

	CreateControl("RXPB104", "BUTTON")
	{
	    ColorGroup("RXPF104");
		Pos(100, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB104");
    }

	CreateControl("RXPB105", "BUTTON")
	{
	    ColorGroup("RXPF105");
		Pos(90, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB105");
    }

	CreateControl("RXPB106", "BUTTON")
	{
	    ColorGroup("RXPF106");
		Pos(80, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB106");
    }

	CreateControl("RXPB107", "BUTTON")
	{
	    ColorGroup("RXPF107");
		Pos(70, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB107");
    }

	CreateControl("RXPB108", "BUTTON")
	{
	    ColorGroup("RXPF108");
		Pos(60, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB108");
    }

	CreateControl("RXPB109", "BUTTON")
	{
	    ColorGroup("RXPF109");
		Pos(50, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB109");
    }

	CreateControl("RXPB110", "BUTTON")
	{
	    ColorGroup("RXPF110");
		Pos(40, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB110");
    }

	CreateControl("RXPB111", "BUTTON")
	{
	    ColorGroup("RXPF111");
		Pos(30, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB111");
    }

//////

	CreateControl("RXPB112", "BUTTON")
	{
	    ColorGroup("RXPF112");
		Pos(105, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB112");
    }

	CreateControl("RXPB113", "BUTTON")
	{
	    ColorGroup("RXPF113");
		Pos(95, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB113");
    }

	CreateControl("RXPB114", "BUTTON")
	{
	    ColorGroup("RXPF114");
		Pos(85, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB114");
    }

	CreateControl("RXPB115", "BUTTON")
	{
	    ColorGroup("RXPF115");
		Pos(75, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB115");
    }

	CreateControl("RXPB116", "BUTTON")
	{
	    ColorGroup("RXPF116");
		Pos(65, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB116");
    }

	CreateControl("RXPB117", "BUTTON")
	{
	    ColorGroup("RXPF117");
		Pos(55, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB117");
    }

	CreateControl("RXPB118", "BUTTON")
	{
	    ColorGroup("RXPF118");
		Pos(45, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB118");
    }

	CreateControl("RXPB119", "BUTTON")
	{
	    ColorGroup("RXPF119");
		Pos(35, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB119");
    }

/////

	CreateControl("RXPB120", "BUTTON")
	{
	    ColorGroup("RXPF120");
		Pos(100, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB120");
    }

	CreateControl("RXPB121", "BUTTON")
	{
	    ColorGroup("RXPF121");
		Pos(90, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB121");
    }

	CreateControl("RXPB122", "BUTTON")
	{
	    ColorGroup("RXPF122");
		Pos(80, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB122");
    }

	CreateControl("RXPB123", "BUTTON")
	{
	    ColorGroup("RXPF123");
		Pos(70, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB123");
    }

	CreateControl("RXPB124", "BUTTON")
	{
	    ColorGroup("RXPF124");
		Pos(60, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB124");
    }

	CreateControl("RXPB125", "BUTTON")
	{
	    ColorGroup("RXPF125");
		Pos(50, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB125");
    }

	CreateControl("RXPB126", "BUTTON")
	{
	    ColorGroup("RXPF126");
		Pos(40, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB126");
    }

/////////
// Greys
/////////

	CreateControl("RXPB127", "BUTTON")
	{
	    ColorGroup("RXPF127");
		Pos(134, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB127");
    }

	CreateControl("RXPB128", "BUTTON")
	{
	    ColorGroup("RXPF128");
		Pos(126, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB128");
    }

	CreateControl("RXPB129", "BUTTON")
	{
	    ColorGroup("RXPF129");
		Pos(118, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB129");
    }

	CreateControl("RXPB130", "BUTTON")
	{
	    ColorGroup("RXPF130");
		Pos(110, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB130");
    }

	CreateControl("RXPB131", "BUTTON")
	{
	    ColorGroup("RXPF131");
		Pos(102, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB131");
    }

	CreateControl("RXPB132", "BUTTON")
	{
	    ColorGroup("RXPF132");
		Pos(94, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB132");
    }

	CreateControl("RXPB133", "BUTTON")
	{
	    ColorGroup("RXPF133");
		Pos(86, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB133");
    }

	CreateControl("RXPB134", "BUTTON")
	{
	    ColorGroup("RXPF134");
		Pos(78, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB134");
    }

	CreateControl("RXPB135", "BUTTON")
	{
	    ColorGroup("RXPF135");
		Pos(70, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB135");
    }

	CreateControl("RXPB136", "BUTTON")
	{
	    ColorGroup("RXPF136");
		Pos(62, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB136");
    }

	CreateControl("RXPB137", "BUTTON")
	{
	    ColorGroup("RXPF137");
		Pos(54, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB137");
    }

	CreateControl("RXPB138", "BUTTON")
	{
	    ColorGroup("RXPF138");
		Pos(46, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB138");
    }

	CreateControl("RXPB139", "BUTTON")
	{
	    ColorGroup("RXPF139");
		Pos(38, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB139");
    }

	CreateControl("RXPB140", "BUTTON")
	{
	    ColorGroup("RXPF140");
		Pos(30, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB140");
    }

	CreateControl("RXPB141", "BUTTON")
	{
	    ColorGroup("RXPF141");
		Pos(22, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB141");
    }

	CreateControl("RXPB142", "BUTTON")
	{
	    ColorGroup("RXPF142");
		Pos(14, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXPB142");
    }
	CreateControl("BackgroundTitle", "STATIC")
	{
	    Pos(30, 180);
		Size(80, 10);
		Font("TINY");
		JustifyText("CENTRE");
		Text("Background");
		Style("Transparent");
	}
    
	CreateControl("RedTitle", "STATIC")
	{
	    ColorGroup("RED");
		Pos(15, 196);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Red");
		Style("Transparent");
	}

    
	CreateControl("BackgroundRed", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(110,196);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.background.red");
	}

	CreateControl("BackgroundRed", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(18, 213);
		Size(119, 6);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.background.red");
		Style("ROLLOVER", "OUTLINE");
	}

	CreateControl("GreenTitle", "STATIC")
	{
	    ColorGroup("GREEN");
		Pos(15, 226);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Green");
		Style("Transparent");
	}

    
	CreateControl("BackgroundGreen", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(110,226);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.background.green");
	}

	CreateControl("BackgroundGreen", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(18, 243);
		Size(119, 6);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.background.green");
		Style("ROLLOVER", "OUTLINE");
	}

	CreateControl("BlueTitle", "STATIC")
	{
	    ColorGroup("Blue");
		Pos(15, 256);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Blue");
		Style("Transparent");
	}

    
	CreateControl("BackgroundBlue", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(110,256);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.background.blue");
	}

	CreateControl("BackgroundBlue", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(18, 273);
		Size(119, 6);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.background.blue");
		Style("ROLLOVER", "OUTLINE");
	}

////

    OnEvent("RXPB001")
	
	{
	    Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 255");
	}	

    OnEvent("RXPB002")
	{
	    Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 233");
		Cmd("editor.color.background.blue 233");
	}	
	OnEvent("RXPB003")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 160");
		Cmd("editor.color.background.blue 160");
	}
	OnEvent("RXPB004")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 87");
		Cmd("editor.color.background.blue 87");
	}
	OnEvent("RXPB005")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB006")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB007")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB008")
	{
		Cmd("editor.color.background.red 233");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 255");
	}
    OnEvent("RXPB009")
	{
		Cmd("editor.color.background.red 160");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 255");
 	}
    OnEvent("RXPB010")
	{
		Cmd("editor.color.background.red 87");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 255");
	}
    OnEvent("RXPB011")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 255");
	}
    OnEvent("RXPB012")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 196");
	}
    OnEvent("RXPB013")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 123");
	}
	
    OnEvent("RXPB014")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 233");
		Cmd("editor.color.background.blue 254");
	}
	OnEvent("RXPB015")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 160");
		Cmd("editor.color.background.blue 206");
	}
    OnEvent("RXPB016")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 87");
		Cmd("editor.color.background.blue 137");
	}
    OnEvent("RXPB017")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 66");
	}
    OnEvent("RXPB018")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 32");
	}
    OnEvent("RXPB019")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 16");
	}
    OnEvent("RXPB020")
	{
		Cmd("editor.color.background.red 233");
		Cmd("editor.color.background.green 233");
		Cmd("editor.color.background.blue 255");
	}
    OnEvent("RXPB021")
	{
		Cmd("editor.color.background.red 160");
		Cmd("editor.color.background.green 207");
		Cmd("editor.color.background.blue 255");
	}
    OnEvent("RXPB022")
	{
		Cmd("editor.color.background.red 87");
		Cmd("editor.color.background.green 201");
		Cmd("editor.color.background.blue 255");
	}
    OnEvent("RXPB023")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 198");
		Cmd("editor.color.background.blue 255");
	}
    OnEvent("RXPB024")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 160");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB025")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 105");
		Cmd("editor.color.background.blue 123");
	}
	OnEvent("RXPB025b")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 16");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB026")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 32");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB027")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 66");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB028")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 137");
		Cmd("editor.color.background.blue 87");
	}
	OnEvent("RXPB029")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 206");
		Cmd("editor.color.background.blue 160");
	}
	OnEvent("RXPB030")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 254");
		Cmd("editor.color.background.blue 233");
	}
	OnEvent("RXPB031")
	{
		Cmd("editor.color.background.red 233");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 233");
	}
	OnEvent("RXPB032")
	{
		Cmd("editor.color.background.red 160");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 207");
	}
	OnEvent("RXPB033")
	{
		Cmd("editor.color.background.red 87");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 201");
	}
	OnEvent("RXPB034")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 198");
	}
	OnEvent("RXPB035")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 160");
	}
	OnEvent("RXPB036")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 105");
	}
	OnEvent("RXPB037")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 37");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB038")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 75");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB039")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 130");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB040")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 199");
		Cmd("editor.color.background.blue 87");
	}
	OnEvent("RXPB041")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 253");
		Cmd("editor.color.background.blue 160");
	}
	OnEvent("RXPB042")
	{
		Cmd("editor.color.background.red 207");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 160");
	}
	OnEvent("RXPB043")
	{
		Cmd("editor.color.background.red 160");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 160");
	}
	OnEvent("RXPB044")
	{
		Cmd("editor.color.background.red 87");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 140");
	}
	OnEvent("RXPB045")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 134");
	}
	OnEvent("RXPB046")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 118");
	}
	OnEvent("RXPB047")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 84");
	}

/////

	OnEvent("RXPB048")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 59");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB049")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 118");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB050")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 194");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB051")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 252");
		Cmd("editor.color.background.blue 87");
	}
	OnEvent("RXPB052")
	{
		Cmd("editor.color.background.red 204");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 87");
	}
	OnEvent("RXPB053")
	{
		Cmd("editor.color.background.red 140");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 87");
	}
	OnEvent("RXPB054")
	{
		Cmd("editor.color.background.red 87");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 87");
	}
	OnEvent("RXPB055")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 70");
	}
	OnEvent("RXPB056")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 75");
	}
	OnEvent("RXPB057")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 61");
	}

/////

	OnEvent("RXPB058")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 82");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB059")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 157");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB060")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 250");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB061")
	{
		Cmd("editor.color.background.red 202");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB062")
	{
		Cmd("editor.color.background.red 134");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB063")
	{
		Cmd("editor.color.background.red 70");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB064")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 255");
		Cmd("editor.color.background.blue 14");
	}
	OnEvent("RXPB065")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 36");
	}
	OnEvent("RXPB066")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 39");
	}

//////

	OnEvent("RXPB067")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 103");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB068")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 193");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB069")
	{
		Cmd("editor.color.background.red 163");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB070")
	{
		Cmd("editor.color.background.red 121");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB071")
	{
		Cmd("editor.color.background.red 78");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB072")
	{
		Cmd("editor.color.background.red 36");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB073")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 196");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB074")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 18");
	}

///////////

	OnEvent("RXPB075")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 121");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB076")
	{
		Cmd("editor.color.background.red 107");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB077")
	{
		Cmd("editor.color.background.red 86");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB078")
	{
		Cmd("editor.color.background.red 61");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB079")
	{
		Cmd("editor.color.background.red 39");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB080")
	{
		Cmd("editor.color.background.red 18");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB081")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 123");
		Cmd("editor.color.background.blue 0");
	}

///////

	OnEvent("RXPB082")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 37");
	}
	OnEvent("RXPB083")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 75");
	}
	OnEvent("RXPB084")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 130");
	}
	OnEvent("RXPB085")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 87");
		Cmd("editor.color.background.blue 199");
	}
	OnEvent("RXPB086")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 160");
		Cmd("editor.color.background.blue 253");
	}
	OnEvent("RXPB087")
	{
		Cmd("editor.color.background.red 207");
		Cmd("editor.color.background.green 160");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB088")
	{
		Cmd("editor.color.background.red 160");
		Cmd("editor.color.background.green 160");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB089")
	{
		Cmd("editor.color.background.red 87");
		Cmd("editor.color.background.green 140");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB090")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 134");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB091")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 118");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB092")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 84");
		Cmd("editor.color.background.blue 123");
	}
//////
	OnEvent("RXPB093")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 59");
	}
	OnEvent("RXPB094")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 118");
	}
	OnEvent("RXPB095")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 194");
	}
	OnEvent("RXPB096")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 87");
		Cmd("editor.color.background.blue 252");
	}
	OnEvent("RXPB097")
	{
		Cmd("editor.color.background.red 204");
		Cmd("editor.color.background.green 87");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB098")
	{
		Cmd("editor.color.background.red 140");
		Cmd("editor.color.background.green 87");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB99")
	{
		Cmd("editor.color.background.red 87");
		Cmd("editor.color.background.green 87");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB100")
	{
		Cmd("editor.color.background.red 140");
		Cmd("editor.color.background.green 70");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB101")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 75");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB102")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 61");
		Cmd("editor.color.background.blue 123");
	}
///////
	OnEvent("RXPB103")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 82");
	}
	OnEvent("RXPB104")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 157");
	}
	OnEvent("RXPB105")
	{
		Cmd("editor.color.background.red 255");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 250");
	}
	OnEvent("RXPB106")
	{
		Cmd("editor.color.background.red 204");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB107")
	{
		Cmd("editor.color.background.red 134");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB108")
	{
		Cmd("editor.color.background.red 70");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB109")
	{
		Cmd("editor.color.background.red 14");
		Cmd("editor.color.background.green 14");
		Cmd("editor.color.background.blue 255");
	}
	OnEvent("RXPB110")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 36");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB111")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 39");
		Cmd("editor.color.background.blue 123");
	}
////////
	OnEvent("RXPB112")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 103");
	}
	OnEvent("RXPB113")
	{
		Cmd("editor.color.background.red 196");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 193");
	}
	OnEvent("RXPB114")
	{
		Cmd("editor.color.background.red 163");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB115")
	{
		Cmd("editor.color.background.red 121");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB116")
	{
		Cmd("editor.color.background.red 78");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB117")
	{
		Cmd("editor.color.background.red 36");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB118")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 196");
	}
	OnEvent("RXPB119")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 18");
		Cmd("editor.color.background.blue 123");
	}
////////
	OnEvent("RXPB120")
	{
		Cmd("editor.color.background.red 123");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 121");
	}
	OnEvent("RXPB121")
	{
		Cmd("editor.color.background.red 107");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 123");
	}
	OnEvent("RXPB122")
	{
		Cmd("editor.color.background.red 86");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 123");
	}
	OnEvent("RXPB123")
	{
		Cmd("editor.color.background.red 61");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 123");
	}
	OnEvent("RXPB124")
	{
		Cmd("editor.color.background.red 39");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 123");
	}
	OnEvent("RXPB125")
	{
		Cmd("editor.color.background.red 18");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 123");
	}
	OnEvent("RXPB126")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 123");
	}

/////
//Greys
/////

	OnEvent("RXPB127")
	{
		Cmd("editor.color.background.red 0");
		Cmd("editor.color.background.green 0");
		Cmd("editor.color.background.blue 0");
	}
	OnEvent("RXPB128")
	{
		Cmd("editor.color.background.red 30");
		Cmd("editor.color.background.green 30");
		Cmd("editor.color.background.blue 30");
	}
	OnEvent("RXPB129")
	{
		Cmd("editor.color.background.red 45");
		Cmd("editor.color.background.green 45");
		Cmd("editor.color.background.blue 45");
	}
	OnEvent("RXPB130")
	{
		Cmd("editor.color.background.red 60");
		Cmd("editor.color.background.green 60");
		Cmd("editor.color.background.blue 60");
	}
	OnEvent("RXPB131")
	{
		Cmd("editor.color.background.red 75");
		Cmd("editor.color.background.green 75");
		Cmd("editor.color.background.blue 75");
	}
	OnEvent("RXPB132")
	{
		Cmd("editor.color.background.red 90");
		Cmd("editor.color.background.green 90");
		Cmd("editor.color.background.blue 90");
	}
	OnEvent("RXPB133")
	{
		Cmd("editor.color.background.red 105");
		Cmd("editor.color.background.green 105");
		Cmd("editor.color.background.blue 105");
	}
	OnEvent("RXPB134")
	{
		Cmd("editor.color.background.red 120");
		Cmd("editor.color.background.green 120");
		Cmd("editor.color.background.blue 120");
	}
	OnEvent("RXPB135")
	{
		Cmd("editor.color.background.red 135");
		Cmd("editor.color.background.green 135");
		Cmd("editor.color.background.blue 135");
	}
	OnEvent("RXPB136")
	{
		Cmd("editor.color.background.red 150");
		Cmd("editor.color.background.green 150");
		Cmd("editor.color.background.blue 150");
	}
	OnEvent("RXPB137")
	{
		Cmd("editor.color.background.red 165");
		Cmd("editor.color.background.green 165");
		Cmd("editor.color.background.blue 165");
	}
	OnEvent("RXPB138")
	{
		Cmd("editor.color.background.red 180");
		Cmd("editor.color.background.green 180");
		Cmd("editor.color.background.blue 180");
	}
	OnEvent("RXPB139")
	{
		Cmd("editor.color.background.red 195");
		Cmd("editor.color.background.green 195");
		Cmd("editor.color.background.blue 195");
	}
	OnEvent("RXPB140")
	{
		Cmd("editor.color.background.red 210");
		Cmd("editor.color.background.green 210");
		Cmd("editor.color.background.blue 210");
	}
	OnEvent("RXPB141")
	{
		Cmd("editor.color.background.red 225");
		Cmd("editor.color.background.green 225");
		Cmd("editor.color.background.blue 225");
	}
	OnEvent("RXPB142")
	{
		Cmd("editor.color.background.red 240");
		Cmd("editor.color.background.green 240");
		Cmd("editor.color.background.blue 240");
	}

}
	
//
// CREATE THE COLOR EDITOR WINDOW
//

CreateControl("EditColor", "WINDOW")
{
	Pos(2, 10);
	Size(105, 312);
	BevelSize(0);
	ColorGroup("BACKGROUND");



		CreateControl("BoxTitle", "STATIC")
			{
			ColorGroup("TVBACK1");
			Geometry("LEFT", "BOTTOM");
			Pos(0, 27);
			Size(105, 23);
			BevelSize(4);
			Font("LARGE");
			JustifyText("HCENTRE");
			Text("Color");
			}

	CreateControl("WidthTitle", "STATIC")
	{
		Pos(5, 7);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Width");
		Style("TRANSPARENT");
	}

	CreateControl("Width", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(70,8);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.size.width");
	}

	CreateControl("Width", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(8, 25);
		Size(89, 7);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.size.width");
		Style("ROLLOVER", "OUTLINE");
	}

	CreateControl("DepthTitle", "STATIC")
	{
		Pos(5, 42);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Depth");
		Style("TRANSPARENT");
	}

	CreateControl("Depth", "EDIT")
	{
		ColorGroup("TVBACK1");
		Pos(70, 43);
		Size(27, 11);
		BorderSize(1);
		BevelSize(3);
		Font("BRUSH");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.size.depth");
	}

	CreateControl("Depth", "SLIDER")
	{
		ColorGroup("TVBUTTON1");
		Pos(8, 60);
		Size(89, 7);
		BorderSize(2);
		BevelSize(3);
		Cursor("Highlight");
		Font("TINY");
		UseVar("editor.color.size.depth");
		Style("ROLLOVER", "OUTLINE");
	}

	CreateControl("ShapeTitle", "STATIC")
	{
		Pos(5, 75);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Shape");
		Style("TRANSPARENT");
	}

	CreateControl("ShapeSquare", "BUTTON")
	{
		Pos(8, 90);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Square");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.shape.value");
		Value(0);
		NotifyParent("Button::Select", "Square");
	}

	CreateControl("ShapeCircle", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(58, 90);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Circle");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.shape.value");
		Value(1);
		NotifyParent("Button::Select", "Circle");
	}

	CreateControl("ShapeCone", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(8, 110);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Cone");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.shape.value");
		Value(2);
		NotifyParent("Button::Select", "Cone");
	}

	CreateControl("ShapeBell", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(58, 110);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Bell");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.shape.value");
		Value(3);
		NotifyParent("Button::Select", "Bell");
	}

	CreateControl("ModeTitle", "STATIC")
	{
		Pos(5, 130);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Mode");
		Style("TRANSPARENT");
	}

	CreateControl("ModePaint", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(8, 145);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Paint");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.mode.value");
		Value(0);
		NotifyParent("Button::Select", "Paint");
	}

	CreateControl("Spray", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(58, 145);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Spray");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.mode.value");
		Value(1);
		NotifyParent("Button::Select", "Spray");
	}

	CreateControl("Raise", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(8, 165);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Raise");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.mode.value");
		Value(2);
		NotifyParent("Button::Select", "Raise");
	}

	CreateControl("Blend", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(58, 165);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Blend");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.mode.value");
		Value(3);
		NotifyParent("Button::Select", "Blend");
	}

	CreateControl("Eyedrop", "BUTTON")
	{
//		ColorGroup("TVBUTTON1");
		Pos(8, 185);
		Size(39, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Eyedrop");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.mode.value");
		Value(4);
		NotifyParent("Button::Select", "Eyedrop");
	}
	
	CreateControl("PressureTitle", "STATIC")
	{
		Pos(5, 205);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Pressure");
		Style("Transparent");
	}

	CreateControl("Pressure", "EDIT")
	{
		Pos(8, 220);
		Size(89, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("editor.color.pressure");
	}

	CreateControl("PaletteTitle", "STATIC")
	{
		Pos(5, 238);
		Size(80, 10);
		Font("TINY");
		JustifyText("CENTRE");
		Text("Quick Pick Palette");
		Style("Transparent");
	}

////////////////////////////////////////////////			
// ADDED BY THE BLACK ROOKS - Colour Fill Button
////////////////////////////////////////////////

CreateControl("Fill", "BUTTON")

	{
		Pos(8, 298);
		Size(89, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Fill with Foreground");
		Cursor("Highlight");
		Style("ROLLOVER", "RADIO", "OUTLINE");
		UseVar("editor.color.mode.value");
		Value(5);
		NotifyParent("Button::Select", "Fill");
	}

////////////////////////////////////			
// RX- Quick Pick Palette Select
////////////////////////////////////

CreateControl("ForePalette", "BUTTON")

	{
		Pos(8, 258);
		Size(89, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Foreground Palette");
		Cursor("Highlight");
		Style("ROLLOVER");
		NotifyParent("Button::Press", "ForePalette");
	}
				
    CreateControl("BackPalette", "BUTTON")

	{
		Pos(8, 278);
		Size(89, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Text("Background Palette");
		Cursor("Highlight");
		Style("ROLLOVER");
		NotifyParent("Button::Press", "BackPalette");
	}
	
	OnEvent("Control::Activate")
	{
		Cmd("editor.mode.color");
	}
	
	OnEvent("Control::Deactivate")
	{
	   Deactivate("|QPFORE");
	   Deactivate("|QPBACK");
	}
	
	OnEvent("Square")
	{
		Cmd("editor.color.shape.square");
	}

	OnEvent("Circle")
	{
		Cmd("editor.color.shape.circle");
	}

	OnEvent("Cone")
	{
		Cmd("editor.color.shape.cone");
	}

	OnEvent("Bell")
	{
		Cmd("editor.color.shape.bell");
	}

	OnEvent("Paint")
	{
		Cmd("editor.color.mode.paint");
	}

	OnEvent("Spray")
	{
		Cmd("editor.color.mode.spray");
	}

	OnEvent("Raise")
	{
		Cmd("editor.color.mode.raise");
	}

	OnEvent("Blend")
	{
		Cmd("editor.color.mode.blend");
	}

	OnEvent("Eyedrop")
	{
		Cmd("editor.color.mode.eyedrop");
	}
	
	OnEvent("None")
	{
	   Deactivate("|QPFORE");
	   Deactivate("|QPBACK");
	}
	
	OnEvent("ForePalette")
	{
	  Activate("|QPFORE");	   
	   Deactivate("|QPBACK");
	}
	
	OnEvent("BackPalette")
	{
	  Deactivate("|QPFORE");
	  Activate("|QPBACK");	  
	}

					
//ADDED BY THE BLACK ROOKS Colour Fill Command
	OnEvent("Fill")
	{
		Cmd("editor.color.fill");
	}

}
