Exemple #1
0
        public IpSettingsBar(int sizeX, int sizeY, int height)
        {
            this.sizeX  = sizeX;
            this.sizeY  = sizeY;
            this.height = height;
            bPen        = new Pen(Color.Black);
            wBrush      = new SolidBrush(Color.White);

            addLayerButton = new IpCursor2("LayerBar\\plus.png", sizeX - height - bPen.Width, sizeY - height, height, height);
        }
Exemple #2
0
 public IpLayerRec(int yPos, int sizeX, int sizeY, SolidBrush brush)
 {
     this.sizeX    = sizeX;
     this.sizeY    = sizeY;
     SelectedLayer = false;
     this.yPos     = yPos;
     cursorPen     = new Pen(Color.Black);
     enable        = true;
     this.brush    = brush;
     layerSelected = new SolidBrush(Color.Green);
     bPen          = new Pen(Color.Black);
     LayerFont     = new Font("Times New Roman", sizeY / 3);
     fontBrush     = new SolidBrush(Color.Black);
     layer         = new IpLayer();
     cursor        = new IpCursor2("LayerBar\\cursor.png", sizeX - sizeY / 3 * 2, yPos + sizeY / 4, sizeY / 2, sizeY / 2);
 }