\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/theme/beamerthemeNCSU.sty,v 1.3 2004/11/10 18:05:16 tantau Exp $

% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com>
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.

\mode<presentation>

%\useinnertheme[shadow=true]{rounded}
%\useinnertheme{rounded}
\useinnertheme{circles}
\useoutertheme{infolines}
\usecolortheme{wolf}

\setbeamercolor{NCSU logo}{fg=white,bg=wolfred}
\setbeamercolor{NCSU rule}{fg=wolfred,bg=wolfred}
\setbeamercolor{NCSU footer}{fg=black,bg=white}
\setbeamercolor{NCSU header}{fg=white,bg=blue!25!white}
\setbeamerfont{details in NCSU foot}{size=\Tiny}
\setbeamerfont{logo in NCSU foot}{size=\normalsize}
\setbeamerfont{page number in NCSU foot}{size=\tiny}

\defbeamertemplate*{footline}{NCSU theme}
{
  \leavevmode%
  \begin{beamercolorbox}[wd=\paperwidth,ht=1pt]{NCSU rule}%
    \hrulefill%
  \end{beamercolorbox}\par%
  \hbox{%
    \begin{beamercolorbox}[wd=.4\paperwidth,ht=3.5ex,dp=1.15ex,center]{NCSU logo}%
      \usebeamerfont{logo in NCSU foot}\hbox{{\bf NC State} University}
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.2\paperwidth,ht=3.5ex,dp=1.15ex,center]{NCSU footer}%
      \usebeamerfont{page number in NCSU foot}\insertframenumber{} / \inserttotalframenumber%
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.4\paperwidth,ht=3.5ex,dp=1.15ex,vmode]{NCSU footer}%
       \begin{beamercolorbox}[wd=.4\paperwidth,ht=1.5ex,dp=0.5ex,right,top]{NCSU footer}%
         \usebeamerfont{details in NCSU foot}\insertslideinfo{}\hspace*{2em}%
       \end{beamercolorbox}%
       \begin{beamercolorbox}[wd=.4\paperwidth,ht=1.5ex,dp=0.5ex,right,bot]{NCSU footer}%
         \usebeamerfont{details in NCSU foot}\insertcopyright{}\hspace*{2em}%
       \end{beamercolorbox}%
    \end{beamercolorbox}}%
  \vskip0pt%
}

\defbeamertemplate*{headline}{NCSU theme}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
    \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex}
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{subsection in head/foot}%
    \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
  \end{beamercolorbox}%
}\par%
  \begin{beamercolorbox}[wd=\paperwidth,ht=1pt]{section in head/foot}%
  \usebeamerfont{author in head/foot}\hrulefill%
  \end{beamercolorbox}%
  \vskip0pt%
}

\setbeamersize{text margin left=1em,text margin right=1em}

\setbeamerfont{block title}{size={}}
%\setbeamercolor{titlelike}{parent=structure,bg=yellow!85!orange}
\mode
<all>
