style "notebook"	= "default"
{

  xthickness = 1
  ythickness = 1

    engine "pixmap" 
    {
    	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= ACTIVE
		file		= "Tabs/tab-top.png"
		border		= { 3, 3, 10, 10}
		stretch		= TRUE
		gap_side	= BOTTOM
      	}
 
   	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= ACTIVE
		file		= "Tabs/tab-bottom.png"
		border		= { 4, 4, 9, 10}
		stretch		= TRUE
		gap_side	= TOP
      	}

    	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= ACTIVE
		file		= "Tabs/tab-right.png"
		border		= { 9, 10, 4, 4}
		stretch		= TRUE
		gap_side	= LEFT
      	}

    	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= ACTIVE
		file		= "Tabs/tab-left.png"
		border		= { 9, 10, 4, 4}
		stretch		= TRUE
		gap_side	= RIGHT
      	}	

    	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= NORMAL
		file		= "Tabs/tab-top-active.png"
		border		= { 4, 4, 12, 12}
		stretch		= TRUE
		gap_side	= BOTTOM
      	}
 
   	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= NORMAL
		file		= "Tabs/tab-bottom-active.png"
		border		= { 4, 4, 9, 10}
		stretch		= TRUE
		gap_side	= TOP
      	}

   	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= NORMAL
		file		= "Tabs/tab-right-active.png"
		border		= { 9, 10, 4, 4}
		stretch		= TRUE
		gap_side	= LEFT
      	}

    	image 
      	{
        	function	= EXTENSION
		recolorable	= TRUE
		state		= NORMAL
		file		= "Tabs/tab-left-active.png"
		border		= { 9, 10, 4, 4}
		stretch		= TRUE
		gap_side	= RIGHT
      	}





#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    	image 
      	{
        	function	= BOX_GAP
		recolorable	= TRUE
		file		= "Tabs/notebook.png" 
		border		= { 10, 10, 10, 10 }
		stretch		= TRUE
		gap_side	= TOP
      	}

    	image 
      	{
        	function	= BOX_GAP
		recolorable	= TRUE
		file		= "Tabs/notebook.png"
		border		= { 10, 10, 10, 10 }
		stretch		= TRUE
		gap_side	= BOTTOM
      	}

    	image 
      	{
        	function	= BOX_GAP
		recolorable	= TRUE
		file		= "Tabs/notebook.png"
		border		= { 10, 10, 10, 10 }
		stretch		= TRUE
		gap_side	= LEFT
      	}

    	image 
      	{		
        	function	= BOX_GAP
		recolorable	= TRUE
		file		= "Tabs/notebook.png" 
		border		= { 10, 10, 10, 10 }
		stretch		= TRUE
		gap_side	= RIGHT
      	}
#
# How to draw the box of a notebook when it isnt attached to a tab
#
    	image 
      	{
        	function	= BOX
		recolorable	= TRUE
		file		= "Tabs/notebook.png"
		border		= { 9, 9, 9, 9 }
		stretch		= TRUE
      	}
    }
}
