Exemplo n.º 1
0
        // Function from file: icons.dm
        public void MinColors(dynamic icon = null)
        {
            Icon I = null;

            I = new Icon(this);
            I.Opaque();
            I.Blend(icon, 1);
            this.Blend(I, 1);
            return;
        }
Exemplo n.º 2
0
        // Function from file: icons.dm
        public void MaxColors(dynamic icon = null)
        {
            Icon I = null;
            Icon J = null;


            if (icon is Icon)
            {
                I = new Icon(icon);
            }
            else
            {
                I = new Icon(this);
                I.Blend("#000000", 3);
                I.SwapColor("#000000", null);
                I.Blend(icon, 3);
            }
            J = new Icon(this);
            J.Opaque();
            I.Blend(J, 1);
            this.Blend(I, 5);
            return;
        }