Ejemplo n.º 1
0
        private void AddColorizers()
        {
            int       locZ = 490;
            Colorizer color;

            color       = new Colorizer();
            color.Rect  = ERectangleF.FromLTRB(98, 12, 549, 110);
            color.Color = System.Drawing.Color.FromArgb(0, 0, 255);
            color.LocZ  = locZ;
            this.m_interfaceSprites.Add(color);

            color       = new Colorizer();
            color.Rect  = ERectangleF.FromLTRB(98, 110, 549, 202);
            color.Color = System.Drawing.Color.FromArgb(0, 255, 255);
            color.LocZ  = locZ;
            this.m_interfaceSprites.Add(color);

            color       = new Colorizer();
            color.Rect  = ERectangleF.FromLTRB(98, 202, 549, 330);
            color.Color = System.Drawing.Color.FromArgb(0, 0, 255);
            color.LocZ  = locZ;
            this.m_interfaceSprites.Add(color);

            color       = new Colorizer();
            color.Rect  = ERectangleF.FromLTRB(98, 202, 549, 330);
            color.Color = System.Drawing.Color.FromArgb(255, 0, 255);
            color.LocZ  = locZ;
            this.m_interfaceSprites.Add(color);
        }
Ejemplo n.º 2
0
        private void AddColorizers()
        {
            int locZ = 490;
            Colorizer color;

            color = new Colorizer();
            color.Rect = ERectangleF.FromLTRB(98,12,549,110);
            color.Color = System.Drawing.Color.FromArgb(0,0,255);
            color.LocZ = locZ;
            this.m_interfaceSprites.Add(color);

            color = new Colorizer();
            color.Rect = ERectangleF.FromLTRB(98,110,549,202);
            color.Color = System.Drawing.Color.FromArgb(0,255,255);
            color.LocZ = locZ;
            this.m_interfaceSprites.Add(color);

            color = new Colorizer();
            color.Rect = ERectangleF.FromLTRB(98,202,549,330);
            color.Color = System.Drawing.Color.FromArgb(0,0,255);
            color.LocZ = locZ;
            this.m_interfaceSprites.Add(color);

            color = new Colorizer();
            color.Rect = ERectangleF.FromLTRB(98,202,549,330);
            color.Color = System.Drawing.Color.FromArgb(255,0,255);
            color.LocZ = locZ;
            this.m_interfaceSprites.Add(color);
        }