Example #1
0
        protected internal override void Draw(int X, int Y)
        {
            base.Draw(X, Y);
            int num    = X + this.m_HuePicker.X;
            int num2   = Y + this.m_HuePicker.Y;
            int num3   = (this.m_HuePicker.Width + 1) + this.m_Bar.Width;
            int height = this.m_HuePicker.Height;

            Renderer.SetTexture(null);
            GumpPaint.DrawSunken3D((X + this.m_HuePicker.X) - 2, (Y + this.m_HuePicker.Y) - 2, ((this.m_HuePicker.Width + 1) + this.m_Bar.Width) + 4, this.m_HuePicker.Height + 4);
        }
Example #2
0
        protected internal override void Draw(int x, int y)
        {
            Renderer.SetTexture(null);
            switch (this.m_Style)
            {
            case WindowsTextBoxStyle.Normal:
                GumpPaint.DrawSunken3D(x, y, this.m_Width, this.m_Height, GumpColors.Window);
                break;

            case WindowsTextBoxStyle.Flat:
                GumpPaint.DrawFlat(x, y, this.m_Width, this.m_Height, GumpColors.ControlDarkDark, GumpColors.Window);
                break;
            }
        }
Example #3
0
 protected internal override void Draw(int X, int Y)
 {
     if ((this.m_xLast != X) || (this.m_yLast != Y))
     {
         this.m_xLast   = X;
         this.m_yLast   = Y;
         this.m_Clipper = new Clipper(this.m_xLast + 5, this.m_yLast, this.Width - 10, this.Height);
         for (int i = 0; i < this.m_Panels.Length; i++)
         {
             this.m_Panels[i].SetClipper(this.m_Clipper);
         }
     }
     Renderer.SetTexture(null);
     GumpPaint.DrawSunken3D(X - 2, Y - 2, this.Width + 4, this.Height + 4);
 }
Example #4
0
 protected internal override void Draw(int X, int Y)
 {
     base.Draw(X, Y);
     Renderer.SetTexture(null);
     GumpPaint.DrawSunken3D(((X + base.Client.X) + this.m_Sunken.X) - 1, ((Y + base.Client.Y) + this.m_Sunken.Y) - 1, this.m_Sunken.Width + 2, this.m_Sunken.Height + 2);
 }