Beispiel #1
0
        public void GetGumpCode(TMQueryPage page)
        {
            sk = page.Skin;
            page.AddTitle("Shard Message Options", "Control");
            //page.AddLabel(75, 90, 192, @"Shard Settings:");
            //page.AddImage(227, 148, 1143);
            SkillSettings.DoTell("GetCoord: " + sk.GetCoord("Control", "X"));
            page.AddLabel(sk.SelectStartX, 115, sk.White, @"Use Shard Info:");
            page.AddCheck(sk.SelectStartX + 100, 115, sk.genericSelectUp, sk.genericSelectDn, SkillSettings.IsSharded, 1000);

            page.AddLabel(sk.SelectStartX, 140, sk.White, @"Not Yours: ");
            page.AddImageTiled(sk.SelectStartX + 100, 140, 332, 20, 3004);
            page.AddTextEntry(sk.SelectStartX + 100, 140, 330, 20, sk.White, 2001, @"" + SkillSettings.NotYoursMessage);

            page.AddLabel(sk.SelectStartX, 170, sk.White, @"How To Use: ");
            page.AddImageTiled(sk.SelectStartX + 100, 170, 332, 20, 3004);
            page.AddTextEntry(sk.SelectStartX + 100, 170, 330, 20, sk.White, 2002, @"" + SkillSettings.HowToUseMessage);

            page.AddLabel(sk.SelectStartX, 200, sk.White, @"No Ticket: ");
            page.AddImageTiled(sk.SelectStartX + 100, 200, 332, 20, 3004);
            page.AddTextEntry(sk.SelectStartX + 100, 200, 330, 20, sk.White, 2003, @"" + SkillSettings.NoTicketMessage);

            page.AddSuperButton(sk.NextButtonSX - page.X, sk.NextButtonSY - 15, sk.NextButtonSH, sk.NextButtonSW, sk.ButtonOverlay, sk.ButtonUnderID, sk.ButtonUnderIDPress, "APPLY", GumpButtonType.Reply, 1, 0);

            //page.AddButton(450, 380, 238, 239, 1, GumpButtonType.Reply, 1);
            //page.AddLabel(335, 380, 0, @"Apply Settings");
        }
Beispiel #2
0
        public void GetGumpCode(TMQueryPage page)
        {
            sk = page.Skin;
            //page.AddLabel(75, 90, 192, @"Color Options:");
            page.AddTitle("Color Options", "Control");

            page.AddLabel(sk.SelectStartX, 100, sk.White, @"Skill Hue");
            page.AddImageTiled(sk.SelectStartX + 100, 100, 202, 20, 3004);
            page.AddTextEntry(sk.SelectStartX + 102, 100, 200, 20, sk.White, 2000, @"" + SkillSettings.SkillHue);

            page.AddLabel(sk.SelectStartX, 130, sk.White, @"Stat Hue");
            page.AddImageTiled(sk.SelectStartX + 100, 130, 202, 20, 3004);
            page.AddTextEntry(sk.SelectStartX + 102, 130, 200, 20, sk.White, 2002, @"" + SkillSettings.StatHue);

            page.AddLabel(sk.SelectStartX, 250, 32, @"Please use non-hex numbers in these boxes. ");
            page.AddLabel(sk.SelectStartX, 265, 32, @"If you need a hex conversion, use the Windows Calculator.");

            //page.AddButton(450, 380, 238, 239, 1, GumpButtonType.Reply, 1);
            page.AddSuperButton(sk.NextButtonSX - page.X, sk.NextButtonSY - 15, sk.NextButtonSH, sk.NextButtonSW, sk.ButtonOverlay, sk.ButtonUnderID, sk.ButtonUnderIDPress, "APPLY", GumpButtonType.Reply, 1, 0);
            //page.AddLabel(335, 380, 0, @"Apply Settings");
        }
		public void GetGumpCode(TMQueryPage page)
		{
			sk = page.Skin;
			page.AddTitle("Shard Message Options", "Control");
			//page.AddLabel(75, 90, 192, @"Shard Settings:");
			//page.AddImage(227, 148, 1143);
			SkillSettings.DoTell("GetCoord: " + sk.GetCoord("Control", "X"));
			page.AddLabel(sk.SelectStartX, 115, sk.White, @"Use Shard Info:");
			page.AddCheck(sk.SelectStartX + 100, 115, sk.genericSelectUp, sk.genericSelectDn, SkillSettings.IsSharded, 1000);

			page.AddLabel(sk.SelectStartX, 140, sk.White, @"Not Yours: ");
			page.AddImageTiled(sk.SelectStartX + 100, 140, 332, 20, 3004);
			page.AddTextEntry(sk.SelectStartX + 100, 140, 330, 20, sk.White, 2001, @"" + SkillSettings.NotYoursMessage);

			page.AddLabel(sk.SelectStartX, 170, sk.White, @"How To Use: ");
			page.AddImageTiled(sk.SelectStartX + 100, 170, 332, 20, 3004);
			page.AddTextEntry(sk.SelectStartX + 100, 170, 330, 20, sk.White, 2002, @"" + SkillSettings.HowToUseMessage);

			page.AddLabel(sk.SelectStartX, 200, sk.White, @"No Ticket: ");
			page.AddImageTiled(sk.SelectStartX + 100, 200, 332, 20, 3004);
			page.AddTextEntry(sk.SelectStartX + 100, 200, 330, 20, sk.White, 2003, @"" + SkillSettings.NoTicketMessage);

			page.AddSuperButton(sk.NextButtonSX - page.X, sk.NextButtonSY - 15, sk.NextButtonSH, sk.NextButtonSW, sk.ButtonOverlay, sk.ButtonUnderID, sk.ButtonUnderIDPress, "APPLY", GumpButtonType.Reply, 1, 0);

			//page.AddButton(450, 380, 238, 239, 1, GumpButtonType.Reply, 1);
			//page.AddLabel(335, 380, 0, @"Apply Settings");
		}
		public void GetGumpCode(TMQueryPage page)
		{
			sk = page.Skin;
			//page.AddLabel(75, 90, 192, @"Color Options:");
			page.AddTitle("Color Options", "Control");

			page.AddLabel(sk.SelectStartX, 100, sk.White, @"Skill Hue");
			page.AddImageTiled(sk.SelectStartX + 100, 100, 202, 20, 3004);
			page.AddTextEntry(sk.SelectStartX + 102, 100, 200, 20, sk.White, 2000, @"" + SkillSettings.SkillHue);

			page.AddLabel(sk.SelectStartX, 130, sk.White, @"Stat Hue");
			page.AddImageTiled(sk.SelectStartX + 100, 130, 202, 20, 3004);
			page.AddTextEntry(sk.SelectStartX + 102, 130, 200, 20, sk.White, 2002, @"" + SkillSettings.StatHue);

			page.AddLabel(sk.SelectStartX, 250, 32, @"Please use non-hex numbers in these boxes. ");
			page.AddLabel(sk.SelectStartX, 265, 32, @"If you need a hex conversion, use the Windows Calculator.");

			//page.AddButton(450, 380, 238, 239, 1, GumpButtonType.Reply, 1);
			page.AddSuperButton(sk.NextButtonSX - page.X, sk.NextButtonSY - 15, sk.NextButtonSH, sk.NextButtonSW, sk.ButtonOverlay, sk.ButtonUnderID, sk.ButtonUnderIDPress, "APPLY", GumpButtonType.Reply, 1, 0);
			//page.AddLabel(335, 380, 0, @"Apply Settings");
		}