From c873a4eca37f34efbef74a2d46140aad3e834d8c Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sun, 2 Sep 2012 22:08:51 +0200 Subject: [PATCH] add forgotten file (global.cpp) --- src/global.cpp | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/global.cpp diff --git a/src/global.cpp b/src/global.cpp new file mode 100644 index 00000000..169b752a --- /dev/null +++ b/src/global.cpp @@ -0,0 +1,42 @@ +/*************************************************************************** + * Copyright (C) 2008-2012 by Andrzej Rybczak * + * electricityispower@gmail.com * + * * + * 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., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#include "global.h" + +BasicScreen *Global::myScreen; +BasicScreen *Global::myOldScreen; +BasicScreen *Global::myPrevScreen; +BasicScreen *Global::myLockedScreen; +BasicScreen *Global::myInactiveScreen; + +NC::Window *Global::wHeader; +NC::Window *Global::wFooter; + +size_t Global::MainStartY; +size_t Global::MainHeight; + +bool Global::ShowMessages = false; +bool Global::SeekingInProgress = false; + +bool Global::RedrawHeader = true; +bool Global::RedrawStatusbar = true; + +std::string Global::VolumeState; +timeval Global::Timer;