% Copyright 2007 by Till Tantau and Mark Wibrow
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.

\ProvidesFileRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryshapes.multipart.code.tex,v 1.1 2008/01/09 17:57:16 tantau Exp $

\usepgflibrary{shapes.multipart}

\pgfkeys{/tikz/rectangle split/parts/.code={%
	\pgfkeys{/pgf/rectangle split parts=#1}%
	}%
}

\pgfkeys{/tikz/rectangle split use custom fill/.code={%
	\pgfkeys{/pgf/rectangle split use custom fill=#1}%
	\pgfkeys{/tikz/fill=none}}%
}

\pgfkeys{/tikz/rectangle split draw splits/.is if=pgfrectanglesplitdrawsplits}

\pgfkeys{/tikz/rectangle split part align/.code={%
		\pgfkeys{/pgf/rectangle split part align={#1}}%
	}%
}%

\pgfkeys{/tikz/rectangle split part fill/.code={%
		\pgfkeys{/pgf/rectangle split part fill={#1}}%
	}%
}%

\endinput
