public StatisticsGump() : base(110, 100)
            {
                Closable   = true;
                Dragable   = true;
                Disposable = true;
                Resizable  = false;

                AddPage(0);
                AddBackground(0, 0, 420, 250, 5054);
                AddImageTiled(10, 10, 400, 20, 2624);
                AddAlphaRegion(10, 10, 400, 20);
                AddLabel(15, 10, 73, ServerList.ServerName + " Statistics - Last Update: " + m_LastStatsUpdate);
                AddImageTiled(10, 40, 400, 200, 2624);
                AddAlphaRegion(10, 40, 400, 200);
                AddHtml(15, 40, 395, 200, String.Join("<br>", StatsList.ToArray()), false, true);
            }
示例#2
0
            public StatisticsGump(int origin) : base(25, 25)
            {
                m_Origin = origin;

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

                AddPage(0);
                AddImage(0, 0, 154);
                AddImage(300, 0, 154);
                AddImage(0, 300, 154);
                AddImage(300, 300, 154);
                AddImage(2, 2, 129);
                AddImage(298, 2, 129);
                AddImage(2, 298, 129);
                AddImage(298, 298, 129);
                AddImage(232, 46, 132);
                AddImage(380, 7, 134);
                AddImage(134, 534, 130);
                AddImage(552, 100, 160);
                AddImage(55, 256, 160);
                AddImage(188, 363, 136);
                AddImage(7, 7, 133);
                AddImage(105, 529, 159);
                AddImage(51, 544, 157);
                AddImage(548, 80, 158);
                AddHtml(100, 84, 435, 25, @"<BODY><BASEFONT Color=White><BIG>" + Misc.ServerList.ServerName + " - Updated: " + m_LastStatsUpdate + "</BIG></BASEFONT></BODY>", (bool)false, (bool)false);
                AddHtml(100, 120, 435, 352, @"<BODY><BASEFONT Color=#FCFF00><BIG>" + String.Join("<br><br>", StatsList.ToArray()) + "</BIG></BASEFONT></BODY>", (bool)false, (bool)false);
            }