Exemple #1
0
            public InternalGump(DragonHeadDeed head)
                : base(150, 50)
            {
                this.m_Head = head;

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

                this.AddPage(0);

                this.AddBackground(12, 13, 271, 318, 9200);
                this.AddImageTiled(20, 23, 252, 300, 2624);
                this.AddImageTiled(22, 53, 250, 12, 5055);
                this.AddImageTiled(22, 292, 250, 12, 5055);
                this.AddAlphaRegion(20, 23, 252, 300);

                this.AddButton(22, 294, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(58, 296, 450, 20, 1060051, 0x7FFF, false, false); // CANCEL

                this.AddHtmlLocalized(23, 31, 273, 20, 1080392, 0x7FFF, false, false);  // Select your choice from the menu below.

                this.AddButton(30, 77, 2117, 2118, 0x2235, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(56, 74, 150, 20, 1080207, 0x7FFF, false, false);  // Dragon Head (East)
                this.AddButton(30, 106, 2117, 2118, 0x2234, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(56, 103, 150, 20, 1080208, 0x7FFF, false, false); // Dragon Head (South)
            }
Exemple #2
0
                public FacingGump(DragonHeadDeed head, int itemID, Point3D location, BaseHouse house)
                    : base(150, 50)
                {
                    this.m_Head     = head;
                    this.m_ItemID   = itemID;
                    this.m_Location = location;
                    this.m_House    = house;

                    this.AddBackground(0, 0, 300, 150, 0xA28);

                    this.AddItem(90, 30, itemID);
                    this.AddItem(180, 30, 0x2234);

                    this.AddButton(50, 35, 0x867, 0x869, (int)Buttons.East, GumpButtonType.Reply, 0);
                    this.AddButton(145, 35, 0x867, 0x869, (int)Buttons.South, GumpButtonType.Reply, 0);
                }
Exemple #3
0
 public InternalTarget(DragonHeadDeed head, int itemID)
     : base(-1, true, TargetFlags.None)
 {
     this.m_Head   = head;
     this.m_ItemID = itemID;
 }
Exemple #4
0
                public FacingGump(DragonHeadDeed head, int itemID, Point3D location, BaseHouse house)
                    : base(150, 50)
                {
                    this.m_Head = head;
                    this.m_ItemID = itemID;
                    this.m_Location = location;
                    this.m_House = house;

                    this.AddBackground(0, 0, 300, 150, 0xA28);

                    this.AddItem(90, 30, itemID);
                    this.AddItem(180, 30, 0x2234);

                    this.AddButton(50, 35, 0x867, 0x869, (int)Buttons.East, GumpButtonType.Reply, 0);
                    this.AddButton(145, 35, 0x867, 0x869, (int)Buttons.South, GumpButtonType.Reply, 0);
                }
Exemple #5
0
 public InternalTarget(DragonHeadDeed head, int itemID)
     : base(-1, true, TargetFlags.None)
 {
     this.m_Head = head;
     this.m_ItemID = itemID;
 }
Exemple #6
0
            public InternalGump(DragonHeadDeed head)
                : base(150, 50)
            {
                this.m_Head = head;

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

                this.AddPage(0);

                this.AddBackground(12, 13, 271, 318, 9200);                
                this.AddImageTiled(20, 23, 252, 300, 2624);
                this.AddImageTiled(22, 53, 250, 12, 5055);
                this.AddImageTiled(22, 292, 250, 12, 5055);
                this.AddAlphaRegion(20, 23, 252, 300);

                this.AddButton(22, 294, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(58, 296, 450, 20, 1060051, 0x7FFF, false, false); // CANCEL

                this.AddHtmlLocalized(23, 31, 273, 20, 1080392, 0x7FFF, false, false); // Select your choice from the menu below.

                this.AddButton(30, 77, 2117, 2118, 0x2235, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(56, 74, 150, 20, 1080207, 0x7FFF, false, false); // Dragon Head (East)
                this.AddButton(30, 106, 2117, 2118, 0x2234, GumpButtonType.Reply, 0);
                this.AddHtmlLocalized(56, 103, 150, 20, 1080208, 0x7FFF, false, false); // Dragon Head (South)
            }