public AnimationLocatorGump(AnimationLocator AnimationLocator) : base(0, 0)
        {
            m_AnimationLocator = AnimationLocator;

            Closable = true; Disposable = true; Dragable = true; Resizable = false;

            AddPage(0);

            AddBackground(32, 49, 241, 395, 3500);

            AddLabel(100, 63, 0, @"Animation Locator");
            AddImageTiled(63, 191, 171, 5, 3007);

            AddBackground(104, 92, 101, 67, 3500);
            AddImageTiled(133, 115, 42, 20, 9384);
            AddTextEntry(133, 115, 42, 20, 0, (int)Button.AnimationNumberEntry, m_AnimationLocator.AnimationNumber.ToString(), 2);
            AddLabel(97, 151, 0, @"Current Animation");

            AddLabel(76, 173, 0, @"Target:");
            AddLabel(137, 173, 0, m_AnimationLocator.TargetMobile.RawName.ToString());
            AddButton(58, 176, 30008, 30008, (int)Button.TargetMobile, GumpButtonType.Reply, 0);
            AddImageTiled(63, 82, 171, 5, 3007);


            AddLabel(90, 205, 0, @"Increase");
            AddButton(72, 206, 30008, 30008, (int)Button.IncreaseAnimation, GumpButtonType.Reply, 0);
            AddLabel(90, 228, 0, @"Decrease");
            AddButton(72, 232, 30008, 30008, (int)Button.DecreaseAnimation, GumpButtonType.Reply, 0);
            AddLabel(193, 205, 0, @"Cycle");
            AddButton(175, 206, 11400, 11400, (int)Button.CycleAnimation, GumpButtonType.Reply, 0);
            AddLabel(193, 228, 0, @"Single");
            AddButton(175, 232, 11400, 11400, (int)Button.SingleAnimation, GumpButtonType.Reply, 0);

            AddLabel(76, 255, 0, @"Stop Animation");
            AddButton(58, 258, 11410, 11410, (int)Button.StopAnimation, GumpButtonType.Reply, 0);

            AddImageTiled(63, 274, 171, 5, 3007);
            AddLabel(101, 286, 0, @"Freeze Frame");

            AddLabel(57, 314, 0, @"Animation");
            AddImageTiled(130, 314, 52, 21, 9384);
            AddTextEntry(131, 313, 48, 20, 0, (int)Button.FreezeAnimationNumberEntry, m_AnimationLocator.AnimationNumber.ToString(), 2);
            AddButton(186, 310, 2435, 2435, (int)Button.IncreaseAnimation, GumpButtonType.Reply, 0);
            AddButton(186, 325, 2437, 2437, (int)Button.DecreaseAnimation, GumpButtonType.Reply, 0);

            AddLabel(76, 344, 0, @"Frame");
            AddImageTiled(130, 344, 52, 21, 9384);
            AddTextEntry(131, 343, 48, 20, 0, (int)Button.FrameNumberEntry, m_AnimationLocator.FrameNumber.ToString(), 2);
            AddButton(186, 341, 2435, 2435, (int)Button.FrameIncrease, GumpButtonType.Reply, 0);
            AddButton(186, 356, 2437, 2437, (int)Button.FrameDecrease, GumpButtonType.Reply, 0);

            AddLabel(64, 379, 0, @"Send freeze to targeted mobile");
            AddButton(47, 383, 30008, 30008, (int)Button.FreezeFrame, GumpButtonType.Reply, 0);

            AddButton(215, 326, 11300, 11300, (int)Button.Update, GumpButtonType.Reply, 0);
            AddBackground(209, 323, 49, 25, 9500);
            AddLabel(214, 326, 0, @"Update");
        }
Ejemplo n.º 2
0
        public AnimationLocatorGump(AnimationLocator AnimationLocator) : base(0, 0)
        {
            m_AnimationLocator = AnimationLocator;

            this.Closable   = true;
            this.Disposable = true;
            this.Dragable   = true;
            this.Resizable  = false;
            this.AddPage(0);
            this.AddImage(245, 240, 3508);
            this.AddImageTiled(51, 71, 198, 171, 3504);
            this.AddImage(33, 50, 3500);
            this.AddImageTiled(51, 50, 197, 24, 3501);
            this.AddImageTiled(44, 240, 202, 24, 3507);
            this.AddImageTiled(33, 75, 25, 165, 3503);
            this.AddImageTiled(245, 72, 25, 170, 3505);
            this.AddImage(165, 91, 3502);
            this.AddImage(165, 133, 3508);
            this.AddImage(116, 133, 3506);
            this.AddImage(116, 91, 3500);
            this.AddImageTiled(141, 91, 30, 24, 3501);
            this.AddImageTiled(141, 133, 24, 24, 3507);
            this.AddImageTiled(116, 115, 25, 20, 3503);
            this.AddImage(245, 50, 3502);
            this.AddImageTiled(165, 116, 25, 17, 3505);
            this.AddImageTiled(63, 191, 171, 5, 3007);
            this.AddImageTiled(69, 82, 171, 5, 3007);
            this.AddImage(33, 239, 3506);

            this.AddLabel(100, 63, 0, @"Animation locator");

            this.AddTextEntry(133, 115, 42, 20, 0, 1, m_AnimationLocator.AnimationNumber.ToString());
            this.AddLabel(97, 151, 0, @"Current animation");

            this.AddLabel(76, 173, 0, @"Target:");
            this.AddLabel(137, 173, 0, m_AnimationLocator.TargetMobile.RawName.ToString());

            this.AddLabel(90, 228, 0, @"Decrease");
            this.AddLabel(90, 205, 0, @"Increase");
            this.AddLabel(193, 205, 0, @"Cycle");
            this.AddLabel(193, 228, 0, @"Single");

            //INCREASE
            this.AddButton(72, 208, 2103, 2104, 1, GumpButtonType.Reply, 0);

            //DECREASE
            this.AddButton(72, 234, 2103, 2104, 2, GumpButtonType.Reply, 0);

            //CYCLE
            this.AddButton(175, 208, 2103, 2104, 3, GumpButtonType.Reply, 0);

            //SINGLE
            this.AddButton(175, 234, 2103, 2104, 4, GumpButtonType.Reply, 0);

            //CHOSE TARGER
            this.AddButton(58, 178, 2103, 2104, 5, GumpButtonType.Reply, 0);
        }
Ejemplo n.º 3
0
 public ToAnimateTarget(Mobile from, AnimationLocator AnimationLocator) : base(10, false, TargetFlags.None)
 {
     m_AnimationLocator = AnimationLocator;
 }
Ejemplo n.º 4
0
		public AnimationLocatorGump( AnimationLocator AnimationLocator ) : base( 0, 0 )
		{
			m_AnimationLocator = AnimationLocator;

			this.Closable=true;
			this.Disposable=true;
			this.Dragable=true;
			this.Resizable=false;
			this.AddPage(0);
			this.AddImage(245, 240, 3508);
			this.AddImageTiled(51, 71, 198, 171, 3504);
			this.AddImage(33, 50, 3500);
			this.AddImageTiled(51, 50, 197, 24, 3501);
			this.AddImageTiled(44, 240, 202, 24, 3507);
			this.AddImageTiled(33, 75, 25, 165, 3503);
			this.AddImageTiled(245, 72, 25, 170, 3505);
			this.AddImage(165, 91, 3502);
			this.AddImage(165, 133, 3508);
			this.AddImage(116, 133, 3506);
			this.AddImage(116, 91, 3500);
			this.AddImageTiled(141, 91, 30, 24, 3501);
			this.AddImageTiled(141, 133, 24, 24, 3507);
			this.AddImageTiled(116, 115, 25, 20, 3503);
			this.AddImage(245, 50, 3502);
			this.AddImageTiled(165, 116, 25, 17, 3505);
			this.AddImageTiled(63, 191, 171, 5, 3007);
			this.AddImageTiled(69, 82, 171, 5, 3007);
			this.AddImage(33, 239, 3506);

			this.AddLabel(100, 63, 0, @"Animation locator");

			this.AddTextEntry(133, 115, 42, 20, 0, 1, m_AnimationLocator.AnimationNumber.ToString() );
			this.AddLabel(97, 151, 0, @"Current animation");

			this.AddLabel(76, 173, 0, @"Target:");
			this.AddLabel(137, 173, 0, m_AnimationLocator.TargetMobile.RawName.ToString() );

			this.AddLabel(90, 228, 0, @"Decrease");
			this.AddLabel(90, 205, 0, @"Increase");
			this.AddLabel(193, 205, 0, @"Cycle");
			this.AddLabel(193, 228, 0, @"Single");

			//INCREASE
			this.AddButton(72, 208, 2103, 2104, 1, GumpButtonType.Reply, 0);

			//DECREASE
			this.AddButton(72, 234, 2103, 2104, 2, GumpButtonType.Reply, 0);

			//CYCLE
			this.AddButton(175, 208, 2103, 2104, 3, GumpButtonType.Reply, 0);

			//SINGLE
			this.AddButton(175, 234, 2103, 2104, 4, GumpButtonType.Reply, 0);

			//CHOSE TARGER
			this.AddButton(58, 178, 2103, 2104, 5, GumpButtonType.Reply, 0);

		}
Ejemplo n.º 5
0
            		public ToAnimateTarget( Mobile from, AnimationLocator AnimationLocator ) : base( 10, false, TargetFlags.None )
            		{
				m_AnimationLocator = AnimationLocator;
            		}
Ejemplo n.º 6
0
        public AnimationLocatorGump( AnimationLocator AnimationLocator )
            : base(0, 0)
        {
            m_AnimationLocator = AnimationLocator;

            Closable=true; Disposable=true; Dragable=true; Resizable=false;

            AddPage(0);

            AddBackground(32, 49, 241, 395, 3500);

            AddLabel(100, 63, 0, @"Animation Locator");
            AddImageTiled(63, 191, 171, 5, 3007);

            AddBackground(104, 92, 101, 67, 3500);
            AddImageTiled(133, 115, 42, 20, 9384);
            AddTextEntry(133, 115, 42, 20, 0, (int)Button.AnimationNumberEntry, m_AnimationLocator.AnimationNumber.ToString(), 2);
            AddLabel(97, 151, 0, @"Current Animation");

            AddLabel(76, 173, 0, @"Target:");
            AddLabel(137, 173, 0, m_AnimationLocator.TargetMobile.RawName.ToString() );
            AddButton(58, 176, 30008, 30008, (int)Button.TargetMobile, GumpButtonType.Reply, 0);
            AddImageTiled(63, 82, 171, 5, 3007);

            AddLabel(90, 205, 0, @"Increase");
            AddButton(72, 206, 30008, 30008, (int)Button.IncreaseAnimation, GumpButtonType.Reply, 0);
            AddLabel(90, 228, 0, @"Decrease");
            AddButton(72, 232, 30008, 30008, (int)Button.DecreaseAnimation, GumpButtonType.Reply, 0);
            AddLabel(193, 205, 0, @"Cycle");
            AddButton(175, 206, 11400, 11400, (int)Button.CycleAnimation, GumpButtonType.Reply, 0);
            AddLabel(193, 228, 0, @"Single");
            AddButton(175, 232, 11400, 11400, (int)Button.SingleAnimation, GumpButtonType.Reply, 0);

            AddLabel(76, 255, 0, @"Stop Animation");
            AddButton(58, 258, 11410, 11410, (int)Button.StopAnimation, GumpButtonType.Reply, 0);

            AddImageTiled(63, 274, 171, 5, 3007);
            AddLabel(101, 286, 0, @"Freeze Frame");

            AddLabel(57, 314, 0, @"Animation");
            AddImageTiled(130, 314, 52, 21, 9384);
            AddTextEntry(131, 313, 48, 20, 0, (int)Button.FreezeAnimationNumberEntry, m_AnimationLocator.AnimationNumber.ToString(), 2);
            AddButton(186, 310, 2435, 2435, (int)Button.IncreaseAnimation, GumpButtonType.Reply, 0);
            AddButton(186, 325, 2437, 2437, (int)Button.DecreaseAnimation, GumpButtonType.Reply, 0);

            AddLabel(76, 344, 0, @"Frame");
            AddImageTiled(130, 344, 52, 21, 9384);
            AddTextEntry(131, 343, 48, 20, 0, (int)Button.FrameNumberEntry, m_AnimationLocator.FrameNumber.ToString(), 2);
            AddButton(186, 341, 2435, 2435, (int)Button.FrameIncrease, GumpButtonType.Reply, 0);
            AddButton(186, 356, 2437, 2437, (int)Button.FrameDecrease, GumpButtonType.Reply, 0);

            AddLabel(64, 379, 0, @"Send freeze to targeted mobile");
            AddButton(47, 383, 30008, 30008, (int)Button.FreezeFrame, GumpButtonType.Reply, 0);

            AddButton(215, 326, 11300, 11300, (int)Button.Update, GumpButtonType.Reply, 0);
            AddBackground(209, 323, 49, 25, 9500);
            AddLabel(214, 326, 0, @"Update");
        }