<?php
// FAB theme
//
// webtrees: Web based Family History software
// Copyright (C) 2012 webtrees development team.
//
// Based on standard theme, which is Copyright (C) 2002 to 2010  PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
// $Id$

if (!defined('WT_WEBTREES')) {
	header('HTTP/1.0 403 Forbidden');
	exit;
}

$theme_name="F.A.B."; // need double quotes, as file is scanned/parsed by script
$stylesheet=WT_THEME_URL.'style.css';
$headerfile=WT_THEME_DIR.'header.php';
$footerfile=WT_THEME_DIR.'footer.php';

$WT_IMAGES=array(
	// used to draw charts
	'dline'          =>WT_THEME_URL.'images/dline.png',
	'dline2'         =>WT_THEME_URL.'images/dline2.png',
	'hline'          =>WT_THEME_URL.'images/hline.png',
	'spacer'         =>WT_THEME_URL.'images/spacer.png',
	'vline'          =>WT_THEME_URL.'images/vline.png',

	// used in button images and javascript
	'add'            =>WT_THEME_URL.'images/add.png',
	'button_family'  =>WT_THEME_URL.'images/buttons/family.png',
	'minus'          =>WT_THEME_URL.'images/minus.png',
	'plus'           =>WT_THEME_URL.'images/plus.png',
	'remove'         =>WT_THEME_URL.'images/remove.png',
	'search'         =>WT_THEME_URL.'images/search.png',
	
	// need different sizes before moving to CSS
	'default_image_F'=>WT_THEME_URL.'images/silhouette_female.png',
	'default_image_M'=>WT_THEME_URL.'images/silhouette_male.png',
	'default_image_U'=>WT_THEME_URL.'images/silhouette_unknown.png',

	// need to replace with a system based on mime-types
	'media'          =>WT_THEME_URL.'images/media.png',
	'media_audio'    =>WT_THEME_URL.'images/media/audio.png',
	'media_doc'      =>WT_THEME_URL.'images/media/doc.png',
	'media_flash'    =>WT_THEME_URL.'images/media/flash.png',
	'media_flashrem' =>WT_THEME_URL.'images/media/flashrem.png',
	'media_ged'      =>WT_THEME_URL.'images/media/ged.png',
	'media_globe'    =>WT_THEME_URL.'images/media/globe.png',
	'media_html'     =>WT_THEME_URL.'images/media/html.png',
	'media_pdf'      =>WT_THEME_URL.'images/media/pdf.png',
	'media_picasa'   =>WT_THEME_URL.'images/media/picasa.png',
	'media_tex'      =>WT_THEME_URL.'images/media/tex.png',
	'media_wmv'      =>WT_THEME_URL.'images/media/wmv.png',
	'media_wmvrem'   =>WT_THEME_URL.'images/media/wmvrem.png',
);

// Fan chart
$fanChart=array(
	'font'=>WT_ROOT.'includes/fonts/DejaVuSans.ttf',
	'size'=>'7px',
	'color'=>'#000000',
	'bgColor'=>'#eeeeee',
	'bgMColor'=>'#b1cff0',
	'bgFColor'=>'#e9daf1'
);

// variables for the pedigree chart
$bwidth=275;     // width of boxes on pedigree chart
$bheight=80;     // height of boxes on pedigree chart
$baseyoffset=10; // position the entire pedigree tree relative to the top of the page
$basexoffset=10; // position the entire pedigree tree relative to the left of the page
$bxspacing=0;    // horizontal spacing between boxes on the pedigree chart
$byspacing=5;    // vertical spacing between boxes on the pedigree chart
$brborder=1;     // box right border thickness
$linewidth=1.5;			// width of joining lines
$shadowcolor="";		// shadow color for joining lines
$shadowblur=0;			// shadow blur for joining lines
$shadowoffsetX=0;		// shadowOffsetX for joining lines
$shadowoffsetY=0;		// shadowOffsetY for joining lines

// -- descendancy - relationship chart variables
$Dbaseyoffset=20; // -- position the entire descendancy tree relative to the top of the page
$Dbasexoffset=20; // -- position the entire descendancy tree relative to the left of the page
$Dbxspacing=5;   // -- horizontal spacing between boxes
$Dbyspacing=10;   // -- vertical spacing between boxes
$Dbwidth=290;    // -- width of DIV layer boxes
$Dbheight=80;    // -- height of DIV layer boxes
$Dindent=15;     // -- width to indent descendancy boxes
$Darrowwidth=30; // -- additional width to include for the up arrows

// -- Dimensions for compact version of chart displays
$cbwidth=240;
$cbheight=50;

// The largest possible area for charts is 300,000 pixels. As the maximum height or width is 1000 pixels
$WT_STATS_S_CHART_X=440;
$WT_STATS_S_CHART_Y=125;
$WT_STATS_L_CHART_X=900;

// For map charts, the maximum size is 440 pixels wide by 220 pixels high
$WT_STATS_MAP_X=440;
$WT_STATS_MAP_Y=220;

$WT_STATS_CHART_COLOR1='ffffff';
$WT_STATS_CHART_COLOR2='9ca3d4';
$WT_STATS_CHART_COLOR3='e5e6ef';
